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

RE: XSLT (2) namespace safe i18n patterns

Subject: RE: XSLT (2) namespace safe i18n patterns
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 23 Nov 2009 14:59:26 -0000
RE:  XSLT (2) namespace safe i18n patterns
> It seems to us that adding attribute i18n, through 
> namespaces can be naturally logical, flexible, appropriate 
> for the task, and relatively simple. 

My immediate reaction is that this is a curious and rather unusual use of
namespaces, but it could be made to work.

> The only partly missing 
> piece is namespace and/or prefix safety, at matching time, in 
> the matching function, in XSLT.

I'm not sure I fully understand what you mean by "namespace and/or prefix
safety", but it seems to me that your design is over-reliant on namespace
prefix matching and that can't be right.

> Before we question XML's ability to be the universal 
> information language, can we still try to use XSLT to meet 
> these  "real world" 
> requirements?  Do you already think that it is impossible?

Of course it's possible. But I'm not sure that this particular way of doing
it is sound. You seem to be suggesting "My design is the only possible
design, and I can't make it work, therefore XML is deeply flawed." The fault
is in the premise...

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay 

Current Thread

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
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.