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


> 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.)

It's also not robust, as I mentioned, for any document using a default
namespace (eg nearly all xhtml)

> But I am interested in how many other vocabularies are regularly used with more
> than one typical prefix.

I've seen mathml used with no prefix, or prefixes m, mml, mathml.

It's usually authored with no prefix, but mathml generated by xslt often
is prefixed since you need to declare a prefix for the mathml in the
stylesheet if you are querying mathml as well as generating it, and
also having a prefix helps (some forms of) integration into IE browser.


David


[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