Re: [xml] xmllint entity translation

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.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]