Subject: Re: XPath related query
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Sun, 23 Jan 2011 18:05:47 +0000 (GMT)
|
Dave Pawson wrote:
> Florent Georges wrote:
> > Given that $dblp is bound
to the element DBLP, the following
> > expression should return what you are
looking for, and is I think
> > self-explanatory:
> > exists(
> >
$dblp
> > /Book[@rdf:about eq 'Book1']
> > /chapter
> >
/Chapter[@rdf:about eq 'c1']
> > /section
> > /Section
>
> /cites[@rdf:resource eq 'a']
> > /../../../../../..
> >
/Article[@rdf:about eq 'a']
> > /chapter
> >
/Chapter[@rdf:about eq 'c2']
> > /section
> >
/Section[@rdf:about eq 's']
> > /figure[. eq '"Example Semi-join"']
> > )
> I guess this is why we choose XSLT Florent?
I'm afraid I don't
really understand the question...
Regards,
--
Florent Georges
http://fgeorges.org/
|