Hi Robert,

Robert Sösemann wrote:
I have an applet which takes an xml fragment  as input, because it displays
document by reading the underlying xml document model.

I need to give this xml fragment to the applet by inserting it into an html
param tag like this.

<PARAM name="text" value="XMLSNIPPET"/>

Till now I did that inside an XSP with

<PARAM name="text">
    <xsp:attribute
name="value"><xsp:expr>contentObject.getXMLSnippet()</xsp:expr>xsl:attribute

</PARAM>

But now I need to do the same inside an XSL, and IT DOES NOT WORK. All
Tags/XML-Element are stripped out. Nothing left than plain Text.

Whats wrong here? Any idea?

that's correct behaviour. You can't store an XML snippet in an attribute or as an attribute's value. It's different in XSP, where the XML elements and so <xsp:attribute/> are converted into java first. Can you be a bit more specific what you want to reach. Bringing the XML fragment back to the client?


Regards,

Joerg


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



Reply via email to