On Wed, 1 Nov 2000 [EMAIL PROTECTED] wrote:
> On Tue, Oct 31, 2000 at 11:05:42PM +0100, Kaiserovi wrote:
>
> > there's nothing really strange with this. select is fully supported on
> > apply-templates. however you are trying to select "item" children of the
> > root node which only has one child, named "rdf:RDF". when you remove the
> > select attribute, this child gets processed implicitly, which means that
> > its children are processed one by one (this is the default rule) and
> > that's why your second template catches them.
>
> What do u mean?? rdf:RDF seems the root node to me. What do u consider to be
> the root node then??
In XPath/XSLT the root node is virtual, under that you have any
comments and processing instructions before the "document root", and then
you have the document root node, finally optionally followed by any
comments after the close of the document root node.
Hope that helps.
--
<Matt/>
/|| ** Director and CTO **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** Personal Web Site: http://sergeant.org/ **
\\//
//\\
// \\