Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: convert whole html-files to xml

by Anonymous Monk
on Sep 15, 2013 at 03:55 UTC ( #1054155=note: print w/ replies, xml ) Need Help??


in reply to convert whole html-files to xml

Well, first thing you do is forget about doing that, and you're done -- html isn't xml and vice versa

Oh look, HTML::Tidy::libXML


Comment on Re: convert whole html-files to xml
Re^2: convert whole html-files to xml
by CountZero (Bishop) on Sep 15, 2013 at 07:10 UTC
    Not at all! HTML is far less strict than XML. Perhaps you were thinking of XHTML?

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

    My blog: Imperial Deltronics

      Not at all! HTML is far less strict than XML. Perhaps you were thinking of XHTML?

      I was thinking <small. na-nana-boo-boo Oh look, HTML::Tidy::libXML $xml/$xhtml

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1054155]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2014-07-31 12:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (248 votes), past polls