Xerces also has some support for XPointer, for details you can see
http://xerces.apache.org/xerces2-j/faq-xinclude.html#faq-8Referencing by IDs works in Xerces if you have a DTD or an XML Schema
associated with the file.
In oXygen we patched Xerces to add also support for handling xml:id as
ID even without a DTD or XML Schema - that covers using DocBook 5 with
the Relax NG schema as in that case there is no DTD or XML Schema to
annotate the xml:id as an ID type.
That patch is recorded here:
https://issues.apache.org/jira/browse/XERCESJ-1113Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.comPeter Desjardins wrote:
> I use xmllint to resolve xi:includes before publishing the resolved
> files. My xi:includes also reference elements by ID. There's a note
> describing levels of support for xpointer on this page:
>
>
http://wiki.docbook.org/topic/DocBookCookbook>
> Peter
>
> On Tue, Feb 24, 2009 at 1:44 AM, Fabrice (GMail)
> <
fabrice.talbot@gmail.com> wrote:
>
>> I am struggling to resolve Docbook documents with xi:include statements that
>> specify a xpointer attribute. What XML parser is best suited for that job
>> (we reference by id)?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
docbook-apps-unsubscribe@lists.oasis-open.org> For additional commands, e-mail:
docbook-apps-help@lists.oasis-open.org>