Is it possible to define XML scheme with node names specified via regular expressions?

Posted by MartyIX on Stack Overflow See other posts from Stack Overflow or by MartyIX
Published on 2010-04-24T21:31:43Z Indexed on 2010/04/24 21:33 UTC
Read the original article Hit count: 136

Filed under:
|

Hello,

I know it is probably a question against XML philosophy but still is it possible to define scheme for XML like this:

<Root>
  <arbitrary-name-of-node>
   <Name></Name>
   <Position></Position>
   <!-- ... -->
  </arbitrary-name-of-node>

  <arbitrary-name-of-node>
   <Name></Name> 
   <Position></Position>
   <!-- ... -->
  </arbitrary-name-of-node>
</Root>

where arbitrary-name-of-node matches regular expression [a-zA-Z0-9]?

Thanks for an answer!

© Stack Overflow or respective owner

Related posts about Xml

Related posts about Scheme