Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sapphire-dev] How to use different root xml elements within a model

I have a use case where the root xml element switches between two values:

 

< my-mobile-config>

…..

</ my-mobile-config>

 

Or

 

<my-regular-config>

……

</my-regualr-config>

 

Obviously I won’t be able to use a standard @XmlBinding(path = “…”) on the root model element. What’s the best way to do this?

 

Thanks!

 

Shenxue


Back to the top