My name is Edward Tanguay. I am a web developer in Berlin, Germany. I learn everything I can and record it on this site.
Other things you might be looking for:
My Ubuntu Tutorial
My Datapod Project
My Blog Feed:
- Code Examples
Code Example: How to use a regular expression to force a zip code format
XML SCHEMAS CODE EXAMPLE - added on August 27, 2001
How to use a regular expression to force a zip code format 
One advantage of schema to DTDs is that you can force specific data types to be present. Here is an example of a simple element which uses regular expression to force a zip code format.
post comment or question
Similar Code Examples:
Code Example: The simplest XSD syntax
XML SCHEMAS CODE EXAMPLE - added on May 6, 2002
Using Visual Studio .NET, XMLSpy and two different books on Schemas, I found syntax conflicts in the examples of XSD Schema, particularly with the "xsd:" namespace prefix and the xmlns:xsd namespace URL. Seen as XMLSpy seems to be the most sophisticated XML/Schema editor (even the 3.5 can do more than Visual Studio .NET), I wanted to get the least common syntax that I can use to make a XSD file which is valid in XMLSpy. This is it.
SHOW CODE

post comment or question
Code Example: How to create a reference to an element with ref
XML SCHEMAS CODE EXAMPLE - added on August 27, 2001
This code shows you how to, in schemas, you can define an element and then refer to it from various other elements. This is useful if a number of elements have the same types of child-elements.
SHOW CODE

post comment or question
Code Example: Simple example of linking a schema to an XML file
XML SCHEMAS CODE EXAMPLE - added on August 27, 2001
This code shows you how to link a schema file (xsd) to an XML file. Notice that it is in a different place than a link to a DTD file (namely in the root element). Notice also that the example has a stylesheet reference.
SHOW CODE

post comment or question
Code Example: Basic xml schema example
XML SCHEMAS CODE EXAMPLE - added on May 23, 2001
This was my first xsd schema file that I got to work with an xml file. I love it, once you get a schema to work on your own xml data, you understand why they were created to replace DTDs.
SHOW CODE

mic: hello i create from xsd schema dataset for c# i want to fill it with window form the problem is i cant find the enums and how to bind the data to specific enums reply
Alex: Just wanted to say a huge thanks.. pretty new to xml and tried so many options to export data from excel in XML format.. after loads of research your example solved my problems - cheers!!! reply
post comment or question
My Free Tutorials:
Tutorial: How to Install the Android SDK on Windows XP and Create an Application that Runs in the Cell Phone Emulator
How to Install the Android SDK on Windows XP and Create an Application that Runs in the Cell Phone Emulator
Tutorial: How to Create a Website with Datapod
How to Create a Website with Datapod
Tutorial: Install Fedora 6 in VMWare on Windows XP and connect it to your network
Install Fedora 6 in VMWare on Windows XP and connect it to your network
Tutorial: Install Perl 5 on Windows XP and Get a Perl Hello World Running
Install Perl 5 on Windows XP and Get a Perl Hello World Running
Tutorial: Install OpenSuse 10.2 in VMWare on Windows XP and connect it to your network
Install OpenSuse 10.2 in VMWare on Windows XP and connect it to your network
Tutorial: Install Ubuntu 7.04 in VMWare on Windows XP and connect it to your network
Install Ubuntu 7.04 in VMWare on Windows XP and connect it to your network
Tutorial: Install Java on Windows XP and Learn the Basics of Java 6 using the NetBeans IDE
Install Java on Windows XP and Learn the Basics of Java 6 using the NetBeans IDE
Tutorial: Setup a PHP Development Environment on Windows XP With Apache, PHP 5, MySQL 5, SQLite, Eclipse, Subversion, PHPMyAdmin, and Datapod
Setup a PHP Development Environment on Windows XP With Apache, PHP 5, MySQL 5, SQLite, Eclipse, Subversion, PHPMyAdmin, and Datapod
Tutorial: Install a PHP Development Environment with Eclipse PDT, Apache 2.2, PHP 5, MySQL 5, and phpMyAdmin Using XAMPP Lite
Install a PHP Development Environment with Eclipse PDT, Apache 2.2, PHP 5, MySQL 5, and phpMyAdmin Using XAMPP Lite
Tutorial: How to Install Ruby on Rails with Instant Rails and Create a Website Using JEdit and the Ruby Plugin
How to Install Ruby on Rails with Instant Rails and Create a Website Using JEdit and the Ruby Plugin
This site was made with Datapod.