On 07/26/13 14:31, Rolf Johansson wrote:
Roxen uses it's own library of different tags, not Apache/Netscape-style 
directives.
The equiv for include virtual is <insert file="abc.xml" />
Take a look at docs.roxen.com for more comprehensive information.

/Rolf

27 jul 2013 kl. 00:21 skrev Christopher Howard <[email protected]>:

I just started learning XSLT, and I figured out that I can use this through the 
xsltransform tag:

<nocache>
<xsltransform xsl="/arsc/scratch/test.xsl">
...xml goes here...
</xsltransform>
</nocache>

What do I do if I don't want to put the XML there but instead load it in from 
another file? I tried an SSI include tag, but that doesn't seem to work here:

<nocache>
<xsltransform xsl="/arsc/scratch/test.xsl">
<!--#include virtual="test.xml" -->
</xsltransform>
</nocache>

This gives the transform error "Root element missing", which I'm guessing means 
the include isn't being processed.
<cmhoward2.vcf>

Thanks. This, however, doesn't work here either. It seems that the insert tag, when used inside the xsltransform, is not replaced with inserted content, but simply treated as a regular xml tag. (I determined this by getting a successful match on against the "insert" element inside the xslt.)

<<attachment: cmhoward2.vcf>>

Reply via email to