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

Re: Oracle XSQL and msxsl namespace

Subject: Re: Oracle XSQL and msxsl namespace
From: "Steve Muench" <Steve.Muench@xxxxxxxxxx>
Date: Mon, 11 Nov 2002 23:04:15 +0100
xsql bind params
There is one way, but it's kind of a trick. :-)

XSQL Pages supports the ability to defer the stylesheet processing
to the browser with the extra client="yes" pseudo-attribute
in the <?xml-stylesheet?> processing instruction.

So, for example, you can write an XSQL page like this:

<?xml-stylesheet type="text/xsl" media="MSIE 6" client="yes" href="iesheet.xsl"?>
<?xml-stylesheet type="text/xsl" href="regularsheet.xsl"?>
<page xmlns:xsql="urn:oracle-xsql" connection="demo">
  <xsql:query bind-params="cust low high">
    select customer_name, order_total
      from orders
     where customer_id = :cust
       and order_total between :low and :high
  </xsql:query>
</page>

And this will have the result of offloading the XSLT stylesheet
processing to the client browser if it's IE 6, otherwise will
do the stylesheet processing on the server.

In the IE 6 case, your client-side stylesheet can use MS extensions :-)

__________________________________________________________________
Steve Muench - Developer, Product Mgr, Java/XML Evangelist, Author
Simplify J2EE Development with the Oracle BC4J Framework
http://otn.oracle.com/products/jdev/htdocs/j2ee_bc4j.html
Building Oracle XML Apps, http://www.oreilly.com/catalog/orxmlapp
----- Original Message ----- 
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Monday, November 11, 2002 10:16 AM
Subject: RE:  Oracle XSQL and msxsl namespace


| > Is there any 
| > way I can use the ms extensions with oracle and the XSQLServlet?
| > 
| 
| No, vendor extensions are by definition non-portable.
| 
| Michael Kay
| Software AG
| home: Michael.H.Kay@xxxxxxxxxxxx
| work: Michael.Kay@xxxxxxxxxxxxxx 
| 
| 
|  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| 
| 


 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.