Creating an XML Schema that will validate and accept any variable element name.

Hi,
 
I have been searching for a way to write a schema to validate and accept any variable element/tag name as follow:  Since ABC and XYZ is any variable name, I can't use <xs:element name="ABC or XYZ">
 
Thanks,
Mike
 

<CONFIGURATION>

<ABC configtype="string">hello</ABC>

<XYZ configtype="string">hi</XYZ>

</FSE_CUSTOM_CONFIGURATION>

 

<xs:element name="CONFIGURATION">

???

...

</CONFIGURATION">


		
---------------------------------
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
--0-224068931-1088812595=:695
Content-Type: text/html; charset=us-ascii

<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I have been searching for a way to write a schema to validate and accept any variable element/tag name as follow:&nbsp; Since ABC and XYZ is any variable name, I can't use &lt;<FONT color=#800000 size=1>xs:element</FONT><FONT color=#ff0000 size=1> name</FONT><FONT color=#0000ff size=1>="ABC or&nbsp;XYZ</FONT><FONT color=#0000ff size=1>"&gt;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Mike</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2>
<P>&lt;CONFIGURATION&gt;</P>
<P>&lt;ABC configtype="string"&gt;hello&lt;/ABC&gt;</P>
<P>&lt;XYZ configtype="string"&gt;hi&lt;/XYZ&gt;</P>
<P>&lt;/FSE_CUSTOM_CONFIGURATION&gt;</P>
<P>&nbsp;</P><FONT color=#0000ff size=1>
<P>&lt;</FONT><FONT color=#800000 size=1>xs:element</FONT><FONT color=#ff0000 size=1> name</FONT><FONT color=#0000ff size=1>="</FONT><FONT size=1>CONFIGURATION</FONT><FONT color=#0000ff size=1>"&gt;</FONT></P>
<P><FONT color=#0000ff size=1>???</FONT></P>
<P><FONT color=#0000ff size=1>...</FONT></P>
<P><FONT color=#0000ff size=1>&lt;/<FONT color=#000000>CONFIGURATION</FONT><FONT color=#0000ff size=1>"&gt;</FONT></P></FONT></FONT></DIV><p>
		<hr size=1>Do you Yahoo!?<br>
<a href="http://us.rd.yahoo.com/mail_us/taglines/security/*http://promotions.yahoo.com/new_mail/static/protection.html">Yahoo! Mail</a> - You care about security. So do we.
--0-224068931-1088812595=:695--

Received on Thursday, 8 July 2004 14:21:33 UTC