in reply to Re: Re: Re: XML::Simple and <tag> </tag>
in thread XML::Simple and <tag> </tag>
In the above, if we preserve whitespace, we'd get something like the following:<document id=23> <title>Title</title> <subhead>Subhead</subhead> </document>
Because the 'document' element's 'untagged' content is the whitespace around the other tags.%xml = ( document => { id => 23, title => 'Title', subhead => 'Subhead', content => "\n \n \n", } )
|
---|