[Home] [By Thread] [By Date] [Recent Entries]
At 01:25 PM 5/16/2000 -0400, Matthew Cordes wrote:
I don't know what your input document looks like. But remember that match="/" doesn't match the root ELEMENT, but the root NODE. This is the abstract thing which contains everything in the document (including the prolog e.g.). The root NODE has only one child, the root ELEMENT; based on your line: <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". HTH.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



