Wappel has asked for the wisdom of the Perl Monks concerning the following question:
in the above example the file name should be test-nr4to18.xml and it should contain<?split ?> <h1>text</h1> <text> Textinhalt <no>4</no> </text> text ... text <no>18</no> <h6>text</h6> <?split ?> <text>...</text>
I would like to use an XML module (eg. XML::Twig) but how do I get the contents between the Pis into a node set for further processing? Can anybody help me? Thanks Wolfgang<h1>text</h1> <text> Textinhalt <no>4</no> </text> text ... text <no>18</no> <h6>text</h6>
edited: Wed Jun 23 14:37:14 2004 by jeffa - title change s/xmlf/XML/
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Splitting XML file on Processing Instructions
by BrowserUk (Patriarch) on Jun 23, 2004 at 16:16 UTC | |
|
Re: Splitting XML file on Processing Instructions
by iburrell (Chaplain) on Jun 23, 2004 at 16:33 UTC | |
|
Re: Splitting XML file on Processing Instructions
by pbeckingham (Parson) on Jun 23, 2004 at 17:56 UTC | |
by Anonymous Monk on Jun 24, 2004 at 08:19 UTC | |
by pbeckingham (Parson) on Jun 24, 2004 at 13:11 UTC |