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

RE: Rethinking namespaces, attribute remapping (was Re:[xml-de


RE:  Rethinking namespaces
Hi Joe

Joe said:
I thought the intent was something like: someone developing
a new XML vocabulary wants to include HLink semantics,
so includes an HLink mapping along with the rest of
the vocabulary specification (schema, documentation, etc.)
Application developers who want to use the new vocabulary
consult the HLink mapping when building their own application.
Something like how WSDL works -- web service clients don't
download WSDL at runtime, the _developer_ does when _building_
the client.

Didier replies:
Then, how an XSLT processor will recognize the mapping? Can I write a
link style sheet and re-use it in different context with HLink? The XSLT
processor needs to know that an <object> element is mapped to a link (or
that its attributes are inheriting their characteristics from links
attributes). 

Can I have a template such as:

<template match="@href">
...
</template>

to be matched to an element'attribute if this attribute is a "src"
attribute mapped to an "href" attribute?

Now another question. If this require a remake of XSLT and if an XSLT
processor needs an external document to perform such processing, then
why not use a single external document such as a DTD and include in it
architectural form declarations?

Out of the top of my hat, take it as a koan:
"There is a whole universe in a grain of sand, but this whole universe
is also part of a beach"


Cheers
Didier PH Martin


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.