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

Re: xmlns in the root element prevents transformation

Subject: Re: xmlns in the root element prevents transformation
From: "Pieter Masereeuw pieter@xxxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 24 Jul 2020 10:34:41 -0000
Re:  xmlns in the root element prevents transformation
My experience is that namespaces are useful but far too often used 
without a real need. Some people seem to like complexity. I don't.

Unless you want to live by a prefix only, you only need namespaces when 
you mix several XML languages, such as in the case of XSLT and XSL-FO 
(where you can mix in foreign content, such as SVG).

In cases where I design my own simple XML, I avoid using them, to keep 
things simple.

By the way: living by prefix only may be theoretically unsound, but, as 
an example, if your root element is xsl:stylesheet, and if it is being 
processed by an XSLT processor, then for all practical purposes it's 
obvious what the prefix xsl means.

Pieter

On 7/24/20 12:07 PM, Mukul Gandhi gandhi.mukul@xxxxxxxxx wrote:
> On Fri, Jul 24, 2020 at 8:18 AM Debbie Lapeyre 
> dalapeyre@xxxxxxxxxxxxxxxx <mailto:dalapeyre@xxxxxxxxxxxxxxxx> 
> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx 
> <mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote:
>
>     Namespaces are a real problem.
>
>
> I personally, find XML namespaces functionality useful. At the moment, 
> the online downside I see for XML namespaces is, that sometimes they 
> appear verbose.
>
> We can also see, functional analogues of XML namespaces in the other 
> languages (like packages in java).
>
>
> -- 
> Regards,
> Mukul Gandhi
> XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/3208261> 
> (by email <>)

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.