|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Attributes with Intent (and namespaces)
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="http://www.w3.org/TR/REC-XSL" prefix="xsl"?>
> <?xml:namespace ns="http://www.w3.org/TR/REC-HTML4" 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
--
David Megginson david@m...
http://www.megginson.com/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)
|
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








