On Wed, Nov 01, 2000 at 03:54:57PM +0000, Matt Sergeant wrote:

> > On Wed, Nov 01, 2000 at 01:26:39PM +0100, Petr Cimprich 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??
> > > 
> > > The root stuff is a little bit confusing. All you
> > > need is to change <xsl:template match="/"> to
> > > <xsl:template match="/RDF"> in your transform, it
> > > should work.
> > 
> > Doesn't work because RDF is in the rdf namespace. If i use 
> > <xsl:template match="/rdf:RDF"> it complains it doesn't know the namespace,
> > and if (there is gotta to be a way to do it) add the rdf namespace to the
> > xsl:stylesheet (which seems ackward and would make things difficult to
> > transform) it doesn't produce any output. (but no complaints on the
> > namespace though)
> 
> Try /* then.

I'm afraid that doesn't cut it either.

--
Tiago Pascoal  ([EMAIL PROTECTED])               FAX : +351-1-7273394
Politicamente incorrecto, e membro (nao muito) proeminente da geracao rasca.
Recem empossado (engajado) cidadao da republica das bananas.

That's right, try hard to be good at the game of life.

Reply via email to