in reply to Re: nested loops and escaping in XML::Generator
in thread nested loops and escaping in XML::Generator
Because I'm trying (for lack of a better way of doing it) to insert pre-rolled XML into a larger XML document. Without disabling escaping, I get:
From:<imageinfo> <imageurl1 /><imagecaption1 /><imageurl2 /><image +caption2 /><imageurl3 /><imagecaption3 /><imageurl4 + /><imagecaption4 /> </imageinfo>
(remember that $imageSection was generated within a loop). Not a pretty sight, not valid XML ...$generator->imageinfo( $imageSection ),
I'm also confused about your data format. So am I. It's the requirement from a third party, and cannot be changed. Essentially, I'm trying to work *around* someone else's bizarro-world XML format.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: nested loops and escaping in XML::Generator
by Tanktalus (Canon) on Jul 12, 2006 at 21:48 UTC | |
by geektron (Curate) on Jul 13, 2006 at 14:38 UTC |