Hello.
I'm relatively new to XSL but doing just fine, but I have a question
regarding <xsl:template name="foo"> elements:
I have something like this:
<xsl:template name="boxed-message">
<box type="rebound" method="smtp">
<default />
<reverse />
</box>
</xsl:template>
and I call it in other areas of code with:
<xsl:call-template name="boxed-message"></xsl:call-template>
Now, I can embed a simple string parameter using <xsl:with-param /> and
<xsl:param /> elements. How can I embed XML that *doesn't* come from
the XML document?
Example, one of the areas I have to use "boxed-message" requires a
fairly large segment of XML to be included betetween <default /> and
<reverse />.
I wanted to do something like...
<xsl:call-template name="boxed-message">
<delivery>
<tag-type>MD5</tag-type>
... the rest of my package here ...
</delivery>
</xsl:call-template>
but obviously that doesn't work.
Any tips?
Thanks,
Eric