Support/FAQ

This is where the Frequently Asked Questions should be — if there were any. Of course I have prepared some for you, as is the custom with any FAQ:

I changed a value in the StyleSheet but I can't see the changes in the transform?
You're probably using the XSLTemplate, which utilize the Application object to cache the documents. To update the Application variables, call your ASP page like this: filename.asp?reloadprocessors=yes (just one single time) and your changes should be visible.
Do you use XMLObject() on this site?
But of course :-) That's why I can do things like linking into the Reference, highlighting the chosen item, or have all the pages reside in one XML file, like this one.
After using .saveXML() my file isn't updated — why?
There are two common reasons for this one to fail — 1: You haven't got Write Access permission to the directory you're trying to save to, or 2: You're not specifying the full path, which usually looks like this: D:\somedirectory\filename.xml. You can get this from the Server.MapPath() built-in ASP function, like this:
<%
	 var xmlFile = "/xmlfiles/yourfile.xml";
	 var oXML = new XMLObject(xmlFile);
	 ...
	 var fullPath = Server.MapPath(xmlFile);
	 oXML.saveXML(fullPath);
%>

Please send any questions or comments to xmlobject@greystate.dk.

History

(v2.8.5)
Separate caching of XML or XSL using bitflags. Bugfix when loading via HTTP and using caching. New optional argument for .appendToRoot(). New property .useXPath.
(v2.8.4)
Added support for ServerXMLHTTP when loading XML from URLs.
(v2.8.3)
Added a new constant: XMLOBJ_DEFAULT_VERSION and a new method: .appendToNode().
(v2.8.2)
Bugfix: Using .setVersion() worked, but would throw an error anyway. Additionally, version 4 PROGIDs were supported, but the "4.0" registered as "Not supported"...
(v2.8.1)
Bugfix: Using .replaceNode() in conjunction with the caching mechanisms threw an error about mixed threading models.
(v2.8)
Fixed some bugs with Version-Dependent ProgIDs, and loading via URLs. Added support for the MSXML4 Parser. Added the constants to the Reference section.
(v2.7)
New function: quickTransformXML, and a new constant: XMLOBJ_NO_ERRORS was added to the interface.
(v2.6)
Implemented .getNodeText().
(v2.6)
Fixed a bug with parameters that wasn't specified in the QueryString being transferred to the stylesheet as "undefined". Now only specified parameters are transferred, which allows for default values in the stylesheet.
(v2.5)
Implemented .removeNode() method.
(v2.5)
Uploaded the website.
(v2.5)
Implemented .saveXML(), .replaceNode() and .appendToRoot() methods. Removed interface description from xmlobject.asp.
(v2.2)
Implemented property .validateOnParse
(v2.1)
Refined handling of cached documents - if another page uses the same file, and sets the XMLOBJ_USE_XSLTEMPLATE flag, the XMLObject will look for a cached version before trying to load a fresh document.
(v2.0)
Reworked logic for the 3rd parameter of constructor to use bitflags. Enables use of XSLTemplate together with XMLOBJ_NO_TRANSFORM.
(v2.0)
Implemented .validate() method.
(v2.0)
Implemented access to .addParameter() and .addObject() in the XSLProcessor.
(v2.0)
Succeeded in implementing the XSLTemplate object INCLUDING parameters from QueryString being transferred to the XSLProcessor!!!
(v1.1)
Pieced the documentation together, which contains XML and XSLT - and they are using this object for showing...
(v1.0)
Moved interface functions inside constructor for better encapsulation.
(v1.0)
Fixed the seemingly incredibly buggy .xml + .xsl properties, as they hadn't really been implemented -:)
(v0.1)
Implemented the loading methods .loadXMLdoc() + .loadXSLdoc()
(v0.1)
First successful tests. Lots of minor bugtracking & -fixing.
(v0.1)
Project started. Interface layout. Coding.