[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to throw transformation to browser
Much of the answer depends on which dynamic web serving technology you use. If you are using IIS/ASP, for example, you can script creating of the appropriate MSXML COM objects and do the transformation that way. If you are interested, send me an email (don't forget to remove the ".nospam" and I can give you an example I've done in JavaScript. If you are using Apache and JavaServelets, then you need a different approach, but the essentials are the same: o Get an XML document o Get an XSLT document o Add any parameters o Feed them to an XSLT transformer o Send the transformer's output to the client -- Charles Knell cknell.nospam@xxxxxxxxxx - email ---- "Scott Purcell" <spurcell@xxxxxxxxxxxxx> wrote: > Hello, > I have a good xml file and a good xslt file. Up until today, we have > included a stylesheet reference in the xml to the xsl file and let > the browser combine them for display. (Works only in IE). > > I have been told to investigate combinining the two files (xml and > xsl) server side. I investigated some avenues and came up with Cocoon, > and Xalan. Are these the best ways to do this? Which is easiest to > implement. > > Also a coworker mentioned that we may possibly do a dom thing and build > the html dynamically? Does this make sense? > > Thanks > > 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
|