xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Peter Murray-Rust <pm286 AT cam.ac.uk>
- To: XOM API for Processing XML with Java <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] Removing namespace declarations
- Date: Mon, 9 May 2011 21:56:33 +0100
I have been processing XOM using XInclude and have somehow ended up with
XInclude namespace declarations on nodes, as in:
<module xmlns="http://www.xml-cml.org/schema" xmlns:xi="
http://www.w3.org/2001/XInclude">
...
</module>
I'd like to get rid of them, ideally with XPath, but my reading of XOM
suggests that I cannot obtain namespace declarations with XPath. If I can't
do it this way is there a programmatic way of getting rid of them?
P.
--
Peter Murray-Rust
Reader in Molecular Informatics
Unilever Centre, Dep. Of Chemistry
University of Cambridge
CB2 1EW, UK
+44-1223-763069
-
[XOM-interest] Removing namespace declarations,
Peter Murray-Rust, 05/09/2011
- Re: [XOM-interest] Removing namespace declarations, Elliotte Rusty Harold, 05/12/2011
Archive powered by MHonArc 2.6.24.