Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries [Thread Prev] >Thread Next - Re: XSLT modifying an xml dom tree? XSLT modifying an xml dom tree?To: NULL Date: 8/1/2005 5:11:00 AM Hi, I am an XSLT newbie. I need to solve something which I will express in pseudo-code. function f1() { xmltree = <emptydom> addnamevaluepair(xmltree, "size","100") addnamevaluepair(xmltree, "color","blue") } function addnamevaluepair(dom, name, value) { //add element : <attrib> // <name>....</name> // <value>...</value> // </attrib> //to the dom and return it return xmldom } What would the equivalent be in XSLT? Thanks in advance, Prashanth | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
