Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: XSLT in ASP.net


Message #1 by "Deepa Das" <Deepa_Das@l...> on Fri, 12 Apr 2002 22:03:49
Hi,
   I've an xslt file, which has functions in which it acess the 
XSLDocument and XMLDocument.This xslt is working fine when I apply this 
directly on an XML file.But when I load the file on a WebPage and apply 
the transform thro' XSLTransform, it doesn't seem to recognise the XML or 
XSLDocument objects. How do I go about this?
Any help is appreciated.
Thanx,
Deepa
Here's the script
***************************************
<script type="text/javascript" language="JavaScript" >
<![CDATA[
function fSetDetail(TaskId)
{					   
 var b_Expand, s_Link, s_CurrentTask
 var XMLDocument = new ActiveXObject('MSXML2.DOMDocument');
 var XSLDocument = new ActiveXObject('MSXML2.DOMDocument');
 XMLDocument = (document.XMLDocument)
 XSLDocument = (document.XSLDocument)
 b_expand = XSLDocument.SelectSingleNode(.........

  Return to Index