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

Re: transforming MRSS

Subject: Re: transforming MRSS
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Mon, 08 Aug 2011 09:18:29 +0100
Re:  transforming MRSS
I fail to find a working example for transforming XML where tags have a colon in their name... it's always only fragments of a solution which, of course, do not work...

1) is there any *complete* example that shows how to do it?

Where have you looked? I'm sure any book on XSLT is full of examples.


2) why does XSL have to be more complicated than (e.g.) simplexml_load_file() from PHP? With all this crazy, over-complicated namespace junk... (i mean xmlns:yaddayadda) that is broken or wrong in many feeds anyways... why not just access a tag named <media:group> with "media:group"?


It seems complicated primarily, I think, because there's a difference between the data model for namespaces and the surface syntax that you see in lexical XML. There are good reasons for these differences, though I would be the first to argue that the whole design of namespaces could have been done much better.

Michael Kay
Saxonica

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.