[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

[xmlschema-dev] <none>

From: Balakrishnan <balakrishnan@alden.co.in>
Date: Wed, 10 May 2006 19:33:23 +0530
To: <xmlschema-dev@w3.org>
Message-ID: <POEDIJKJMMMLAKHPKADCMEPMCCAA.balakrishnan@alden.co.in>
[xmlschema-dev] <none>
Dear All,

I am new to Schema. I have more questions, first one here.

How to declare the entities in the schema? Could you advice please.

eg. XML
<?xml version="1.0" encoding="utf-8" ?>
<root>
    <test>this is the test &copy; node</test>
</root>


eg. Schema
<xsd:schema version='1.0' 
 xmlns:xsd='http://www.w3.org/2001/XMLSchema'>
 <xsd:element name='root'> 
  <xsd:complexType>
   <xsd:sequence>
    <xsd:element name='test'/>    
   </xsd:sequence>   
  </xsd:complexType>
 </xsd:element>
</xsd:schema>

Many thanks
Bala
Received on Wednesday, 10 May 2006 18:28:20 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.