Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^6: Search and replace again

by ikegami (Patriarch)
on Apr 20, 2010 at 20:04 UTC ( [id://835874]=note: print w/replies, xml ) Need Help??


in reply to Re^5: Search and replace again
in thread Search and replace again

I'm not going to argue that XML isn't text. At some levels, it definitely a valid position to think of XML as a text format. (It's human readable and human editable, after all.)

But topic at hand is far lower level, and such details does matter. Let's compare HTML (a text format) and XML (a binary format).

HTMLXML
MIME typetextapplication (binary)
Character EncodingExternal to documentEmbedded in document
ParserThe document must be decoded prior to being given to the parser or information allowing the parser to do so must be provided to the parser.The document cannot be decoded prior to being given to the parser because the document must be parsed to determine its encoding.
GeneratorThe document must be returned unencoded or the generator must indicate which encoding was used to encode it.The encoding must be chosen before the document is generated, so the text in the document is already encoded.

Your definition may differ. This is the one I was using.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (2)
As of 2024-04-26 05:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found