Hi Folks:

I am new to XSLT and after reading some tutorials
wrote the following XML, XSL documents. 

However, I haven't had any luck getting this to work.
Please find .xml, .xsl and .log file attached.

My Environment is
[Windows NT 4.0 SP6][SUN JDK 1.3.1][Xalan 2.1.0]

I will appreciate any inputs to resolve this issue.
Thanks for your time.

regards
Tom.

__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com
<?xml version="1.0"?>

<n1>

    <n2 a1="n2a1value1">
        <n3>n3Value1</n3>
    </n2>

    <n2 a1="n2a1value2">
        <n3>n3Value2</n3>
    </n2>

    <n2 a1="n2a1value3">
        <n3>n3Value3</n3>
    </n2>

</n1>
<?xml version="1.0"?>

<xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    version="1.0"
>

<xsl:template match="/">

    <html>
        <body bgcolor="#ffffff">

        <xsl:for-each select="n2">
        <p>
            <xsl:value-of select="@a1"/>
        </p>
        </xsl:for-each>
        
        </body>
    </html>

</xsl:template>

</xsl:stylesheet>

Attachment: 03.log
Description: 03.log

Reply via email to