cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Curdt" <tcu...@dff.st>
Subject do not quote!
Date Wed, 05 Jul 2000 17:06:35 GMT
I want to include XML from a Java
method like this:

String Result = "<mytag>stuff</mystuff>";
...
<xsl:template match="listing">
   <xsp:expr>getResult()</xsp:expr>
   <xsl:apply-templates/>
</xsl:template>

But unfortunately this only gives the
result quoted and it gets not involved
in the matching process.. what I want
is something like

<xsl:template match="listing">
   <xsp:expr>getResult()</xsp:expr>
   <xsl:apply-templates/>
</xsl:template>

becomes...

<xsl:template match="listing">
   <mytag>stuff</mystuff>
   <xsl:apply-templates/>
</xsl:template>

and <mytag> ... gets matched, too!

What is wrong?!
--
Torsten

Mime
View raw message