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 (1172)
- Stylus Studio Technical Forum (14497)
-> + Stylus Studio X16 Professional... (2)
-> + Stylus Studio X16 Enterprise -... (4)
-> + Overly complicated formatting ... (2)
-> + java apparently running, canno... (4)
-> + Stylus on Citrix - unable to v... (6)
-> + XSLT and XPath Questions (New ... (13)
-> + EDIFACT D96A CONTRL XML schema (2)
-> + JDK dropdown box empty and Jav... (2)
-> + Replacing XSD files in Report (4)
-> + Cannot locate WYSIWIG tab on X... (3)
-> + EDI X12 xml schema with segmen... (2)
-> + Error Message (4)
-> + jvm disabled message keeps pop... (2)
-> + XTSE0620: An xsl:param element... (3)
-> + Fail in installing ďApache FOP... (5)
-> - Jenkins: about the path of bui... (1)
-> + problem with Stylus X15 XML RE... (2)
-> + Cannot remove a row into a tab... (6)
-> + prevent the meta data from bei... (3)
-> + Unable to auto detect JRE in X... (2)
-- [1-20] [21-40] [41-60] Next
+ Website Feedback (244)
+ XSLT Help and Discussion (7594)
+ XQuery Help and Discussion (1951)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
Topic  
Postnext
steven campbellSubject: hyperlink in xml
Author: steven campbell
Date: 14 Feb 2006 11:48 AM
I am an XML newbie, and am trying to do the following:

<?xml version="1.0"?>
<Bill_Validator>

<WMS_Mechanical link="http:\\www.wmsgamingME.com">
<Specifications link="http:\\www.wmsgamingspecs.com"/>
</WMS_Mechanical>

</Bill_Validator>

I will have 100's of documents for my final machine breakdown. Is this possible in XML? What version of your software is required, and any extra add-ons needed.

Thanks...

Steven
Sr. Systems Engineer
WMS Gaming, Inc.

Postnext
(Deleted User) Subject: hyperlink in xml
Author: (Deleted User)
Date: 14 Feb 2006 12:44 PM
Hi, Steven. You can certainly write hyperlinks in XML as you show in your sample -- it's well-formed XML -- but I'm not sure what your objective is.

Can you tell us more about what you're trying to accomplish?

David Foster
Stylus Studio Team

Postnext
steven campbellSubject: hyperlink in xml
Author: steven campbell
Date: 14 Feb 2006 12:53 PM
I am building a tree for a gaming machine, and like how XML allows the collapse/expand. When it expands I want the user to be able to press a subject and have a link go to the company intranet and get the correct document/spreadsheet. When I write the XML, the hyperlink does not work, it just shows up as text on the screen. How do I make it active?

<?xml version="1.0"?>
<Bill_Validator>

<WMS_Mechanical link="http:\\www.wmsgamingME.com">
<Specifications link="http:\\www.wmsgamingspecs.com"/>
</WMS_Mechanical>

</Bill_Validator>


Thanks...

Steven
Sr. Systems Engineer
WMS Gaming, Inc.


Postnext
(Deleted User) Subject: hyperlink in xml
Author: (Deleted User)
Date: 14 Feb 2006 01:20 PM
Hi, Steven. It sounds like you want to use the Stylus Studio product as the GUI front end to allow your users to access mechanicals and specification documents. If that's the case, you might want to create a simple XSLT Stylesheet using the WYSIWYG Editor.

1. Use the XML document (I've assumed it's similar to the snippet you provided) as the XSLT WYSIWYG source.

2. Drag the link nodes from the tree display onto the WYSIWYG canvas.

3. Change the text value (from "link" to whatever you require; I chose "Mechanicals" and "Specifications").

4. Format as required. (I chose a simple bulleted list.)

When you preview the XSLT, the Preview window displays the hyperlinks you created by dragging and dropping. The XSLT code created by Stylus Studio looks like this:

<?xml version='1.0' encoding='utf-8'?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>

<xsl:template match="/">
<html><head></head>
<body>
<ul>
<li value="0">
<a href="/Bill_Validator/WMS_Mechanical/@link">Mechanicals</a>
</li>
<li value="0">
<a href="/Bill_Validator/WMS_Mechanical/Specifications/@link">Specifications</a>
</li>
</ul>
</body>
</html>
</xsl:template>

</xsl:stylesheet>

You can learn more about the WYSIWYG Editor here:

http://www.stylusstudio.com/learn_xslt.html

Hope this helps.

David Foster
Stylus Studio Team

Posttop
steven campbellSubject: hyperlink in xml
Author: steven campbell
Date: 14 Feb 2006 01:25 PM
Thanks, will give it a try.

   
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.