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

Re: Types and Context

  • From: Jeni Tennison <mail@j...>
  • To: Jonathan Borden <jborden@m...>
  • Date: Wed, 23 May 2001 10:45:19 +0100

Re: Types and Context
Hi Jonathan,

> So this API we are looking for. I am suggesting that this API is a
> function "typeOf". This just another way of viewing the "PSVI" yet
> using the "1.0" generation of tools that are widely deployed (we
> just need to do a bit of tweaking).

I think I finally get what you're saying:

As I understood it, the PSVI approach is to process the instance XML
once, assign types to everything, then make those types available to
the application (e.g. XSLT) through some API. Here, the schema is
viewed as another link in the processing chain. (I think this seemed
natural to me because it's the way that the DTD is used by XSLT/XPath
- defaulted attributes look just like attributes whose values have
been specified.)

You're advocating instead having the application work on the instance
XML and, where it needs to, checking whether a particular node
complies with a particular type definition with the schema. Here, the
schema is viewed as another resource about the XML instance that can
be accessed if and as required.

Am I interpreting you correctly?

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.