Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

xsd:string max length

Status
Not open for further replies.

omom

Programmer
Joined
Apr 21, 2004
Messages
3
Location
US
I have a string defined:

<xsd:element name="name" minOccurs="1" maxOccurs="1">
<xsd:simpleType base="xsd:string"/>
</xsd:element>

Is there a way to define a maximum number of characters it is allowed to have?
 
Use the maxLength attribute.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top