Generating Drop Down HTML tags with XSL
Didier PH Martin
martind at netfolder.com
Thu Jan 20 13:51:02 GMT 2000
Hi Kiera,
Kiera said:
Is there anyway of creating a dropdown html menu using XSL (Option,
Value). The Menu information will be stored
in the XML document calling this XSL stylesheet ?
Can Javascript in XSL access the html code it contains ?
Can JavaScript in XSL access the DOM object for the XML document
that calls it ?
Didier replies:
Yes you can if you create an XSLT style sheet that will transform the XML
document into HTML and this latter contains a script. You can use the XML
elements as data source for your script and have the script use the DOM. Be
cautious however since Netscape and Microsoft have different APIs.
Cheers
Didier PH Martin
----------------------------------------------
Email: martind at netfolder.com
Conferences: Web New York (http://www.mfweb.com)
Book to come soon: XML Pro published by Wrox Press
Products: http://www.netfolder.com
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1
Unsubscribe by posting to majordom at ic.ac.uk the message
unsubscribe xml-dev (or)
unsubscribe xml-dev your-subscribed-email at your-subscribed-address
Please note: New list subscriptions now closed in preparation for transfer to OASIS.
More information about the Xml-dev
mailing list