[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] id Function() Error.
I need to access a Node which has an attribute id ( of type ID in the associated DTD ). When I use the id() function with the appropriate "id" value ; It gives me the following error: ERROR: context does not have an owner document. Here is what the usage looks like.: <xsl:transform> <xsl:template match="MyRoot"> <xsl:apply-templates select="MyRootChild"/> </xsl:template> <xsl:template match="MyRoot/MyRootChild"> <xsl:value-of select="id('id_of_AnotherMyRootChildNode')"/> </xsl:template> <xsl:transform> 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
|