Howdy,
well I did the XML decision end of last year and since I only needed
static HTML pages I wrote a little perl program (which you can find
here
if you are interested) that takes a whole XML tree, builds one large
XML document from that and pushes it thru an XSLT stylesheet.
OK, adding new pages and auto-link them is very easy now (hmm, from the
XML point of view, only: as a matter of fact my sysad has disabled ftp in our firewalls
so I don't have to bear with our pages right now :-).
Changing the layout only involves _one_ document: the stylesheet. But that is
really ugly. I have been cursing XSLT for weeks!
Another problem of _that_ time was that the XML::XSL perl modules were not complete.
I dunno of the current situation (though I'd really like to put that into my script ->
any volunteers? ;-). So I used saxon (which is written in Java which is just incredibly
slow on my home machine).
A good source for me has been at zvon.org with loads of
examples for XML, XSL, XSLT, CSS, Perl, ....
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.