Element and Attribute validation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prabhamca2006
    New Member
    • Jul 2008
    • 1

    #1

    Element and Attribute validation

    Hi,
    I need to validate both xml element and attribute in schema.

    <shipto>
    <name Rno="1231" version="1">Ola Nordmann</name>
    <shipto>

    In the above xml, i need to validate that attribute Rno should be of 4 character in length,version should be of single digit and the element value should be of characters.
    Please sugguest possible solution.
    Many thanks
  • cyrilgupta
    New Member
    • Jul 2008
    • 1

    #2
    Validation of XML is not a big deal. There are several websites that will validate your url/file for you.

    If you want to learn more about xml structure, it would be a good idea to learn through screencasts. Here's a link that should help you

    http://www.codervods.c om/Default.aspx?mo de=default&cate gory=XML&days=A ll&currentIndex =0

    Comment

    Working...