P
Prashanth Ellina
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
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