Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to XML::Twig and the monasteries XML

> 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
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11100757]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2026-02-19 04:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.