match any node with relaxng

To match any node with relax ng, you need to define your pattern step by step.

Ie. first you need to specify that any node name is to be matched (using special node <anyName/>) and then define your typical content.

For example, if you want to match any node name, but still restrict these nodes to string content only, you can do the following:

<data type="string"/>

Read official tutorial (section 11) for more details


Post a Comment

Your email is never published nor shared. You're allow to say what you want...