Subject: [xsl] determining position of a document included using document function From: "Bryan Rasmussen" <bry@xxxxxxxxxx> Date: Wed, 13 Feb 2002 13:42:43 +0100 |
Hi, If I'm using document() to make a number of simple includes, like <xsl:template match="file"> <xsl:param name="doc" select="document(@href)"> <xsl:for-each select="$doc"> <xsl:apply-templates/> </xsl:for-each> is there anyway to find out the position of file in the root document, without trying to do <xsl:apply-templates> <xsl:with-param name="filepos" select="position()"/> </xsl:apply-templates> my problem is that I have a template being applied quite low in the included documents which needs to know the position of the including document. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] match on attribute anywhe, Bryan Rasmussen | Thread | Re: [xsl] determining position of a, Wendell Piez |
[xsl] Re: document(), Stuart Brown | Date | Re: [xsl] match on attribute anywhe, Bertrand Delacretaz |
Month |