Leitchn has asked for the wisdom of the Perl Monks concerning the following question:
<!ELEMENT ORDER (NAME,DELIVERY,PAYMENT,ORDERNUMBER)>
while ($dtdLine=~/(\((.*?)\,|\,(.*?))/sg){ push(@children,$1); print "@children\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using regexps to parse an XML DTD file
by the_slycer (Chaplain) on Nov 26, 2000 at 06:54 UTC | |
by Leitchn (Acolyte) on Nov 26, 2000 at 07:09 UTC | |
by merlyn (Sage) on Nov 26, 2000 at 07:50 UTC | |
|
Re: Using regexps to parse an XML DTD file
by Leitchn (Acolyte) on Nov 26, 2000 at 06:40 UTC | |
|
Re: Using regexps to parse an XML DTD file
by Leitchn (Acolyte) on Nov 26, 2000 at 06:15 UTC | |
by jptxs (Curate) on Nov 26, 2000 at 07:08 UTC |