Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^5: Convert backslash to slash using XML parsing

by Anonymous Monk
on Nov 12, 2004 at 13:36 UTC ( [id://407352]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Convert backslash to slash using XML parsing
in thread Convert backslash to slash using XML parsing

Since the books are published in what would be valid HTML 4 if it had a document type declaration for each document, an XML parser unfortunately won't get you anywhere. XML parsers by definition function only on XML, not on tag soup.

If you still want to go that way, maybe upgrading the documents to XHTML with tidy works.

  • Comment on Re^5: Convert backslash to slash using XML parsing

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2025-07-08 14:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.