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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
- Stylus Studio Technical Forum (14621)
-> + Complex transactional CSV mapp... (2)
-> + XML Report (2)
-> - Create an XML feed for videos (1)
-> + word doc (2)
-> + Saving to a UNC path (7)
-> + sharing violation (3)
-> + Convert XML to XML (6)
-> + DBF converter with the Cyrilli... (3)
-> + Stylus Studio caching document... (3)
-> + Stylus Studio Online help inst... (9)
-> + specific colors (2)
-> + Formatting problems when creat... (2)
-> - Headers and Footers (1)
-> - XML output's a URL in Browser ... (2)
-> ->XML output's a URL in Bro...
-> + Generating Java Code for XML (3)
-> + format dates in publisher (2)
-> + grouping in Stylus Studio Publ... (5)
-> + Can schema documentation title... (3)
-> + Stylus can not find the right ... (2)
-> + Problem to create Schema from ... (5)
-- Previous [301-320] [321-340] [341-360] Next
+ Website Feedback (249)
+ XSLT Help and Discussion (7625)
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
Andy JohnsonSubject: XML output's a URL in Browser Problem
Author: Andy Johnson
Date: 05 Mar 2012 07:46 AM
Hi,

Fairly new to XML, so i thought i would take a look at Stylus studio. I am having a problem creating clickable results. So for example my output would be a priceboard and then for the user to click the data on the priceboard and they are then redirected to a bespoke page for that output as such.

<?xml version="1.0" encoding="utf-8"?>
<PriceBoard>
<column>
<Deal Name="locationa" Price="0.01">
</Deal>
<Deal Name="locationb" Price="0.02">
</Deal>
</column>
</PriceBoard>

Outputs as:

Locationa 0.01
locationb 0.02

I need both the location and price to be a URL and upon clicking it redirects to another webpage.

Could anybody give me some assistance please?

Posttop
Ivan PedruzziSubject: XML output's a URL in Browser Problem
Author: Ivan Pedruzzi
Date: 07 Mar 2012 02:39 PM

Hi Andy,

Converting XML to HTML is a very common task and you can find a large literature on the web.

For the scope of this post, we can simply show you a tiny XSLT transformation that takes your sample XML and generates a HTML page with two hyper-links for each deal; we hope it will be a source of inspiration

Ivan Pedruzzi
Stylus Studio Team


Documentandy.johnsoncabfind.com.zip

   
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.