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

Re: Looking for an example of a name colliision

Re:  Looking for an example of a name colliision
[Bill de hÓra]

> Does anyone have an example of a collision that can only be solved,
> or even best be solved with XML Namespaces? A neccessary condition
> is ideal, but examples where namespace represents an optimal design
> decision will do. I'm asking for two reasons:
>   - in my work with XML I've never run across a collision problem
> that seemed to require namespaces. I wondering whether they're rare
> or whether the markup I dela with is unusual.

The one that leaps to my mind is using an xslt stylesheet to create another
xslt stylesheet.  You need to be able to distinguish the "template", etc.,
elements that are literals destined for the output, from the "template",
etc.  elements that are to be used by the stylesheet to do the
transformation.  Maybe that could be done without namespaces - now that I
bring it up, there will probably be a lot of solutions popping up (I can see
using special attributes to indicate whether something is intended to be a
literal result element or not), but it remains to be seen if any of them
would be reasonably usable.

I do not think that this is an odd, unimportant edge case.  I think it is a
very useful capability.


Tom P


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.
First Name
Last Name
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.