How to pass parmeter in xslt
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   abuhamza_Z
Posted On:   Saturday, March 22, 2003 01:13 PM

I want to use xsl:param in my xslt file and pass parameter at run time , I apply that xslt through java script Here the example //Define xsl object XSLDocument3 = new ActiveXObject('MSXML2.DOMDocument.3.0'); XSLDocument3.validateOnParse = true ; XSLDocument3.load('BillSummaryView.xsl'); if (XSLDocument3.parseError.errorCode != 0){ HTMLtarget.innerHTML = "ERROR!" } //Apply xslt on my xml file HTMLtarget.innerHTML = XMLDocument.transformNode(XSLDocument3); I would like to know how can I pass ? Abh    More>>

I want to use xsl:param in my xslt file and pass parameter at run time , I apply that xslt through java script

Here the example


//Define xsl object


XSLDocument3 = new ActiveXObject('MSXML2.DOMDocument.3.0');


XSLDocument3.validateOnParse = true ;


XSLDocument3.load('BillSummaryView.xsl');


if (XSLDocument3.parseError.errorCode != 0){

HTMLtarget.innerHTML = "ERROR!"


}


//Apply xslt on my xml file


HTMLtarget.innerHTML = XMLDocument.transformNode(XSLDocument3);


I would like to know how can I pass ?


Abh

   <<Less

Re: How to pass parmeter in xslt

Posted By:   Roseanne_Zhang  
Posted On:   Saturday, March 22, 2003 01:44 PM

I did a google search, and think this link might help you:

http://www.4guysfromrolla.com/webtech/062001-1.shtml



We have a FAQ for exact the same question, but for java programmers:

http://www.jguru.com/faq/view.jsp?EID=1068527

About | Sitemap | Contact