| [reply] [Watch: Dir/Any] |
So I tried this solution, unfortunately each of the outputs contains an <?xml definition that screws up the parser because it should be at the beginning of a single file and not in the middle of a file. So I guess I'll split out each file that should be separate and do it that way. Thanks for the help. Ineff
| [reply] [Watch: Dir/Any] |
Does this XML need to validate against a schema? If not, could you prepend an opening tag and append a closing tag, wrapping multiple nodes in one parent node?
| [reply] [Watch: Dir/Any] |
From what I can see from the responses, the only way would be to have perl split the big file into a hash or array and feed that into XML::Parser as individual "files"... Does this seem to be correct?
No, it is perfectly valid to have any number of tags there. If your output is valid. But XML::Parser stops, so I doubt it is valid.
| [reply] [Watch: Dir/Any] [d/l] |