Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Using regexps to parse an XML DTD file

by Leitchn (Acolyte)
on Nov 26, 2000 at 06:00 UTC ( #43334=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <!ELEMENT ORDER    (NAME,DELIVERY,PAYMENT,ORDERNUMBER)>
    
  2. or download this
    while ($dtdLine=~/(\((.*?)\,|\,(.*?))/sg){
        push(@children,$1);
        print "@children\n";
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://43334]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2023-06-05 12:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you go to conferences?






    Results (24 votes). Check out past polls.

    Notices?