Hi,
I use xinclude to include certain documents in different books. In a
certain context I want to use it as part in another as appendix.
I tried to remove the top level node with the following to my customization
layer:
!-- Remove all sections marked with wrapper --
xsl:template
Hi Frank,
thanks, xpointers sound very useful.
I tried it but my self-written xinclude Apache Ant task does not support
xpointers. Is anyone aware of an existing Ant xinclude task which has
support for xpointers?
Best regards, Lars
2015-08-19 15:04 GMT+02:00 Frank Arensmeier
Hi there!
There is probably some XLST foo out there that does what you want. I’d like to
suggest an other approach. Have a look at Xpointers for the x:include
element. The attribute xpointer on that element defines an xpath expression
(kind of) that is used to select only parts of the document
Just a quick heads-up. I just stumbled upon an old thread on this list dealing
with more or less the same problem as you have.
http://comments.gmane.org/gmane.text.docbook.apps/29005
http://comments.gmane.org/gmane.text.docbook.apps/29005
Maybe worth reading?
/frank
19 aug 2015 kl. 15:20
The main issue for me is that, to my knowledge, there is no open source
solution that works with CSS Paged media and its associated generated
content) and none of the available commercial solutions is cheap. Prince
XML allows you to do development without a license but not commercial use.
Whether
Dear Carlos,
thanks for your valuable feedback!
On 2015-08-19 Carlos Araya wrote:
The main issue for me is that, to my knowledge, there is no open source
solution that works with CSS Paged media and its associated generated
content) and none of the available commercial solutions is cheap.
I