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.4.0 : Friday, 17 January 2020 22:30:44 UTC