xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Steve Loughran" <steve.loughran AT gmail.com>
- To: xom-interest <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] cleaning up xmlns declarations
- Date: Fri, 21 Apr 2006 15:13:53 +0100
How do I best go about moving xmlns declarations up to the toplevel so
they arent repeated? I.e, how to clean something like this up:
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
<Header>
<To soap:mustUnderstand="1"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">http://localhost:5050/alpine/system/?system=uuid_6b1c1a7e_2f61_412d_bbb6_de871b2cdffd</To>
<MessageID soap:mustUnderstand="1"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing"/>
<Action soap:mustUnderstand="1"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing">GetResourceProperty</Action>
<RelatesTo soap:mustUnderstand="1"
xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns="http://schemas.xmlsoap.org/ws/2003/03/addressing"/>
</Header>
<Body>
<GetResourceProperty
xmlns:getprop_ns="http://docs.oasis-open.org/wsdm/2004/12/muws/wsdm-muws-part1.xsd"
xmlns="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourceProperties-1.2-draft-01.xsd">getprop_ns:ResourceId</GetResourceProperty>
</Body>
</Envelope>
Should I put the soap: and wsa: xmlns declarations on the top and
expect them to get thandled, or is there a way to pull stuff up prior
to sending the messages over the wire?
-steve
-
[XOM-interest] cleaning up xmlns declarations,
Steve Loughran, 04/21/2006
-
Re: [XOM-interest] cleaning up xmlns declarations,
Elliotte Harold, 04/21/2006
- Re: [XOM-interest] cleaning up xmlns declarations, Wolfgang Hoschek, 04/21/2006
-
Re: [XOM-interest] cleaning up xmlns declarations,
Elliotte Harold, 04/21/2006
Archive powered by MHonArc 2.6.24.