Re: Keeping numeric entities intact when parsing and serializing?
by Aristotle Pagaltzis other posts by this author
Oct 10 2009 3:32AM messages near this date
view in the new Beta List Site
Re: Keeping numeric entities intact when parsing and serializing?
|
Re: Keeping numeric entities intact when parsing and serializing?
& XSLT * Nicolas Mendoza <mendoza@[...].no> [2009-10-10 12:20]:
> So, given that we accept this, why is & not converted to "'"?
You mean `&`.
It is, when parsing. But it has to be escaped for the XML to
be valid, so when generating output, it is expressed as `&`.
If you write it `&` in the input (which means the same `&`
character), youâll see that the output still comes out `&`
and not `&`. Because itâs the same thing.
You still havenât told us why you would want this. Are you using
software that processes XML documents, but as text blobs rather
than as XML documents? Or do you want it for legibility of the
output?
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Nicolas Mendoza
Mirod
Jenda Krynicky
Nicolas Mendoza
Aristotle Pagaltzis
Nicolas Mendoza
Aristotle Pagaltzis
Petr Pajas
Nicolas Mendoza
Petr Pajas
Nicolas Mendoza
Aristotle Pagaltzis
Nicolas Mendoza
Nicolas Mendoza
Petr Pajas
|