Re: [xsl] Client-side XSLT

Subject: Re: [xsl] Client-side XSLT
From: "Mark" <mark@xxxxxxxxxxxx>
Date: Sun, 25 Sep 2011 06:40:00 -0700
Martin,
Thank you very much for that information.
Mark
-----Original Message----- From: Martin Honnen
Sent: Sunday, September 25, 2011 3:57 AM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Client-side XSLT


Mark wrote:

I don't need all the code, I just need to understand - as you suggested
- how to position a Java Query or JavaScript call in place of what is
now the href, then how to execute an XSLT stylesheet in either of those
languages.

Right now, my content XML document contains the names of about 600 jpg
images; it will eventually contain the names of over 3000 jpg images
with associated text. A sample entry would be:

<Stamp>
<CatNumbers number="635"/>
<Value kc-value="3"/>
<Inscriptions czech="Pravda vC-tDzC-" eng="Truth Prevails"/>
</Stamp>

The excerpt I gave in the original email is from one of my indexing html
documents :

<a href="../aip/635.htm"> <img src="../cr/small/635.jpg" alt="stamp
image"/></a>

and was generated from that XML with an XSLT stylesheet, as was the
635.htm page referred to in the href.

Client-side you can run XSLT with browsers like Firefox, Opera, Safari and Chrome using the API described in https://developer.mozilla.org/en/Using_the_Mozilla_JavaScript_interface_to_XSL_Transformations With IE the XSLT processor you can use with JScript is MSXML 3 or 6, it has a different API, it is documented in http://msdn.microsoft.com/en-us/library/ms762773%28v=VS.85%29.aspx.


--


Martin Honnen --- MVP Data Platform Development
http://msmvps.com/blogs/martin_honnen/

Current Thread