xsl-list
[Top] [All Lists]

[xsl] processing source XML while inside variable processing - XSLT 1.0

2006-05-10 02:01:50
Hello List,

I've a variable which I process inside a template. While processig this
variable I want to get data from the source XML document, applying
templates.

<xsl:for-each select="$theVariable">
 <!-- some code here -->
  <xsl:apply-template select="aNodeInsideTheSourceDocument" />
  
 <!-- some more code here -->
</xsl:for-each>

The problem is, that while processing the variable "theVariable" with
"xsl:for-each", the "apply-templates" command searches for
"aNodeInsideTheSourceDocument" inside "theVariable" but not as required
inside the source XML document.

Is there any way to process the source document whily processing a variable
with XSLT 1.0?

Thanks & with best regards,
Jan

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>