I want to embed XML src in HTML converted with MSXSL

Subject: I want to embed XML src in HTML converted with MSXSL
From: "浜田 伸一郎" <shinichiro.hamada@xxxxxxxxxxxxx>
Date: Tue, 19 Jan 1999 23:24:51 +0900
Hello. I am at a loss for a basic probrem.

I just started to study XSL with IEb2 recently. I want to use
scripts(especially javascript!) in MS-XSL with IEb2, so I tried a lot of
ways with refering MS Web page, but they don't go at all. Please give me a
simple sample, or reference URL.

Just for example, I append my simplified funny source at the end of this
mail. I referred MS Page:
http://www.microsoft.com/xml/xsl/reference/xslmethods.asp


Thank you in advance.
Regards.

** xml source **

<?xml version='1.0'?>
<?xml:stylesheet type="text/xsl" href="smp.xsl" ?>

<chapter>
  <title>intro</title>
</chapter>

<chapter>
  <title>conclusion</title>
</chapter>

** xsl source(smp.xsl) **

<?xml version="1.0"?>
<html xmlns:xsl="http://www.w3.org/TR/WD-xsl";>

<xsl:for-each select="chapter">
  <H2>
    Chapter <xsl:eval>formatIndex(childNumber(this), "I")</xsl:eval>:
	  <xsl:value-of select="title"/>
  </H2>
  <xsl:apply-templates />
</xsl:for-each>

</html>

--
Shinichiro HAMADA



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread