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

RE: how to access values of dropdown list created in .

Subject: RE: how to access values of dropdown list created in .html file with Saxon
From: "bryan" <bry@xxxxxxxxxx>
Date: Sun, 19 May 2002 16:56:52 +0200
access drop down list
>When using Saxon to create an output.html file  with a dropdown list
>list (result below), how can the values of the dropdown list be
accessed
>through code?

><?xml version="1.0" encoding="utf-8"?><SELECT
>xmlns:saxon="http://icl.com/saxon"
>name="paglassociates/pagl/state"><out><distinct-states>:


><OPTION>CA</OPTION><OPTION>CT</OPTION><OPTION>ID</OPTION><OPTION>IL
></OPTION><OPTION>MT</OPTION><OPTION>NJ</OPTION><OPTION>NY</OPTION><OPTI
ON>WA</OPTION></distinct-states></out></SELECT>


If you mean how would you access this via xsl-t then Saxon has an
extension attribute saxon:next-in-chain which you can put on your
xsl:output element, like so <xsl:output method="xml"
saxon:next-in-chain="second.xsl"/> this takes the output of your first
transformation and applies the second.xsl to it before sending the
result to the file designated as the result.
If you mean how do you access a dropdown list with javascript that
sounds like a question for a javascript list, in newer browsers you
would give the select an id and try getElementById() I assume.
If you mean how do you generate a javascript that allows you to work
with your dropdown then get a copy of the script you want to generate
and post it with the dropdown list and ask again. 



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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.