|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Path in a Template Match.
Somehow I am unable to use absolute path in the template match below . Is this not possible ?. If yes, How is it done ?. If not, Why ?. Thanks, Ashish. NOTE: edcSystem is the root node. <xsl:template match = "edcSystem/EDCContract/EDCLegSeq/EDCEqLeg/@a5"> <xsl:element name = "payerPartyReference"> <xsl:attribute name = "href"> <xsl:value-of select = "generate-id(../../../@a11)"/> <!-- ********* WORKS FINE ******* --> <xsl:value-of select = "generate-id(/edcSystem/EDCContract/@a10)"/> <!-- ********** DOES NOT WORK ********* --> </xsl:attribute> </xsl:element> </xsl:template> 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
|

Cart








