This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: modular docbook documents using xpointer


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]