|
|
| There's more than one way to do things | |
| PerlMonks |
Re^3: split an xml file into piecesby keszler (Curate) |
| on Dec 13, 2011 at 10:05 UTC ( #943297=note: print w/ replies, xml ) | Need Help?? |
|
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.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||