Subject: RE: [xsl] step-by-step work instructions -- recursive apply-templ ates to create html table From: "Kathy Burke" <Kathy_Burke@xxxxxxxxx> Date: Thu, 10 Apr 2003 11:52:52 -0400 |
Americo, thanks for additional explanation. I still can't get the actual <step> element content to appear in the row using your code...any hints? Also, just so you don't think I'm TRYING, I'm on my third XSLT book...but I can't find examples anywhere to match what I've been asking here. Thanks again. Kathy -----Original Message----- From: Américo Albuquerque [mailto:aalbuquerque@xxxxxxxxxxxxxxxx] Sent: Thursday, April 10, 2003 10:34 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: [xsl] step-by-step work instructions -- recursive apply-templ ates to create html table Hi > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of > Kathy Burke > Sent: Wednesday, April 09, 2003 8:04 PM > To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx' > Subject: RE: [xsl] step-by-step work instructions -- > recursive apply-templ ates to create html table > > > I've added my actual source to the bottom. I've been studying > it, don't understand it all...but it is cool. Re: non step > childs, still trying to figure out WHERE to process them, for > example, I want to put any WCNs in the same row as the step > but with a bgcolor or different font, hrefs need to be a > link, etc. For now, I'm still trying to get all the elements > to show up where I need them. You don't need a specific place to put your non step childs, just add the needed templates to handle them and the xslt processor will do the rest. To place to child on the same row you'll have to call their template inside the same <tr> <table> <tr> <xsl:apply-templates select="step | WCN"/> </tr> </table> or <table> <tr> <xsl:apply-templates select="step"/> <xsl:apply-templates select="WCN"/> </tr> </table> It will depend on what you are trying to do I also recommend for you to read some books about xslt, the xslt list site (http://www.mulberrytech.com/xsl/xsl-list/) has some nice recommendations you might want to check XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] step-by-step work instruc, Américo Albuquerque | Thread | RE: [xsl] step-by-step work instruc, Kathy Burke |
Re: [xsl] match nodes based on give, David Carlisle | Date | Re: [xsl] How to render TEI <div*>s, Wendell Piez |
Month |