[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xalan:nodeset
Nima Kaviani wrote:
I have the following XML file:[snip] and I have used the following construct to store some of the elements in a variable based on an equality between the values of the attributes:
The real question is: why do you actually create the "contexts" variable as RTF? You should be able to do the following, without the nodeset() extension: <xsl:param name="contextID" select="policy:context/@rdf:resource"/> <xsl:variable name="contexts"//constraint:SimpleConstriant[@rdf:ID = $contextID]"/> <xsl:for-each select="$contexts"> <xsl:value-of select="@rdf:ID"/> </xsl:for-each> J.Pietschmann
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|