[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
reference of a remote doc
- From: Dimiter Naydenov <bluelight@omega.bg>
- To: xml-dev@lists.xml.org
- Date: Wed, 04 Jul 2001 20:10:20 +0300
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