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

How to use compiled stylesheet with Xalan/Servlet

Subject: How to use compiled stylesheet with Xalan/Servlet
From: Aidan Killian <aidan@xxxxxxxxxxxxxxxx>
Date: Mon, 22 May 2000 21:17:44 +0100
xalan servlet
Hi,

        I have managed to create a Servlet that uses Xalan to convert
XML to HTML using the supplied pattern but I would really like to use
compiled stylesheets (the equivalent of -LXCIN mystyle.lxc from the 
command line).

        I have scoured the docs without success; I have also tried the 
obvious (simplistic) approach of just using the compiled file but 
without success. Is the compiled stylesheet just a serialized DOM?

        Any advice greatly appreciated.

        On another (related) subject; has anybody had problems with 
the 'id()' function when the element with the required ID also has 
a 'type' attribute. Instead of getting the contents of the element
I am getting the value of the 'type' attribute. 

        (Deleting the type attribute clears up the problem; the bug 
does not happen with XT; when I tried to reproduce the problem with 
a 30 line document, with the intention of posting, it didn't happen.)

Regards,
        Aidan


 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.