[jdom-interest] stop jdom from escaping (creating dynamic xs lstylesheet)

Rhodes, Phillip C. Phillip.Rhodes at alcoa.com
Mon Jun 11 11:33:45 PDT 2001

I will probably build my xsl string by hand...

Because I am reading all the "sentences" from a database, there is no way
(except for parsing) of breaking up the sentence to add it to the element.

-----Original Message-----
From: Jason Hunter [mailto:jhunter at collab.net]
Sent: Monday, June 11, 2001 1:49 PM
To: Rhodes, Phillip C.
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] stop jdom from escaping (creating dynamic

> I can not do this because the xsl:value-of is interspersed in the text.
> For example:
> You name is <xsl:value-of select="name"/>.  You are <xsl:value-of
> select="age"/> years old.

root.addContent("You are ");
root.addContent(" years old");

In the object tree the value-of must be represented as an Element


More information about the jdom-interest mailing list