[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] How to match very first entry from multiple entry
Hi, Assume html table, I like to match very first entry of table body not for all entry. The below my code matching for all but I need specifically very first element. Ex: <xsl:template match="tbody/row/entry"><entry rowsep="1" align="center"><xsl:apply-templates/></entry></xsl:template> Regards, Ramkumar Software - Digital Services Division, Macmillan India Ltd.- Chennai 600 018. -----Original Message----- From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx] Sent: Tuesday, July 08, 2008 3:34 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: Copy results > If you don't have a point in the calling application where it's easy to copy > a file, then your application architecture may be wrong. I think that in > nearly all production applications there should be some kind of framework > that invokes the XSLT (it might be Java, or XProc, or Ant, or Cocoon, or > something else) that allows you at the very least to fiddle around with > input and output files. Ideally it should allow you to construct a pipeline > of transformations. Well Cocoon is a serious investment, XProc seems like vapour-ware at the moment, leaving Ant and Java.... and as Ant is Java I guess you may as well use Ant. For batch transforms, I don't think you can beat Ant. For server-side stuff, I'm still going for standalone transforms + eXist... I've nosed around XProc with much anticipation, but can't seem to find much... -- Andrew Welch http://andrewjwelch.com Kernow: http://kernowforsaxon.sf.net/
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|