xsl-list
[Top] [All Lists]

Changing a node value for a variable

2002-11-26 07:29:25
I have a question:

Since a variable may contain a node set, is it possible to modify the value
of one node in the variables nodes.

Example:
<foo>
  <data1>Tom</data1>
  <data2>Jones</data2>
</foo>

to

<foo>
  <data1>Bridget</data1>
  <data2>Jones</data2>
</foo>

or is it possible to add a new child node?

Example:
<foo>
  <data1>Tom</data1>
  <data2>Jones</data2>
</foo>

to

<foo>
  <data1>Tom</data1>
  <data2>Jones</data2>
  <data3>Bridget</data3>
</foo>

Thanks,
-Jeff Harman

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>