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 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Mark MilnerSubject: displaying xsl as html
Author: Mark Milner
Date: 29 Mar 2006 06:22 AM
Originally Posted: 29 Mar 2006 06:18 AM
Hi I am a newbie and am missing something simple here. Having converted my xml using Stylus Studio and uploaded both the .xml and .xsl to my server, could someone tell me how to display the result as web page. The .xsl URL is http://www.gymshop.co.uk/weight.xsl Thanks

Posttop
Minollo I.Subject: displaying xsl as html
Author: Minollo I.
Date: 29 Mar 2006 08:43 AM
The easiest approach is to change your weight.xml document to include this line after the initial XML PI:
<?xml-stylesheet href="weight.xsl" type="text/xsl"?>

...then just loading http://www.gymshop.co.uk/weights.xml will apply the XSLT in the client's browser.

In alternative, you'll have to create a servlet or ASP page and manually code the execution of the XSLT using a processor of your choice.

Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 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.