Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Request for advice. Presenting XML.

by Matts (Deacon)
on Jul 08, 2002 at 13: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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2018-01-16 14:10 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (180 votes). Check out past polls.