Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: XML::Parser XML validation

by choroba (Chancellor)
on Jan 05, 2013 at 11:32 UTC ( #1011782=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <r>
       <a>
    ...
          </b>
       </a>
    </r>
    
  2. or download this
    Start and end tag mismatch: c and b, line 5.
    Start and end tag mismatch: b and a, line 6.
    Start and end tag mismatch: a and r, line 7.
    Unexpected end of the document, line 7.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011782]
help
Chatterbox?
[james28909]: i can extract a certain tree manually by regexing the html file for a starting anchor, then i send the position of the match to a sub and then seek to that position in the file and keep up with div tags (for now)
[james28909]: how can i manage multiple tags? other than div?
[james28909]: i count the div and /div and when count == 0 it means i have got that nested tree

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2017-04-25 03:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (448 votes). Check out past polls.