[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] including non-xml
Ivan Ristic wrote: > I looked around for a solution, but couldn't find anything. I have an > idea to hack something together that would allow me to specify the > fragment "coordinates" in the URL. For example: > > <programlisting><xi:include > href="codesample.c?startMarker=XXX&endMarker=YYY" parse="text" > xmlns:xi="http://www.w3.org/2001/XInclude" /></programlisting> > > Comments, pointers and suggestions are welcome. I see two possible approaches: 1. Make selection during XIncluding -- probably using custom URI resolver or supporting custom XPointer scheme 2. Do selection during XSLT. Requested range can be coded in some effectivity attribute, e.g. <programlisting condition="20-44">....</programlisting -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]