W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 2004

[www-amaya] <none>

From: Sunandan <sunandan@frontlinesoft.com>
Date: Wed, 23 Jun 2004 09:43:32 -0400 (EDT)
Message-ID: <000801c45927$630e61a0$1101a8c0@test>
To: <www-amaya@w3.org>
sir,

    Iam able to validate DTD for xml file using internet Explorer 5 by using Dom concept, using fallowing code

<html>
<body>
<script language="JavaScript">

var xmlDoc = new ActiveXObject("Microsoft.XMLDOM")
xmlDoc.async="false"
xmlDoc.validateOnParse="true"
xmlDoc.load("empxml.xml")

document.write("<br>Error Code: ")
document.write(xmlDoc.parseError.errorCode)
document.write("<br>Error Reason: ")
document.write(xmlDoc.parseError.reason)
document.write("<br>Error Line: ")
document.write(xmlDoc.parseError.line)

</script>
</body>
</html>

Is this possible in our Amaya browser.Any way to validate xml file using DTD in Amya browser
Received on Wednesday, 23 June 2004 11:51:55 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:29 UTC