OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: Generating Drop Down HTML tags with XSL

[ Lists Home | Date Index | Thread Index ]
  • From: "Didier PH Martin" <martind@netfolder.com>
  • To: "'XML Dev'" <xml-dev@ic.ac.uk>, "Kieran O'Shea" <ksh@dretec.com>
  • Date: Wed, 19 Jan 2000 20:52:26 -0500

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@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@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@ic.ac.uk the message
unsubscribe xml-dev  (or)
unsubscribe xml-dev your-subscribed-email@your-subscribed-address

Please note: New list subscriptions now closed in preparation for transfer to OASIS.






 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS