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.