|
|
|
good chemistry is complicated, and a little bit messy -LW |
|
| PerlMonks |
Re: XML::Twig and the monasteries XML (SOLVED)by LanX (Saint) |
| on May 31, 2019 at 00:38 UTC ( [id://11100757]=note: print w/replies, xml ) | Need Help?? |
|
> do the newlines serve any purpose or is it a limitation from XML::Fling (no link, couldn't find it on CPAN) ? I was able to solve it by reading our XML docs
The default XML is older and has various properties that make it easier to parse with a regex, but conversly harder to handle with normal XML manipulation tools. This has been resolved by adding the xmlstlye=clean and xmlstyle=flat settings. adding xmlstyle=clean solves the issue https://perlmonks.org/?displaytype=xml;node_id=11100756;xmlstyle=clean
Cheers Rolf
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||