|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] I want to embed XML src in HTML converted with MSXSL
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
|
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








