Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Easy Schema Question About Naming Convention

Reply
Thread Tools

Easy Schema Question About Naming Convention

 
 
needin4mation@gmail.com
Guest
Posts: n/a
 
      06-15-2005
Hi, consider:

<?xml version="1.0"?>
<xs:schema xmlnss="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.w3schools.com"
xmlns="http://www.w3schools.com"
elementFormDefault="qualified"><xs:element name="note">
<xs:complexType>
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element></xs:schema>

Is the "xs" and arbitrary name "<xs:schema..."? Could "xs" in the
second line be changed to anything as long as the rest of the xs
references are changed to reflect it? Thank you.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
while executing my client program i get the exception javax.naming.LinkException: [Root exception is javax.naming.LinkException: [Root exception is javax.naming.NameNotFoundException: remaining if plz anybody know how to solve this problem then mahesh Java 0 03-08-2007 12:26 PM
w3c Schema naming patterns and template-based schema generation Steve Jorgensen XML 0 08-09-2005 08:05 AM
WS C3550 naming convention question frishack@gmail.com Cisco 2 02-23-2005 07:29 PM
simple naming convention question Song Yun Zhao C++ 5 12-18-2003 03:15 PM
Question regarding naming convention michael Python 6 07-03-2003 02:58 AM



Advertisments