|
Re: one XML element value as other xml element value [message #905914 is a reply to message #905904] |
Fri, 31 August 2012 09:51 |
Ed Merks Messages: 33264 Registered: July 2009 |
Senior Member |
|
|
Balagan,
You might be able to so something like that with keyref, but I'm not
sure how. This forum isn't intended for general help writing XML
Schemas but rather specific help for using Eclipse's XSD API to read,
write, and analyze schemas programmatically.
On 31/08/2012 11:36 AM, bala ganapathi wrote:
> Hi All,
>
> Am having an XML file which looks like the following,
>
> <param-attribute>
> <attribute-name>Activate</attribute-name>
> </param-attribute>
> <param-attribute>
> <attribute-name>De-Activate</attribute-name>
> </param-attribute>
> <Service>
> <action>
> <param>Activate</param>
> <param>De-Activate</param>
> </action>
> </Service>
>
> Here the <param> element value "Activate" which is a value of element
> <attribute-name>
>
> How to ensure in XSD, the <param> element value can be value of any
> one of <attribute-name> element value?
>
> Please help me on writing .XSD for this validation.
>
> Eagarly awaiting for response from XSD gurus ...
>
> Thanks,
> Balagan.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02593 seconds