Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
My original vision for the Perl-XML FAQ was that it should be packaged as a distribution available via CPAN. The Q&A part would be available in the source XML format as well as a POD version, but I also envisaged that the distribution would include an 'examples' directory. Unfortunately, I've been busy on other stuff and not progressed that side of things at all.

The way I saw the examples working is to define a small number of 'problems' (3-5) and then provide one 'solution' for each problem using each available module. One or more of the problems would use mixed content (the XML as a document model) and some would not (the XML as data model). Some possible problems might include:

  • Read a Purchase Order XML document and extract some specific fields.
  • Read an XML document add, remove and modify specified elements then write it back out as XML.
  • Take a Perl data structure and output it as an XML document in a specified schema (small 's')
  • Transform an XML document into an HTML version

The Perl-XML FAQ is under CVS on SourceForge and I'd be more than happy to accept contributions, but I think the first step before starting to cut code is to define the problems.

http://www.perlxml.net/ was envisaged as a home for Perl XML stuff such as a directory of projects. I'm sure Ilya would welcome contributions - the Perl-XML mailing list might be a good place to discuss it.


In reply to Re: Re: XML Examples (and a call for participation) by grantm
in thread XML Examples (and a call for participation) by mirod

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (1)
As of 2024-04-24 16:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found