Subject: RE: [xsl] step-by-step work instructions -- recursive apply-templ ates to create html table From: Américo Albuquerque <aalbuquerque@xxxxxxxxxxxxxxxx> Date: Thu, 10 Apr 2003 15:33:31 +0100 |
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] step-by-step work instruc, Kathy Burke | Thread | RE: [xsl] step-by-step work instruc, Kathy Burke |
RE: [xsl] Newbie Q: Why are element, Passin, Tom | Date | Re: [xsl] How to use an xml Element, David Carlisle |
Month |