[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] element name as attribute value
Hi all, Hope you can help me with this problem (seems easy but somehow i can't figure how to do it :(( ) I have this xml file <X> <Y/> </X> I would like to have the output (element Y as attribute value from other element e.g. B) <A> <B attribute="Y"> </A> I tried with <xsl:copy-of select="child::node()"/> it worked but only in the element part, can't put it as attribute value. It become like <A> <Y/> </A> Really appreciate when someone can help this desperate person. Many thanks before san ____________________________________________________________________________________ Need Mail bonding? Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=list&sid=396546091
|
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
|