XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] How to get XPath in a XSLT shylesheet

Michael Kay wrote:
> Existing elements will retain the prefix in the original document, the new
> element will have the prefix used by the stylesheet author. Once you get two
> sub-communities who prefer different prefixes (as with "xs" and "xsd")
> you're going to end up with documents that mix the two.
>   
Well, I don't expect many people use XSD to augment their XSDs, due to the
complication. But Michael is of course correct that the code is not 
robust (for
the maybe 0.0001% of documents that have multiple prefixes for the same
namespace in sibling elements.)

But I am interested in how many other vocabularies are regularly used 
with more
than one typical prefix. I guess html is the leading contender (no 
prefix in xhtml,
but prefix in other places).

Cheers
Rick


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS