Re: [xml] is there an option to make xml case insensitive?



On May 10, 2007, veillard redhat com wrote:

On Thu, May 10, 2007 at 11:24:05AM -0400, ABeylin axsone com wrote:
I'm aware that xml is case sensitive, but is there a switch to turn that
off?

  XML is case sensitive by definition, so there is no such option.

I would only add that if you have a need for a case-insensitive XML- like dialect, you could use the HTML parser, which by its nature, is case insensitive, or you could use xmllint with the "--html --xmlout" options to convert from HTML to XHTML (or thereabouts), merging the case of tags as you go. If you aren't
really working with HTML, don't pass "--valid" to check against the HTML
DTD.


David




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