This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: a silly thought about populating a listbox (win application) via XSLT
- From: "Dion Houston" <dionh at microsoft dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 25 Apr 2002 12:13:54 -0700
- Subject: RE: [xsl] a silly thought about populating a listbox (win application) via XSLT
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@itnisk.com]
Sent: Thursday, April 25, 2002 11:55 AM
To: xsl-list@lists.mulberrytech.com
Subject: RE: [xsl] 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