Re: [docbook-apps] support for xpointer

2014-09-14 Thread Jirka Kosek
On 14.9.2014 3:22, Stefan Seefeld wrote: Can anyone confirm the state of xpointer support in xsltproc, or any other Free XSLT processor for that matter ? (For example, what about saxon ?) Are there any (free) test suites that I could use to get a sense of what is supported and what not ?

Re: [docbook-apps] support for xpointer

2014-09-14 Thread Stefan Seefeld
On 09/14/2014 05:09 AM, Jirka Kosek wrote: On 14.9.2014 3:22, Stefan Seefeld wrote: Can anyone confirm the state of xpointer support in xsltproc, or any other Free XSLT processor for that matter ? (For example, what about saxon ?) Are there any (free) test suites that I could use to get a

Re: [docbook-apps] support for xpointer

2014-09-14 Thread Richard Hamilton
I have had success using xmllint to access nodes using xpath. I can't tell you how well it supports xpath, but I am able to do things like the example below, which turns a chapter into a preface and changes the title. preface titlePreface/title xi:include href=ebook-intro.xml

Re: [docbook-apps] support for xpointer

2014-09-14 Thread Stefan Seefeld
On 09/14/2014 02:02 PM, Richard Hamilton wrote: Regarding the question of pulling the second listitem from a section with a particular id, I think the following will do the trick (I don't claim it's the most elegant way to do this, but it works with xmllint): xi:include href=filename.xml

Re: [docbook-apps] support for xpointer

2014-09-14 Thread Richard Hamilton
Hi Stefan, I didn't say it was elegant:-). I agree that DocBook transclusion may be the way to go. I need to look into it further for our book process. And a multi-stage process works well for us. Maybe it's my long experience with Unix, but I use multi-stage processes all the time. They let