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)
-> - Stylus Studio - Registrar en o... (1)
-> + Stylus Studio - Registrar en o... (2)
-> + Can a pipeline send a file by ... (2)
-> + After Updateing WIN10 to WIN11... (12)
-> + Where do I add the custom java... (3)
-> + Where is the Diagram tab? (5)
-> + Applying XSLT to Word DOCX/XML (2)
-> - CSV conversion via ConvertToXM... (1)
-> + Text symbols in SS not same as... (4)
-> + Exposing xquery as webservice ... (6)
-> + Syntax Identifier (2)
-> + Saving a Converted XML as an X... (5)
-> + Output document cannot be pars... (4)
-> - Archiving output from conversi... (1)
-> + EDIFACT guideline from Stylus ... (3)
-> + CSV file putting all the data ... (5)
-> + Can't install Home version 64b... (5)
-> + presale - Can I covers this sc... (5)
-> + Problem with UNB (5)
-> + Splitting EDIFACT files pipeli... (4)
-- [1-20] [21-40] [41-60] 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
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.