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

XSL/Transform vs WD-xsl

Subject: XSL/Transform vs WD-xsl
From: Karlo <pcaspian@xxxxxxxxxxx>
Date: Mon, 03 Sep 2001 09:43:47 +0100
wd xsl
http://www.w3.org/1999/XSL/Transform
http://www.w3.org/TR/WD-xsl

Hi, I realise this is not all that much on the list topic, but I need to be using 'TR/WD-xsl'

I need a user to connect to an XML file, but I want to obviously display it with XSL. There is no XSLT conversion just '<?xml-stylesheet type = "text/xsl" href="showpools.xsl"?>' in the xml file.

Now, I need a general web user to be able to access the xsl file, but he/she wont neccesarily be able to use the "http://www.w3.org/1999/XSL/Transform", so I have to make use of "http://www.w3.org/TR/WD-xsl".

I got rid of my 'count()' and 'position()' functions, to solve my original problems.
My only problem now lies in the following. I am using Javascript which is embedded in my XSL file with


<script language="Javascript"><![CDATA[ //all javascript

        function myAlert() {
                while(i < 3)
                {
                window.alert("hi");
                }

        }
 ]]></script>

* My problem lies with the while(i < 3){} statement. I think it lies in the "<" sign, same with a ">" and "!" sign.

I dont understand why though. If I use"http://www.w3.org/1999/XSL/Transform" all works fine, but when I use "http://www.w3.org/TR/WD-xsl" I get errors with the "<" sign. I thought there wouldnt be a problem as I used "CDATA", but still no luck.

* Another point. Would I have the same problem if I converted the XML to HTML by using Javascript. I assume I would as this will be done at the client that wont be using the '1999/XSL/Transform'. Is this a commonly used way of displaying XML info, or is it better to just reference the XSL file ?

Thank you

Karlo


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



Current Thread
  • XSL/Transform vs WD-xsl
    • Karlo - Mon, 3 Sep 2001 04:52:03 -0400 (EDT) <=
      • <Possible follow-ups>
      • timw - Mon, 3 Sep 2001 20:03:48 -0400 (EDT)

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-2011 All Rights Reserved.