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

How to style an XSD schema using a stylesheet?

Subject: How to style an XSD schema using a stylesheet?
From: "Mila Mitra [pmitra@xxxxxxxxxxxxxxxxx]" <pmitra@xxxxxxxxxxxxxxxxx>
Date: Fri, 23 Jan 2004 18:06:22 -0600
mila mitra
Hello,
   I have a XSD schema which is a pretty standard one which gives the
reuirements of a certain kind of document. The issue is that we would
like these also to be styled so a user can use a browser to see what are
the required fields etc. I am not sure what is the correct way to
reference a stylesheet in the xsd header? Would it be the same way that
it is done for an XML document?

I know the way I would reference an XSL stylesheet (extract.xsl) in an
XML document would be something like:
<?xml version="1/0" encoding="ISO..">
<?xml-stylesheet type="text.xsl href="extract.xsl">

Thanks in advance,
Mila Mitra
pmitra@xxxxxxxxxxxxxxxxx
----------------------------------------------

Example XSD schema doc:
<xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema
xmlns:xdb="http://xmlns.oracle.com/xdb">

<xs:element name="FIXES" xdb:defaultTable="FIX_TAB">

<xs:complexType>
<xs:sequence>
<xs:element name="RECORD">
<xs:complexType>
<xs:sequence>
<xs:element name="Spherical_X" type="xs:float" />
<xs:element name="Spherical_Y" type="xs:float" />
<xs:element name="Spherical_Z" type="xs:float" />
<xs:element name="Fix_ID" type="xs:string" />
<xs:element name="ICAO_Code" type="xs:string" />
<xs:element name="High_Power_VOR" type="xs:string" />
<xs:element name="Fix_Label" type="xs:string" />
<xs:element name="Fix_Type" type="xs:string" />
<xs:element name="Locally_defined" type="xs:string" />
<xs:element name="Magnetic_Declination" type="xs:float" />
<xs:element name="Inside_US" type="xs:string" />
<xs:element name="Host_Adapted_Fix" type="xs:string" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema> 
-- 
Mila (Patralekha) Mitra	               pmitra@xxxxxxxxxxxxxxxxx

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
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-2013 All Rights Reserved.