[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

general problem

Subject: general problem
From: "Andrew Welch" <andrew@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Jan 2002 14:36:19 -0000
 general problem
Hi all,

Imagine I have a set of nodes like this:


I apply a stylesheet to the xml to output a table that displays certain
elements of each <a> such as:

  <td>b , c, d</td>

Say I want to include a button next to that row that, when clicked, opens a
window displaying -all- the elements for that <a>.

I can do this by calling a javascript function, passing the position of the
<a> node as a parameter, and using the DOM to extract the information I
want.  However, this currently relies on me hard-coding the name of the xml
file (xmlObj.load('xmlfile')) into the function, which then makes the
stylesheet useless for all but one xmlfile.

If you understand what Im asking ;) is there a better way of doing this?

Thanks to anyone on my wavelength, apolgies to everyone else




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.