Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: Martin Honnen <Martin.Honnen@------>
To:
Date: 12/1/2007 1:29:00 PM
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/


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent