XML-LibXML - Trying to read an odd xml

Posted on Sun Jul 1 06:10:28 2007 by aram535
Trying to read an odd xml
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
Direct Responses: 5597 | Write a response