[Home] [By Thread] [By Date] [Recent Entries]

  • From: jayadeva@l... (Jayadeva Babu Gali)
  • To: "xml-dev@i..." <xml-dev@i...>
  • Date: Tue, 16 Feb 1999 17:57:11 +0530

hi all,

i am attaching two file  (    GetInfo.java   - servlet     and
xsl - file ) when i run the servlet from  MSIE5(beta). Its giving error
like .

both files in the same directory in my file system (c:/cnb/shop.xsl and
c:/cnb/GetInfo.java)

Access is denied. Line 3, Position 1
<shop>
^


expecting urs help...


regds.. jayadev

GetInfo.java

<?xml version="1.0"?>
<xsl:stylesheet
       xmlns:xsl="http://www.w3.org/TR/WD-xsl"
       xmlns="http://www.w3.org/TR/REC-html40"
       result-ns="">
<xsl:template match="/">
<title>On Line Shopping</title>
<h1 align="center" color="red">On Line Shopping</h1>
<h4 align="center">To make an instant purchase, click on desired item. </h4>
<table>
<xsl:for-each select="shop/item">
  <tr>
    <td>
        <h3>  <xsl:value-of select="code"/>   </h3>
    </td>
    <td>
        <h3>  <xsl:value-of select="name"/>   </h3>
    </td>
    <td>
        <h3>  <xsl:value-of select="price"/>   </h3>
    </td>
  </tr>
</xsl:for-each>   
</table>   
</xsl:template>
</xsl:stylesheet>




Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member