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

About the xmlns:xsl attribute

Subject: About the xmlns:xsl attribute
From: Herve Blondeau <herve.blondeau@xxxxxxxxxxxxx>
Date: Fri, 17 Mar 2000 16:22:12 +0100
xls attribute
Hi all

I'm new to XML, and I have a question that will certainly seem obvious
for the people of this list, but I couldn't find any clear enough
explanation for it.

My problem concerns the xsl:stylesheet declaration on top of XSL
documents, and more precisely the xmlns:xsl attribute..

I wrote a simple XML document and 2 XSL stylesheets, which are slightly
different :
- the first one containing : <xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- the second one containing : <xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl"
xmlns="http://www.w3.org/TR/REC-html40" result-ns="">
This is the only difference between the two stylesheets.

The aim is to get a HTML document as the result of the transformation.
To view it, I use 3 different methods :
- loading directly the XML document in IE5
- using Cocoon to process the document, and then sending the resulting
HTML document to the browser
- using Excelon Stylus

When I make the XML document refer to the first stylesheet, IE5 doesn't
process it correctly, so I get a weird display. But, if I make it refer
to the second stylesheet, it properly displays, so I get what I wanted.

With Cocoon or Excelon Stylus, it's the opposite : it's well processed
with the second stylesheet, but not with the first.

Could anyone explain to me the meaning and the different possible values
of the xmlns:xls attribute ? Is it related to the Microsoft XSL
conformance debate ? Is one of the values deprecated ? According to
Stylus error message, the values of the stylesheets refer to different
versions of XSL specification. What is the difference between these
versions ? Also, is there a syntax I can use that would make my document
display properly using any of the viewing methods I described ?

I visited many web sites related to XML, but I couldn't manage to find
the answer.

Thanks a lot for helping me,

Herve Blondeau


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.