PEAR::XML_Beautifier will add indentation and linebreaks to you XML files,

replace all entities, format your comments and makes your document easier to
read.

You can influence the way your document is beautified with several options.

PR:		ports/79402
Submitted by:	Antonio Carlos Venancio Junior <antonio@php.net>
This commit is contained in:
Pav Lucistnik 2005-04-11 19:59:42 +00:00
parent 514053edd0
commit ced14b5483
4 changed files with 37 additions and 0 deletions

View file

@ -501,6 +501,7 @@
SUBDIR += pardiff
SUBDIR += pdftohtml
SUBDIR += pear-Spreadsheet_Excel_Writer
SUBDIR += pear-XML_Beautifier
SUBDIR += pear-XML_HTMLSax
SUBDIR += perl2html
SUBDIR += php4-ctype

View file

@ -0,0 +1,27 @@
# Ports collection makefile for: pear-XML_Beautifier
# Date created: 31 March 2005
# Whom: Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD$
#
PORTNAME= XML_Beautifier
PORTVERSION= 1.1
CATEGORIES= textproc devel pear
MAINTAINER= antonio@php.net
COMMENT= PEAR class to format XML documents
BUILD_DEPENDS= ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
RUN_DEPENDS= ${BUILD_DEPENDS}
CATEGORY= XML
FILES= Beautifier/Renderer.php Beautifier/Tokenizer.php \
Beautifier/Renderer/Plain.php Beautifier.php
EXAMPLES= example1.php example2.php example3.php example4.php example5.php \
example6.php test.xml
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
MD5 (PEAR/XML_Beautifier-1.1.tgz) = d121758edb840d9107debb26bb5837d7
SIZE (PEAR/XML_Beautifier-1.1.tgz) = 9854

View file

@ -0,0 +1,7 @@
PEAR::XML_Beautifier will add indentation and linebreaks to you XML files,
replace all entities, format your comments and makes your document easier to
read.
You can influence the way your document is beautified with several options.
WWW: http://pear.php.net/package/XML_Beautifier/