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

Re: Namespaces best practice in XML

Subject: Re: Namespaces best practice in XML
From: "Jon Gorman" <jonathan.gorman@xxxxxxxxx>
Date: Tue, 4 Apr 2006 09:35:51 -0500
Re:  Namespaces best practice in XML
On 4/4/06, tom tom <tomxsllist@xxxxxxxxxxx> wrote:
> Thats what I figured. The reason I ask is that I need this stylesheet to be
> as accessible to as many people as possible. Having to prefix all source
> elements in the XSLT when that prefix doesn't physically exist in the XML
> adds a level of complexity that non-namespace-savvy developers might find
> confusing.

True, but everyone has to learn sometime :).

> I guess my alternatives are to remove the namespace declaration from the
> source XML, use a version of HTML which doesn't require a namespace
> declaration or just deal with namespaces!

I've removed the namespace from the source documents in the past when
dealing with similar situations.  Of course, in all of these
sitautions I was usually involved in some way with a classroom
situation where I had non-techie classmates.  (One of the perks of
getting an library degree). It's not the best though since at some
point they will have to deal with it if they want to do some complex
(read cool) applications with xml/xslt.  (And once dealt with it's
pretty painless).

Honestly though, if it's other developers, once they know the basics
of XML I can't imagine namespaces taking that long to wrap their heads
around.  (Playing with xhtml and svg might be the way to go for some
quick examples.)

Jon Gorman

Current Thread


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