xsl-list
[Top] [All Lists]

RE: [xsl] Using XSL to create interactive web page from XML

2007-12-01 06:52:57
Using XSLT 2.0 is not required.  But if it will make resolving this problem any 
easier to accomplish, or for me to understand, I'm all for it.

-----Original Message-----
From: Martin Honnen [mailto:Martin(_dot_)Honnen(_at_)gmx(_dot_)de]
Sent: Saturday, December 01, 2007 8:28 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Using XSL to create interactive web page from XML

Furst, Tom wrote:

Using the following style sheet, I have managed to display the <text> element 
of the <symptom> element  exactly the way I want.  Now what I am trying to 
create is a link that will, when you click on the displayed <text> element, 
it will show a list of the corresponding corrective actions in an inline 
frame. I am unsure of:

1. How to ensure that each symptom is only linked to its associated 
<corrective-action-ref> elements.
2. What needs to be used as the "href" attribute for the HTML.


This is the simple stylesheet I have created so far:

<?xml version="1.0"?>
<xsl:stylesheet version="2.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

Are you really using XSLT 2.0 as the version attribute suggests? In that
case, to display stuff in an iframe, you could make use of
xsl:result-document to generate additional documents and then you just
need to make sure the links address the generated documents.


--

        Martin Honnen
        http://JavaScript.FAQTs.com/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--