|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: entity output
On Fri, Jun 13, 2003 at 09:34:00AM +0200, Vincent Lefevre wrote: > On Thu, Jun 12, 2003 at 15:16:19 -0400, Passin, Tom wrote: > > No standard serilaizer is likely to give you entities when it is not > > necessary to do escaping. > > except xsltproc (libxslt), which *always* gives " instead of ". :( > Of course, this is not incorrect, but just annoying (in particular, it > makes the output XML file longer and more difficult to read). Hum, first time I get complaints about this. Whining on xsl-list ain't the best way to get libxml2/libxslt fixes ... Anyway it's easy enough it's fixed in CVS and will be in the next release: paphio:~/XML -> cat /tmp/tst.xml <doc attr="'bar'" attr2='"foo"'> a ' and a " . </doc> old behaviour paphio:~/XML -> /usr/bin/xmllint /tmp/tst.xml <?xml version="1.0"?> <doc attr="'bar'" attr2=""foo""> a ' and a " . </doc> new behaviour where " is not generated except for attributes content paphio:~/XML -> ./xmllint /tmp/tst.xml <?xml version="1.0"?> <doc attr="'bar'" attr2=""foo""> a ' and a " . </doc> paphio:~/XML -> Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








