M
Mike
I am writing a post-processor for an existing XML document (that I have
no control over), this entails a lot of inserting and deleting of
nodes.
I don't want to have to hard code the (schema-defined) 'parent' XPath
of every node (so that I know what to clone and where to insert). It
seems that there should be someway of dynamically determining (via the
schema?) the 'parent' paths such that I am able to create valid
documents.
Does anything like this exist or is it just wishful thinking?
(I use 'parent' here not to mean the physical parent of a node, rather
the logical parent from the schema's point of view (as in if I clone
this node then I really have to clone this entire path and insert it
here)).
I'm hoping I've missed something painfully obvious.
Thanks-- Mike
no control over), this entails a lot of inserting and deleting of
nodes.
I don't want to have to hard code the (schema-defined) 'parent' XPath
of every node (so that I know what to clone and where to insert). It
seems that there should be someway of dynamically determining (via the
schema?) the 'parent' paths such that I am able to create valid
documents.
Does anything like this exist or is it just wishful thinking?
(I use 'parent' here not to mean the physical parent of a node, rather
the logical parent from the schema's point of view (as in if I clone
this node then I really have to clone this entire path and insert it
here)).
I'm hoping I've missed something painfully obvious.
Thanks-- Mike