Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - REQ:What does this mean [Thread Next] Re: REQ:What does this meanTo: NULL Date: 4/10/2009 11:00:00 AM jtmspam@g... wrote:
> I ran across this in a xsl file do I have to use osxml?
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:osxml="osxml" version="1.0">
> What is OSXML? How does it differ from XML? Where do I download OSXML?
> This the first line from bootmgr.xsl.mui, do I have to use osxml?
> John
xmlns:osxml="osxml" is a namespace declaration that binds the prefix
'osxml' to the namespace name 'osxml'. In theory a namespace name should
be a URI (http://www.w3.org/TR/xml-names/#sec-namespaces) so choosing
'osxml' is not in line with that specification. But it does not do any
harm for parsing that document.
With such a namespace declaration you do not have to downlaod anything,
rather such a namespace declaration is put in there to qualify element
and/or attribute names in the XML document so look for e.g.
<xsl:template match="osxml:foo">
or
<osxml:foo>
in that document if you want to find uses of that prefix.
--
Martin Honnen
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
