|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Generating Drop Down HTML tags with XSL
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@n... 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@i... Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ or CD-ROM/ISBN 981-02-3594-1 Unsubscribe by posting to majordom@i... 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








