[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Unprefixed namespace and XSL

Subject: Re: Unprefixed namespace and XSL
From: Geert Josten <Geert.Josten@xxxxxxxxxxx>
Date: Wed, 10 Nov 2004 12:00:54 +0100
xslt xpath default namespace
Jarno.Elovirta@xxxxxxxxx wrote:

Hi,


I've problems with viewing an XML file with XSL in an Internet Explorer. I've read the XPath 2.0 and XSLT standards, and I know that if I have


IE does not implement XPath 2.0 or XSLT 2.0. You have to use prefixes in expressions and patterns in XPath 1.0 and XSLT 1.0 if the elements are in a namespace.

Cheers,

Jarno

Yes, using prefixes in the XPath expression in your XSL should be sufficient. The xpath-default-namespace attributes won't work with MSXML and IE.


Note that defining a default namespace in the XSL also applies to all namespace-less literals you have in the stylesheet. So actually, the xhtml you are generating, is in the mireg namespace!

:-P

Grtz,
Geert

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.