I'll go out on a limb at assume that because you mentioned opening a file, you want the XML feed as one line per element in the array. That will probably make it somewhat difficult to parse, though. However, assuming you already have the XML in a scalar, you can use split to split it up on newlines ("\n").
In reply to Re: How do I capture XML into a variable?
by friedo
in thread How do I capture XML into a variable?
by tubes41
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |