[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: feature request; id idref pairs
Using <xsl:key name="callers" match="@Noutput|@Youtput|@linksTo|@input-LinksTo" use="."/> as top level element, and <xsl:template match="decision"> <xsl:value-of select="substring(./@id,3)" />(<xsl:value-of select="key('callers',@id)/@id"/>): <xsl:value-of select="."/> ******* Yes :o <xsl:value-of select="substring(id(@Youtput)/@id,3)"/> No :o <xsl:value-of select="substring(id(@Noutput)/@id,3)"/> </xsl:template> Getting error Error processing source document At xsl:value-of on line 75 of file:/C:/sgml/xsl/processtxt.xsl: Cannot match pattern @Noutput until it is resolved Elapsed time: 1540 milliseconds from Saxon. Any idea what this means please? Srce file has <decision id="id08" Youtput="id09" Noutput="id13">Quantity over 50?</decision> Hence such an element exists. Regards, DaveP XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|