Correct me if I'm wrong (and I may very well be wrong for I have #$%&-all experience with XML or XML parsing), but it seems to me that
<!--Main id="3" name="Item4">
is not a proper XML comment and so maybe Win32::OLE is just choking and returning an undefined value when it encounters something that is, in fact, 'undefined' qua XML.
(Would not
<!--Main id="3" name="Item4"-->
be a proper comment: see '-->' at end?)
Just curious.
In reply to Re: How do I ignore comments in an xml file when using win32::ole?
by AnomalousMonk
in thread How do I ignore comments in an xml file when using win32::ole?
by ketanh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |