Re: XInclude 1.1 Requirements

From
Norman Walsh <>
Date
2012-02-22T12:48:38+00:00
ID
Thread
Re: XInclude 1.1 Requirements
David Cramer <> writes:
> While we're cracking things open, would it be possible to extend the
> element scheme [1] so you could do:
>
> <xi:include href="foo.xml" xpointer="element(someId/*)"/>
>
> Short of the full xpath support that was in the xpointer() scheme,
> that would provide a lot of benefit for a small change.

Many processors support the xpath() scheme which lets you do this, I
believe.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <>      | To probe a hole we first use a
http://www.oasis-open.org/docbook/ | straight stick to see how far it
Chair, DocBook Technical Committee | takes us. To probe the visible
                                   | world we use the assumption that
                                   | things are simple until they prove
                                   | to be otherwise.--E. H. Gombrich