O'Reilly logo

Real World XML Web Services: For VB and VB .NET Developers by Yasser Shohoud

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2.4. Authoring XSD Schemas

When building and using Web services, you will need to create new XSD schemas and/or read and understand existing ones. Occasionally, you might need to tweak an XSD schema that was auto-generated by your development tool. This section builds on the concepts of the XSD type system to show you how to create XSD schemas.

Typically, there are two steps to create XSD schemas: define new data types and declare elements and attributes using your defined types and the built-in ones. The order of these steps doesn't matter—you can declare elements first or define types first or mix the two.

2.4.1. Declaring Elements

When you declare an element you specify the element's name and its type. For example, if your XML document contains ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required