Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] javascript

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Harold <elharo AT metalab.unc.edu>
  • To: Luca Passani <passani AT eunet.no>
  • Cc: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] javascript
  • Date: Fri, 06 May 2005 09:23:08 -0400

Luca Passani wrote:

How do I force XOM to diplay '<' and not &lt; ?

You can't and that's a deliberate decision. XOM is designed to output well-formed XML, and < is not well-formed.

Possibly you could hide your JavaScript in a comment. < does not need to be escaped in a comment so XOM doesn't do that; but do you really need to do that? Why can't you just use &lt; ?

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim




Archive powered by MHonArc 2.6.24.

Top of Page