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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

reference of a remote doc



Hello,

I would like to ask how one could reference a remote document (such as
"www.test.org/docs/samp.xml") and get a part of its DOM (say an element with
all below it) and use it in a local XML (e.g. insert it as a new element
somewhere). The "local" XML doc is processed by a parser and then is
modified dynamically (new elements are inserted/deleted).

Is it possible to use a combination of XLink and XPath for the reference
(href to "www.test.org/..." and xpath "/a/b/c") (or maybe XLink is not
necessary here) ?

Is there a way to do this with any XML DOM implementation, without writting
XPath parser etc. ?

Thanks,
Dimiter Naydenov