|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: the infoset is two infosets (or even three?) [was: Re: [xm
Paul Prescod wrote: > David Carlisle wrote: > > > > namespace-alias does work at the level of uri, it aliases any elements > > in one namespace to elements in another, whatever prefix is used on the > > elements (you get no control over the prefix that is actually used in > > the result) You use prefixes to specify the two uri, but that is the > > same as the uses of prefixes in Xpath expressions, the prefix is just a > > local reference to the namepsace uri, it is the uri that are used in all > > later processing. > > I think that Leigh was pointing out that it pretty much requires you to > have two prefixes for the same URI (especially the XSLT URI) which is > not allowed by Joe English's proposal. Actually, I don't think namespace-alias does introduce any insanity (at least in the strict technical sense :-). In the stylesheet, there are still two different namespace names bound to two different prefixes. xsl:namespace-alias just specifies an additional transform to be performed on output -- change the namespace name referenced by the stylesheet-prefix to the one referenced by the result-prefix. Identifying the namespace names by prefix instead of by URI does violate the "no QNames-in-content" rule, sort of, but none of the other Principles of Sanity. > If prefixes were taken out of the > mix entirely then the problem would go away. As you point out that is > really a syntactic, not semantic, change. --Joe English jenglish@f...
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








