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

Re: xml:namespace


xml rename
Dave Pawson scripsit:

> I still haven't met a document that says 'why' AF's.
>   They do this or that for you.

They allow you to design documents that use your own element names,
attribute names, and (to a certain extent) structure, while still
making it possible to validate them against one or more so-called
meta-DTDs after running a highly restricted class of transformations
against them.  In this way, a standards-creating group can specify
a meta-DTD instead of a normal DTD (a meta-DTD has a few extensions
that normal DTDs don't allow), and if your document is transformable
into a version that validates against the meta-DTD, it can be
interoperable with very different-looking documents that also validate
against the meta-DTD.

The allowed transformations are:

1) to replace an element name with an attribute value, either specified
or defaulted;

2) to replace an element with its content (either children or character
content or neither);

3) to replace character content with the value of an attribute or
vice versa;

4) to rename attributes.

I'm doing this on the fly and probably omitting some details.
The details of the transformation can be specified with a PI.

-- 
John Cowan                                <jcowan@r...>     
http://www.reutershealth.com              http://www.ccil.org/~cowan
Yakka foob mog.  Grug pubbawup zink wattoom gazork.  Chumble spuzz.
    -- Calvin, giving Newton's First Law "in his own words"

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.