This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: modular docbook documents using xpointer
- From: Jirka Kosek <jirka at kosek dot cz>
- To: Arno Sosna <Arno dot Sosna at update dot com>
- Cc: "'docbook-apps at lists dot oasis-open dot org'" <docbook-apps at lists dot oasis-open dot org>
- Date: Tue, 24 Sep 2002 23:03:04 +0200
- Subject: Re: DOCBOOK-APPS: modular docbook documents using xpointer
- References: <D2F7F373B179A246B36D2C3166F47DD60194143C@upmail02.update.com>
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 ;-)
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz