Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Request for advice. Presenting XML.

by Matts (Deacon)
on Jul 08, 2002 at 09:20 UTC ( #180172=note: print w/replies, xml ) Need Help??

in reply to Request for advice. Presenting XML.

A few comments:
  1. HTML::Template is another language - exactly the same "issue" as you have with XSLT. The only difference is that XSLT is more powerful, and perhaps more cleanly designed, having learned from 20 years of development of DSSSL, which XSLT is based on.
  2. There are some pretty good perl modules for doing XSLT. Notably XML::Sablotron, XML::LibXSLT and XML::Xalan.
  3. Basic XSLT is incredibly simple. To style a particular tag (say <foo>) as bold, you just use:
    <xsl:template match="foo"> <b><xsl:apply-templates/></b> </xsl:template>
    Yes, this is slightly verbose, but saving on typing isn't everything. And that's 90% of what you need to achieve in XSLT.
I hope this helps in your decision process.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://180172]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2020-04-08 19:18 GMT
Find Nodes?
    Voting Booth?
    The most amusing oxymoron is:

    Results (45 votes). Check out past polls.