Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XML
XML General XML discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XML section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 19th, 2004, 09:58 PM
Authorized User
Join Date: Jun 2003
Posts: 28
Thanks: 0
Thanked 0 Times in 0 Posts
Default xml schema help

OK, I'm a bit of a newbie to xml, this is what I want to do:

<element1 Type="2" Value="1">
</element1 >

Now, I have to have attribute tags in element1 as well as string type restrictions:

<xs:attribute name="Type" use="required" type="TicketType" />
<xs:attribute name="Value" use="required" type="xs:positiveInteger" />

 <xs:restriction base="xs:string">
  <xs:maxLength value="3000" />

How do I construct this element schema?


Similar Threads
Thread Thread Starter Forum Replies Last Post
Updating an XML Schema johnnycorpse ASP.NET 1.0 and 1.1 Professional 0 April 5th, 2007 11:18 AM
XML Schema Issue rkrmck.1 XML 3 April 5th, 2007 02:13 AM
Validating XML Schema lmadhavi XML 0 November 18th, 2004 06:58 AM
What's the use of XML Schema?! janise XML 2 August 29th, 2004 05:31 AM
XML, XML Schema, JavaScript, ASP cyberjames2003 XML 0 June 4th, 2003 04:49 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.