Re: Simple XML to HTML XSLT question
Andreas L Delmelle <[email protected]>
| Newsgroups | gmane.text.xml.general |
|---|---|
| Message-ID | <[email protected]> |
On Jan 7, 2006, at 18:26, Sebastian Tennant wrote: Hi, Note: this isn't actually the right list to pose questions like these. Try Mulberry's XSLT List in the future. > Why doesn't this work? > > Code snippets from XSL file: > > <tr> > <td align="right"> > <xsl:apply-templates select="/page/leftCol/*" /> > </td> > </tr> > > [...] > > <xsl:template match="leftCol"> > <xsl:value-of select="item" /><br /> > </xsl:template> The latter template never gets applied, unless you make the former: <xsl:apply-templates select="/page/leftCol" /> HTH! Cheers, Andreas