|
I have to deal with the following and I can't seem to get lib::xmllib to read in the entire FormattedText.
Using: $desc.=\$_->string_value foreach \$r->getElementsByTagName('Description/FormattedText');
<Rule type="verification">
<Description>
<FormattedText>
<Text>some text</Text>
<Newline/>
<Newline/>
<Text>other text</Text>
<Newline/>
</FormattedText>
</Description>
...
</Rule>
I only get the first Text node output and that's it. The 2nd Text node is missed.
Aram
|