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 davisSubject: Using frames with XML/XSL
Author: john davis
Date: 30 Jan 2007 02:29 PM
I would like some help on the best way of acheiving the following: I am trying to create a html document with 2 frames that call a seperate XML file for each frame. I would like the top frame to have hyperlinks and when you click on the specific hyperlink, it will display the information in the main frame.

Example: I have many different CDs. The links on the top frame are "CD 1", "CD 2", "CD 3", etc. When you click on "CD 1" all the information for CD 1 is listed in the main frame.

My question is how do you sort the information when you click on the hyperlink in one XML to the data in the other XML file.

Here is my main XML file:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="vid.xsl"?>
<catalog>
<disc>
<file>
<label>AVI 1</label>
<name>lagulap2.mpg</name><size>6.11 MB</size>
<created>1/25/2007 9:10:39 AM</created>
<image01>c:\videocatalog\images\AVI 1\lagulap201.jpg</image01>
<image02>c:\videocatalog\images\AVI 1\lagulap202.jpg</image02>
<image03>c:\videocatalog\images\AVI 1\lagulap203.jpg</image03>
<image04>c:\videocatalog\images\AVI 1\lagulap204.jpg</image04>
<image05>c:\videocatalog\images\AVI 1\lagulap205.jpg</image05>
<image06>c:\videocatalog\images\AVI 1\lagulap206.jpg</image06>
</file>
<file>
<label>AVI 1</label>
<name>ronyoung.avi</name>
<size>5.45 MB</size>
<created>1/25/2007 9:15:40 AM</created>
<image01>c:\videocatalog\images\AVI 1\ronyoung01.jpg</image01>
<image02>c:\videocatalog\images\AVI 1\ronyoung02.jpg</image02>
<image03>c:\videocatalog\images\AVI 1\ronyoung03.jpg</image03>
<image04>c:\videocatalog\images\AVI 1\ronyoung04.jpg</image04>
<image05>c:\videocatalog\images\AVI 1\ronyoung05.jpg</image05>
<image06>c:\videocatalog\images\AVI 1\ronyoung06.jpg</image06>
</file>
<file>
</disc>
<disc>
<label>AVI 2</label>
<name>sc-comm.mpeg</name>
<size>4.56 MB</size>
<created>1/25/2007 9:12:39 AM</created>
<image01>c:\videocatalog\images\AVI 1\sc-comm01.jpg</image01>
<image02>c:\videocatalog\images\AVI 1\sc-comm02.jpg</image02>
<image03>c:\videocatalog\images\AVI 1\sc-comm03.jpg</image03>
<image04>c:\videocatalog\images\AVI 1\sc-comm04.jpg</image04>
<image05>c:\videocatalog\images\AVI 1\sc-comm05.jpg</image05>
<image06>c:\videocatalog\images\AVI 1\sc-comm06.jpg</image06>
</file>
</disc>
</catalog>

Posttop
Tony LavinioSubject: Using frames with XML/XSL
Author: Tony Lavinio
Date: 01 Feb 2007 08:54 AM
This is a general XSLT-related question, and appears to have
to do with browsers and not Stylus Studio. Try asking on a
browser-specific mailing list, or the general xsl-list email
list.

 
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.