Hi Troy,

Easy as can be. Just define the namespace with a <namespace> element in 
the binding, either without a default attribute or with default="none". 
Then on the root element <mapping> use ns="http://www.a.com/namespaces/a";.

  - Dennis

Dennis M. Sosnoski
SOA and Web Services in Java
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



Troy Kinsella wrote:
> Hello,
>
> I have a requirement for the schema I'm working with, where, the root 
> element (and only the root element) must be prefixed with the 
> appropriate namespace.
>
> For example:
>
> <a:thing xmlns:a="http://www.a.com/namespaces/a"; 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="http://www.a.com/namespaces/a.xsd";>
>   <more>
>     <evenmore />
>     <evenmore />
>   </more>
> </a:thing>
>
> Is it possible for JiBX to qualify only a parent element while leaving 
> the children of that element unqualified?
>
> Thanks!
> Troy
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>   

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to