[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Oracle XSQL and msxsl namespace
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|