ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: ANNOUNCE: XML::Simpler 1.0
by Peter G. Martin other posts by this author
Apr 2 2002 6:03AM messages near this date
view in the new Beta List Site
Re: ANNOUNCE: XML::Simpler 1.0 | Re: ANNOUNCE: XML::Simpler 1.0
Grant McLean wrote:

>  
>  NAME
>     XML::Simpler - Simpler API for handling XML
>  
>  SYNOPSIS
>       use XML::Simpler;
>  
>       my $ref = XMLin($filename);
>  
>       XMLout($ref, $filename);
>  
>  BACKGROUND
>     In the years since XML::Simple was released, many people have taken the
>     time to email me suggestions for how the module could be improved.
>  
>     It rapidly became apparent to me that what these people wanted could not
>     be achieved through small changes to XML::Simple (even though most
>     correspondents expressed opinions to the contrary).
>  
>     The recurring complaints were:
>  
>     *   XML::Simple does not always preserve element order
>  
>     *   When XML is written out, elements can get translated into attributes
>  
>     *   The original encoding is not maintained when the file is read
>  
>     *   The data structures returned by XMLin() are too complex
>  
>     *   There are too many options
>  
>     *   There is too much documentation
>  
>     Clearly a whole new approach was required and so XML::Simpler was
>     born...
>  
>  DESCRIPTION
>     XML::Simpler offers the following improvements over XML::Simple:
>  
>     *   Element order is always preserved
>  
>     *   Elements are never translated into attributes
>  
>     *   Indentation and whitespace is preserved
>  
>     *   Absolutely no encoding translations are performed (unless the 'utf8'
>         option is enabled - see below)
>  
>     In addition to these changes, the data structures returned by XMLin()
>     have been vastly simplified. All hashrefs and arrayrefs have been
>     eliminated, and instead the contents of the XML file are represented
>     using a single scalar value which perfectly preserves the fidelity of
>     the original document. In fact the format of this data structure is so
>     intuitive that new users will be able to work with it immediately
>     without reading the documentation.
>  
>     The new data structure offers a number of exciting possibilities:

I downloaded this from CPAN.
This is +exactly+ what I've been looking for as a way of establishing
suitable control over my Windows operating system configurations...

Given its policy of embracing and supporting XML, I expect
Microsoft will jump on this one immediately.


_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Grant McLean
David K. Trudgett
Peter G. Martin
Matt Sergeant
Matt Sergeant

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved