Subject: Re: [xsl] entity output From: Daniel Veillard <daniel@xxxxxxxxxxxx> Date: Fri, 13 Jun 2003 12:05:28 +0200 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] entity output, Vincent Lefevre | Thread | Re: [xsl] entity output, Vincent Lefevre |
[xsl] test driven development with , florian | Date | Re: [xsl] When does sort occur?, Dimitre Novatchev |
Month |