[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: RE: DOCBOOK-APPS: modular docbook documents using xpointer
> -----Original Message----- > From: Bob Stayton [mailto:bobs@caldera.com] > Sent: Donnerstag, 26. September 2002 07:38 > To: Jirka Kosek; Arno Sosna > Cc: 'docbook-apps@lists.oasis-open.org' > Subject: Re: DOCBOOK-APPS: modular docbook documents using xpointer > > > On Tue, Sep 24, 2002 at 11:03:04PM +0200, Jirka Kosek wrote: > > Arno Sosna wrote: > > > > > <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" > > > > href="chapter.xml#xpointer(/chapter/*[not(descendant-or-self:: > chapterinfo)]) > > > "> > > > > Use #xpointer(//*[not(ancestor-or-self::chapterinfo)]) > > > > What is nice on XPath is that you never know it enough ;-) > > Did this XPath actually work for you? > I get an error when I try this expression with xsltproc --xinclude: > > Error Invalid expression > > xsltproc --version: > Using libxml 20424, libxslt 10020 and libexslt 711 > xsltproc was compiled against libxml 20424, libxslt 10020 > libxslt 10020 was compiled against libxml 20424 well, it works technically - xmllint throws no error (i don't use xsltproc, just use xmllint to merge my book). the output however, was a horrible mess (chapter inside chapter,...). i think, that xmllint has problems with slightly more complex xpath statements. wbr, arno sosna
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC