in reply to XML::Smart and Ordering Nodes in Order Created

As the author of XML::Smart, please, can you give some sample of your code to see what you are doing?

And what version of XML::Smart are you using?

Graciliano M. P.
"Creativity is the expression of the liberty".

  • Comment on Re: XML::Smart and Ordering Nodes in Order Created

Replies are listed 'Best First'.
Re: Re: XML::Smart and Ordering Nodes in Order Created
by hackdaddy (Hermit) on Feb 11, 2004 at 03:04 UTC
    Sample code:
    my $DATA2 = q`<?xml version="1.0" encoding="iso-8859-1"?> <html> <head> <title>Blah blah</title> </head> <body> <form> <input id="0"/> <br/> <input id="2"/> <br/> </form> </body> </html> `; my $x = XML::Smart->new( $DATA2 ); print $x->data( noheader => 1 ); The result is: <br/><br/> <html> <head> <title>Blah blah</title> </head> <body> <form> <input id="0"/> <input id="2"/> </form> </body> </html>
      Please, try the last version of XML::Smart, it will work fine. ;-P

      Graciliano M. P.
      "Creativity is the expression of the liberty".