Brent L Johnson wrote:
I understood him to mean that he was sending a string with xml data to be parsed - in which case the only option is server side, and it's as easy as:

<util:include-expr><util:expr><xsp-request:get-parameter name="test" /></util:expr></util:include-expr>

in an xsp page where the namespace for util is defined as: xmlns:util="http://apache.org/xsp/util/2.0";

That snippet in an xsp page called with ?test=<foo>bar</foo>

will produce xml sax events for an element "foo" in the default namespace with a nested character event of "bar".


That's exactly what I'm trying to do.  Does it have to be XSL though?
I'm running a plain XML content document through the pipeline and
using XSL to transform it.  I use the "use-request-parameters" parameter
for the transform call.  Then in there I tried the following:

<util:include-expr><util:expr><xsl:value-of
select="$history"/></util:expr></util:include-expr>

No luck though.  I'll try and find some docs or another thread on this
topic.

You said you were using XSP, so that snippet is an XSP snippet. Won't work this way in XSL.


Geoff


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



Reply via email to