|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: viewing details of selected item
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
|
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








