|
Subject: Re: apply-templates and Ful XML Path From: "John E. Simpson" <simpson@xxxxxxxxxxx> Date: Tue, 16 May 2000 14:19:43 -0400 |
<xsl:template match="/">
<!-- ** this doesn't work, but it should, right? ** -->
<xsl:apply-template select="ChildOfRoot"/>
<xsl:apply-template select=/ROOTNODE/AnotherChildofRoot"/>that one child is, I would guess, the ROOTNODE element. So in order to make your plain old "ChildOfRoot" select statement work, you'd need a template rule which matches not on "/", but on "/ROOTNODE".
================================================================ John E. Simpson | "I hate it when my foot falls asleep http://www.flixml.org | during the day because that means it's simpson@xxxxxxxxxxx | going to be up all night." (Steven Wright)
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: apply-templates and Ful XML Pat, Mike Brown | Thread | Re: apply-templates and Ful XML Pat, Mike Brown |
| Re: Which is correct, xt or SAXON?, Eric van der Vlist | Date | Re: Which is correct, xt or SAXON?, Eric van der Vlist |
| Month |