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

Re: Capitalism and XML (was RELAX NG Marketing)


other names for capitalism
"Bullard, Claude L (Len)" scripsit:
> 
> Some further questions:  say I have to design a 
> schema of some type and associate it to other 
> schemas based on it.  In other words, I would 
> have a schema of abstractions that the secondary 
> schema would make more substantial by derivation. 
> 
> 1. Is RNG up to that?  How?

Not if it's dynamic/transformational.  You can write RNG schemas
with wildcard names, but the extent to which you can handle unordered
element content with fully wildcarded names is very limited.

> 2. Would the AF NG be a way to get that done?

AF NG basically does what AF does, but with an external configuration
file rather than attributes defaulted in from the DTD.  It can:

	statically map an element name to a different name;
	dynamically map an element name to a different name
		held in a specific attribute of that element;
	rewrite attribute names;
	rewrite tokens in attribute values;
	convert simple content into the value of an attribute;
	leave out child elements or replace them with their content;
	leave out character content;

AFAIK the only other thing AF can do is turn an attribute value into
character content, which IMHO is not necessary.

> I've drafted such a thing using XML Schema for 
> the HumanML project.  We are about to finalize 
> requirements and have picked XML Schema as well 
> as RDF.  But you are right that XML Schema is 
> not easy and I have a queasy feeling that our 
> target user groups for HumanML will have a hard 
> Should we reconsider and 
> if so, should we simply include RELAX NG along 
> with XML Schema, or perhaps use it?

I would have to see details, but I think using RNG for the
base schema would make a lot of sense.

-- 
John Cowan <jcowan@r...>     http://www.reutershealth.com
I amar prestar aen, han mathon ne nen,    http://www.ccil.org/~cowan
han mathon ne chae, a han noston ne 'wilith.  --Galadriel, _LOTR:FOTR_

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.