Re: Uncertainty on xml-dev

> Could the desired effect have been accomplished with two namespaces, or as
> many namespaces as you had local element names to cover?

Not easily, in that case the point is that I was writing an xsl
stylesheet so that I had to write all the output to some namespace
(/dev/null in the example) and then use the namespace alias feature
to switch that output to XSL in the output stream.

This means I can use literal result elements in which are not
confused with xsl instructions, but which are written out into the xsl
namespace on output. (but this seems to be getting way off topic for
this list?)

> You could have achieved the desired effect with just a
> prefix. 

No I couldn't: The mapping of the "alias" namespace to the namespace
it aliases is done by mapping namespace names not prefixes.

> Your local names didn't need a name for their space, just a
> prefix.  You demonstrated this by using a traditional garbage name,
> comparable to John Q. Public.

No the namespace name matters. (For example if I'd declared two
different prefixes for /dev/null they would _both_ have produced
elements that were aliased into the XSL namespace on output.

David

Received on Friday, 9 June 2000 17:17:05 UTC