Mixed content is elements with both text and markup children:
<p>This is <b>mixed</b> content/<p>XML::Simple does not keep the order of the children, in this case the 2 contents ('This is ' and ' content') and the b.
You can try with this:
perl -MXML::Simple -e'$xml=XMLin( "<p>This is <b>mixed</b> content</p>"); print XMLout( $xml);'The output is:
<opt b="mixed"> <content>This is </content> <content> content</content> </opt>
Even if you use the noattr option you will still get the 2 contents and the b element in the wrong order.
In reply to Re: Re: Re: Request for advice. Presenting XML.
by mirod
in thread Request for advice. Presenting XML.
by BrowserUk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |