Attributes with Intent (and namespaces)

David Megginson david at
Wed Jul 8 13:13:14 BST 1998

Chris Maden writes:

 > I don't see a need for either of these.  XSL stylesheets shouldn't
 > need to be appreciably different from other XML documents.  In other
 > words, my stylesheet might have
 > <?xml version="1.0"?>
 > <?xml:namespace ns="" prefix="xsl"?>
 > <?xml:namespace ns="" prefix="html"?>
 > <xsl:rule pattern="html:p">
 >   <paragraph>
 >     <xsl:children/>
 >   </paragraph>
 > </xsl:rule>

This is neither explicitly forbidden nor explicitly supported in the
current namespaces draft -- the meaning of colons in attribute values
is undefined.

More generally, however, it might make sense to partition rules by
namespace, either in separate XSL specs or at least in separate
sections; the reason is that well-known namespaces will often come
with their own XSL specifications, and the author of a top-level XSL
spec should not have to duplicate that work.

All the best,


David Megginson                 david at

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at
Archived as:
To (un)subscribe, mailto:majordomo at the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at

More information about the Xml-dev mailing list