On Jul 25, 2005, at 9:45 AM, Dustin N. Jenkins wrote:

Is there anyway to get Cocoon to recognize the output of my POJO's toXML() method within my XML file? Right now it treats the resulting XML as just a String and displays it as such.
<schedule>#{times}</schedule>

The output of the 'times' variable is XML, how do I make Cocoon realize it? The XML is built using JDOM, does that really matter in the end when the toXML() just ouputs a String? Should I be outputting a Document or something different?

You mean in a JXTemplate, right?  Just write:

        <schedule>${times.toXML()}</schedule>

HTH,
—ml—


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to