Learning xml, Can anyone help me? I have following XML code:
**<book lang="en">name of book</book>**
i want to write a xsd file with constraint:
book tag with
-
lang att is required
-
content of book tag restriction lenght from 5 to 30 characters.
Help!! Thank everybody
This XSD should do:
The way I did it was to automatically generate an XSD from your XML fragment; then add the simple type that gives you the restriction vis-a-vis lengths.