Generating precisely that output might be a little ugly, but accepting
it as input shouldn't be a problem. Rather than using the
default="elements" attribute on the namespace definitions just give them
prefixes and reference the appropriate namespace on each element (so ns1
on Base, Meta and Data, ns2 on Format and Type, ns3 on Devinf and DevID).
- Dennis
[EMAIL PROTECTED] wrote:
Hi, is it possible to ignore namespaces?
how can i configure the following:
<Base xmlns='namespace1'>
<Meta>
<Format xmlns='namespace2'>xml</Format>
<Type xmlns='namespace2'>application/xml</Type>
<Data>
<Devinf xmlns='namespace3'>
<DevID>12345</DevID>
</Devinf>
</Data>
</Meta>
</Base>
here what i did and is not working:
<binding>
<namespace uri="namespace1" default="elements"/>
<mapping name="Base " class="Base">
<structure name="Meta">
<namespace uri="namespace2" default="elements"/>
<value name="Format" field="metaFormat"/>
<value name="Type" field="metaType"/>
<structure name="Data">
<structure name="Devinf">
<namespace uri="namespace3" default="elements"/>
<value name="DevID" field="metaData"/>
</structure>
</structure>
</structure>
</binding>
thanks,
Nic
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users