|
Subject: Re: Problem instantiating XMLDOMDocument node within <xsl:scrip From: Guy_Murphy@xxxxxxxxxx Date: Tue, 13 Apr 1999 18:27:18 +0100 |
Hi.
You can create an instance of the XML parser within the browser (or IIS, or
Windows) scripting environment, but obviously from the problems you are
encountering, you cannot do so from withing the parser scripting
environment. Basically you can't seem to create and instance of the parser
within an instance of the parser.
You might look to offload these kinds of operations to the useragent or the
server.
Cheers
Guy,
xsl-list@xxxxxxxxxxxxxxxx on 04/14/99 05:28:48 AM
To: xsl-list@xxxxxxxxxxxxxxxx
cc: (bcc: Guy Murphy/UK/MAID)
Subject: Problem instantiating XMLDOMDocument node within <xsl:scrip
Hello,
ENVIRONMENT
Browser :- MS IE5
DOM Implementation :- Specific to IE5
PROBLEM STATEMENT
I am trying to instantiate an XMLDOMDocument object
through an XSL template using a script call as follows
.
.
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:script language="JScript">
function WriteDocument()
{
objXMLDoc = new ActiveXObject("Microsoft.XMLDOM");
}
</xsl:script>
<xsl:template match="/">
<xsl:eval language="JScript">WriteDocument()</xsl:eval>
</xsl:template>
</xsl:stylesheet>
[SNIP]
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Problem instantiating XMLDOMDo, Didier PH Martin | Thread | About xsl:scripts, Didier PH Martin |
| Re: Building a new tree, Nantapon Chaimunkong | Date | Re: Grand Unification Theory (XSL/X, Duane Nickull |
| Month |