On Mon, Apr 21, 2008 at 12:01:12PM +0200, Anthony de Almeida Lopes wrote: > Is there a way to make xmllint not translate entities? > I'm just running xmllint --format on a file and it's translating things > like > to >. I'd prefer it didn't do that. I can't seem to find any > combination of command line arguments that does this.
the 5 prefefined entities from the XML specification are *always* replaced by their defined character based on what I know from the set of parser arounds. This will be converted back by libxml2 only when needed at serialization time. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
