[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Process the nodes from copy-of element

Subject: Process the nodes from copy-of element
From: Arulraj <p_arulraj@xxxxxxxxx>
Date: Tue, 6 Dec 2005 12:23:36 +0000 (GMT)
copy of node
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

Current Thread

Back To School Sale!

Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop.

Offer ends August 31, 2008.

Coupon Code
TRTY-C4JV-OFF

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.