Skip to Content.
Sympa Menu

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

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Luca Passani <passani AT eunet.no>
  • To: xom-interest <xom-interest AT lists.ibiblio.org>
  • Subject: [Fwd: Re: [XOM-interest] javascript]
  • Date: Fri, 06 May 2005 15:32:24 +0200

forgot to CC the list as usual! sorry

Luca

-------- Original Message --------
Subject: Re: [XOM-interest] javascript
Date: Fri, 06 May 2005 15:31:26 +0200
From: Luca Passani <passani AT eunet.no>
To: Elliotte Harold <elharo AT metalab.unc.edu>
References: <427B5551.2080104 AT eunet.no> <427B6FBC.4030409 AT metalab.unc.edu>



Elliotte Harold wrote:

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.

you mean, create a comment programmatically with the JScript as the comment text?

< 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; ?

No because I get JavaScript errors!

I am using TagSoup and XOM-NodeFactory to take arbitrary web content, simplify it and add a bit of javascript to do some picture manipulation (DHTML)

Luca






  • [Fwd: Re: [XOM-interest] javascript], Luca Passani, 05/06/2005

Archive powered by MHonArc 2.6.24.

Top of Page