Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: split an xml file into pieces

by keszler (Priest)
on Dec 13, 2011 at 10:05 UTC ( #943297=note: print w/ replies, xml ) Need Help??


in reply to Re^2: split an xml file into pieces
in thread split an xml file into pieces

The text inside the ProductAttributes tags resembles HTML, as if it were extracted from a complete HTML page. As is, it's not valid in an XML file - see CDATA for the proper way to handle it.

If you can change how the XML is generated, make it use CDATA. If you must use a regex, see Modifiers for how to make the regex handle multiple lines.


Comment on Re^3: split an xml file into pieces

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2014-07-29 17:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (225 votes), past polls