Jump to content

King_Ming

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by King_Ming

  1. Hi,

     

    I'm trying to create an xsd with restriction for the following but I can't seem to find an example of how to do it properly. Basically its a string element that has an attribute. What I'm trying to do is have restriction on both the Name and the Number.

     

    So for example, for Name, I want to only allow [a-t]*, and for number I want it to be 0 -100.

     

    Thanks in advance,

     

    ~Ming

     

    XML

    <Name Number="10">abcdeft</Name>
×
×
  • Create New...