[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
[xsl] two namespaces and a position problem
Subject: [xsl] two namespaces and a position problem From: April Fleming <AFleming@xxxxxxxxxxxx> Date: Thu, 13 May 2004 10:56:45 -0400 |
I am having some trouble here. I am using two namespaces. I am looping over nodes in ns1 and trying to obtain info from ns2. This is just debugging that you see here. Inside the loop I first output the position from within the nodeset of ns1 and that is correct. The next xsl:value-of I am trying to output the name attribute of the Element in the same position() that I am currently in for ns1. However, the second call to the position() function gives me the position of ns2. I have looked and looked but cannot find a way to do this. Any ideas? <xsl:for-each select="./@*"> <xsl:comment>Not all attributes exist for each rs:row, so code must check to see if it is printing the right value for the column</xsl:comment> <xsl:value-of select="position()"/> <xsl:value-of select="//s:ElementType/s:AttributeType[position()]/@name"/> <xsl:value-of select="."/> </xsl:for-each> April Fleming Information Services Dixon Ticonderoga Company 407-829-9000 ext. 153
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] RE: [saxon] OASIS-Open/CA, Andrew Welch | Thread | Re: [xsl] two namespaces and a posi, David Carlisle |
[xsl] RE: [saxon] OASIS-Open/CALS *, Michael Müller-Hille | Date | RE: [xsl] RE: [saxon] OASIS-Open/CA, Mullee, John |
Month |