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.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.