getting processing instructions
"Steve Kaeser" <[email protected]>
| Newsgroups | gmane.text.xml.xerces-p.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi. I'm using a DOMNodeIterator with a filter to get the processing instructions from an XML file. It works if I have a file that looks like this: <?xml version="1.0" encoding="utf-8"?> <tag1> <?proc-instr action="something"?> <tag2>some data</tag2> </tag1> But if have this: <?xml version="1.0" encoding="utf-8"?> <?proc-instr action="something"?> <tag1> <tag2>some data</tag2> </tag1> the Iterator doesn't find any nodes. Any suggestions? Thanks, Steve