Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Why am I not getting a value?

From: Martin Honnen <mahotrash@-----.-->
To: NULL
Date: 2/1/2005 5:20:00 PM

Ian wrote:


> Why don't I get the value of "windows" in my file?  My xml file is
> located in http://www.otima.ca/XML/auto.xml and the xslt file is
> http://www.otima.ca/XML/auto.xslt.

Can you explain in detail what you are trying and what fails?
If I load <http://www.otima.ca/XML/auto.xml> with IE 6 it seems it 
applies the stylesheet.

Netscape 7.2 clearly displays
   "An XSLT stylesheet does not have an XML mimetype"

See the Mozilla XSLT FAQ
   <http://www.mozilla.org/projects/xslt/faq.html>
about the content type/MIME type issue.

If you cannot change the server settings for .xslt files then name the 
style sheet something.xml, should make Mozilla happy and keep IE happy.

As for the XSLT stylesheet and its output I guess instead of
   <xsl:value-of select="/windows"/>
you want
   <xsl:value-of select="n:interior/n:windows"/>


-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/


transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent