[xsl] Process the nodes from copy-of element

Subject: [xsl] Process the nodes from copy-of element
From: Arulraj <p_arulraj@xxxxxxxxx>
Date: Tue, 6 Dec 2005 12:23:36 +0000 (GMT)

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"/>

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"

That strTopLeftIcon bring two <imgage> element.

I want to process <image> using that $strTopLeftIcon..
Is it possible?

<xsl:for-each select="$strTopLeftIcon">
select="@id"/><xsl:text>"]  = new Array( );

I am using XSLT version 1.0.. it gives the following

(Location of error unknown)XSLT Error
(org.apache.xpath.XPathException): Can not
 convert #RTREEFRAG to a NodeList!

Any solution or suggestion..

Thanks in advance

Enjoy this Diwali with Y! India Click here http://in.promos.yahoo.com/fabmall/index.html

Current Thread