[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: template match
Thanks both. apply-templates select is I think what I need. I'll give it a go. Ken, Thanks for your helpful comments. We don't actually use xslt to create our fo. We have a requirement for only one fo document which we have created by hand. To this document we need to add text blocks, images etc and xslt and xpath instructions. Our requirements are actually pretty simple. The xsl side of what we are doing is very small but important. However, we are working to a tight deadline and whilst I would very much like to get fully to grips with all the xsl branches (and terminology!!), we don't have the time at the moment, so we are trying to pick up bits and pieces as we go along. I'm just about okay with xsl-fo (largely thanks to your own excellent book on the subject), but the overhead in getting fully up to speed with xslt, xpath etc is just too great for us at the moment. Apologies, therefore, for any stupid or illogical questions I may post from time to time and thank you very much for your attempts to get to grips with what I'm trying to say and for your help in return. Wishing you and all your helpful colleagues a happy, healthy and prosperous New Year. Kindest regards, Mark Williams ----- Original Message ----- From: "Andreas L. Delmelle" <a_l.delmelle@xxxxxxxxxx> To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx> Sent: Monday, December 29, 2003 11:26 PM Subject: RE: template match > > -----Original Message----- > > From: G. Ken Holman > <snip /> > > As a supplement... in short : > > <xsl:template match="t1"> > <fo:root> > <xsl:template match="t2"> > > is obviously not allowed, use the following > > <xsl:template match="t1"> > <fo:root> > <xsl:apply-templates select="t2" /> > </fo:root> > </xsl:template> > > <xsl:template match="t2"> > ... > </xsl:template> > > Hope this helps! > > Cheers, > > Andreas > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|