Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

I need to read data from XML and then write it back - only the content text of the node extracted and changed but others information preserved.

Nested text node is possible.(eg.<a> inside <p>, but I need the text inside <p>)

any suggest for this task? Using modulus or go with naive way? Which modulus should I use?

Replies are listed 'Best First'.
Re: XML - effective text node modification
by apl (Monsignor) on Mar 30, 2008 at 19:21 UTC
Re: XML - effective text node modification
by Jenda (Abbot) on Mar 30, 2008 at 21:55 UTC