OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [docbook-apps] XInclude of part of current document


"M.Canales.es" <macana@macana-es.com> wrote on Thu, 5 Apr 2007
19:08:16 +0200:

> xpointer="xpointer(//*[@id='string'])"

While this works, it produces an invalid document because the 'string'
id is no longer unique (a nasty problem that occurs in various forms
in conjunction with XInclude). But your XPath expression suggests that
you do not use DTDs :-).

Therefore, I usually resort to slightly more complicated XPaths that
use @id to refer to the *parent* of the included element.

Justus


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]