Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: XML::Twig and whitespaces

by monkey_boy (Curate)
on Aug 23, 2007 at 14:49 UTC ( #634654=note: print w/ replies, xml ) Need Help??


in reply to XML::Twig and whitespaces

I modified your code below to see how XML::Simple handles this, is seems to do the same thing, i suspect its one of the underlying modules possibly XML::Parser thats causing this:

#!/usr/bin/perl use strict; use warnings; use Data::Dumper; use XML::Simple; my $xml = XMLin(qq{<root t="space tab\tnewline\nend"/>}); print Dumper $xml;

output:
$VAR1 = { 't' => 'space tab newline end' };


This is not a Signature...


Comment on Re: XML::Twig and whitespaces
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2014-07-13 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (246 votes), past polls