[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Process the nodes from copy-of element
Hi, Is there any way to process the nodes from the <xsl:copy-of select=""/> In the XSLT, at one template..i am using xsl:copy-of to bring the some collection of node. <Box name="iconsarea"> <xsl:copy-of select="$strTopLeftIcon"/> </Box> In the Output XML file as follows, <Box name="iconsarea"> <image name="02_group_inaktiv" type="toplefticon" id="a_groupinaktiv" title="group_inaktiv"/> <image name="02_sachbearbeiter_aktiv" type="toplefticon" id="a_Sachbearbeiter" title="Sachbearbeiter"/> </Box> That strTopLeftIcon bring two <imgage> element. I want to process <image> using that $strTopLeftIcon.. Is it possible? <xsl:for-each select="$strTopLeftIcon"> <xsl:text>Mapping["</xsl:text><xsl:value-of select="@id"/><xsl:text>"] = new Array( ); </xsl:text> </xsl:for-each> I am using XSLT version 1.0.. it gives the following error.. (Location of error unknown)XSLT Error (org.apache.xpath.XPathException): Can not convert #RTREEFRAG to a NodeList! Any solution or suggestion.. Thanks in advance Regards, Raj __________________________________________________________ Enjoy this Diwali with Y! India Click here http://in.promos.yahoo.com/fabmall/index.html
|
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
|