This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: viewing details of selected item
- To: xsl-list at mulberrytech dot com
- Subject: RE: viewing details of selected item
- From: Michael Hoffmann <m-hoffmann at ti dot com>
- Date: Wed, 08 Nov 2000 08:29:32 +0100
- Organization: Texas Instruments
- References: <DJEBIGFLNKIEINHMJEPHKENPCAAA.keith@brooksweb.com>
- Reply-To: xsl-list at mulberrytech dot com
is sth like that without using microsoft script and activex possible too
?
thx
michael
> Within the javascript function, you should have something like:
>
> function GetDetails(id) {
> ...
> XSLStylesheet = new ActiveXObject('Msxml2.XSLTemplate');
> XSLStylesheet.stylesheet = XSLTDOM;
> XSLTProcessor = XSLStylesheet.createProcessor();
>
> XSLTProcessor.input = XMLDOM;
> XSLTProcessor.addParameter('show', id);
> XSLTProcessor.transform();
> ...
> }
>
> <xsl:param name="show" />
>
> you might only apply templates to
> those with a matching ID:
>
> <xsl:apply-templates select="POC[@pocID = $show]" mode="details" />
>
> I hope that this helps:
>
> Cheers,
>
> Jeni
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list