[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: a silly thought about populating a listbox (win ap
Well, actually why not? As long as the combo box supports IDispatch you should be able to pass it as a parameter to the stylesheet, and have it directly modify it (although I haven't tried it). (this using MSXML of course). OK, I'm curious now... I'll try to give it a shot tonight... Dion -----Original Message----- From: Bryan Rasmussen [mailto:bry@xxxxxxxxxx] Sent: Thursday, April 25, 2002 11:55 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: RE: a silly thought about populating a listbox (win application) via XSLT >hi, just a stupid thought, i was wondering whether it is possible to write >a stylesheet that can pass the data from a xslt output directly into a >combobox of a windows application (i.e. populating the comboboxed through >stylesheets without using DOM or SAX)? i doubt it (i hope i am wrong in >this case) well you'd have to use one or the other to have xml documents to run xslt again, and to have xslt's to run against your xml, wouldn't you? but I suppose you could use transformNodeToObject(), http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/ htm/ xml_mth_sz_2jp0.asp and then iterate over the result to build your combo-box the same way you might normally iterate over a dom document to load a combo-box XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|