[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Name function in XSL
Hello, I'm a beginner in XSL, and I have a question. I'd like create a new XML document from an other with XSL. In the new XML I'd like nodes with name "XMLNode", and the XMLNode have an attribute named "text", with value of the name of the first XML's nodes. Like this: In the original XML: <XmlNode1>anyValue</xmlNode1> It will be in the new XML: <XMLNode Text="XmlNode1">anyOtherValue</node> I think, the name() function can be OK for me, but I don't know, how can use it. Do you have any idea, or a short code example? Thanks for all, Agnes Molnár Ágnes ----------------------- Web: http://aghy.uw.hu Icq: 167290967 Tel: +36-20-212-8493 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
|