XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
John TroiniSubject: Generate Resultant HTML from XML and XSL
Author: John Troini
Date: 28 Jul 2007 08:51 AM
Given stock.xml and its associated stock.xsl, how do I generate the resultant HTML without using the XSLT processor in IE?

Thank you.

Postnext
Jan VerhoekSubject: Generate Resultant HTML from XML and XSL
Author: Jan Verhoek
Date: 30 Jul 2007 04:16 AM
Choose Associate XML with XSLT-stylesheet from the XML-menu having stock.xml open.
Then in IE request: stock.xml and voila...

Postnext
John TroiniSubject: Generate Resultant HTML from XML and XSL
Author: John Troini
Date: 30 Jul 2007 12:35 PM
Thank you.

So I guess what you are saying is that SS leverages the XSLT processor in the browser versus replicating that functionality in the SS product?

Postnext
Tony LavinioSubject: Generate Resultant HTML from XML and XSL
Author: Tony Lavinio
Date: 30 Jul 2007 01:04 PM
No, Mr. Verhoek's advice is not the only way.

Within Stylus Studio, open the XSLT file. Choose the
Scenario Properties (the quickest way is to use the [...] button
in the toolbar).

There you can associate the XML with the XSLT.

Although if you load the XML with the XSL PI you can preview it
using a browser's XSLT engine, Stylus Studio includes it's own
engine, optimized for debugging, along with Saxon, and provides
access to several strains of Microsoft XSLT and also the built-in
Java XSLT engine (typically a version of Xerces-J).

Postnext
Ivan PedruzziSubject: Generate Resultant HTML from XML and XSL
Author: Ivan Pedruzzi
Date: 30 Jul 2007 01:04 PM

Hi John,

There are several way to invoke XSLT.


In Stylus Studio you can open a stylehseet and click the preview button. Stylus Studio allows to configure a variety of XSLT processors: Stylus built-in, Saxon 6/8, Java built-in, MSXML 3/4/6 and .NET built-in.

Stylus Studio also bundles a command line interface for it's own processor called StylusXslt.exe

Which processor is best for you really depends in which context you are deploying your transformations.


Hope this helps
Ivan Pedruzzi
Stylus Studio Team

Posttop
Jan VerhoekSubject: Generate Resultant HTML from XML and XSL
Author: Jan Verhoek
Date: 30 Jul 2007 01:09 PM
Well, there are many options working with XSLT. Browsers like IE and FF both support XSLT. Safari doesn't as far as I know. See their respective development sites for their support of it. And that's just their problem, you never know exactly if a users browser supports your XSLT site.
So, another way is transforming your XML with XSLT serverside and just output the HTML to the browser. SS supports various XSLT transformation processors to test your XSLT for every circumstance.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.