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

How to read Schema XSD in stylesheet XSL!

Subject: How to read Schema XSD in stylesheet XSL!
From: wiky <wiky_83@xxxxxxxxxxx>
Date: Wed, 28 Nov 2007 04:36:00 +0000
 How to read Schema XSD in stylesheet XSL!
Hi All,
I need urgent help on a task which is
1. to write a stylesheet XSL which will process a document XML: it will also
be given a schema XSD, which will be specified by a stylesheet parameter.

2. It will produce text output, which will either be the word yes or the
word no, depending whether the document conforms to the schema or not.

3. The schemata will be very simple: they will be built up from xsd:element,
xsd:complexType, xsd:sequence, and xsd:choice. There will be no text content,
no restriction types, and no attributes.

4. The stylesheet should work for any document and any schema made of the
above elements. Note that you can write the same schema in many alternative
forms (using named types and anonymous types), and your

stylesheet should work for all possible forms.


The probelm is I don't know how can i access NAMES of ELEMENTS and their
ATTRIBUTES from SCHEMA document using XSL. How to pass XSD as parameter in
XSL? How can I access XSD document using XS?.

Thanks for taking time and reading my message. I'll much appreciate any piece
of help.

Regards

_________________________________________________________________
Feel like a local wherever you go.
http://www.backofmyhand.com

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-2011 All Rights Reserved.