I am sorry guys my fault, I was trying all that in FireFox, thats why I was getting the error message.
I got it right in IE.
Thanx a lot tsuji, you always give valuable information.
this works fine
<html>
<head>
<title>Test MSXML Install</title>
<head>
<body>
<script language="JScript" type="text/javascript">
try {
var strXML = "<?xml version='1.0' ?><AnyElement>Sometext</AnyElement>"
var objXMLDOM = new ActiveXObject ( "Msxml2.DOMDocument.3.0" )...
why do we need 2 backslashes when loading a document.
<html>
<head>
<title>MSXML load example</title>
<script>
function showXML() {
alert("The document element of the document is named : \n" +
objXMLDOM.documentElement.nodeName);
}
</script>
<head>...
when I search for msxml3.dll in the files and folders, the search results show that I have msxml3.dll installed on the machine.
but when I type the following code in notepad I get an error message(the catch part of the code is displayed)
1. can anybody tell me why
2. and on this line
var...
I am a newbee of .net. I am trying to learn XML from the book "BeginningXML3rdEdition" WROX, The chapter on SAX in the book has been explained with Java as the programming language. I dont want to indulge in Java as well as C#/VB. Can someone learn SAX without Java or rather, with C#or VB, if...
Sorry guys, I got to know my mistake.I was saving the files as xquery but they were being saved as xquery.txt, but when I chose AllFiles instead of .txt, the files were saved as xquery and everything is working fine now.
This is the file path I have to give in the command line
C:/Documents and Settings/admin/My Documents/saxon7-8
followed by the command java -jar saxon7.jar.........
All the files have to be stored in the file saxon7-8 for them to work.
But I want to store the files in the directory...
While using saxon7.8 and xQuery, I created a xml source doc by the name of SimpleBooks.xml and then to run the query(from the command line) I created a file SimpleBooks.xquery which contains the following one line code
doc("SimpleBooks.xml")/Books/Book
The saxon processor gives an error...
The book says
"If you want to be able to run saxon7.jar from ant directory you will need to add the file, giving its full path, to your CLASSPATH environment."
I did exactly as told, and now when you go to system properties->advanced->Environment Variables, you can see the classpath...
The book(wrox beginning XML 3rd edition) says type "java -jar saxon7.jar" and the processor would show an error message, and it would mean that the xslt processor is working.If it says a bad command, something wrong somewhere.And I am getting the bad command.
If I dont get the xslt processor...
I have downloaded the saxon XSLT processor saxon8.8j[1]
path(C:\Documents and Settings\admin\saxonb8-8j[1])
I have checked for java and yes I have java installed on the computer.
As the book has advised I went to the system properties and in classpath I added the above path in Variable value...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.