|
Subject: RE: Calling 'transformNode' inside xsl - problems From: Richard Lander <rlander@xxxxxxxxxxxxx> Date: Tue, 12 Sep 2000 11:01:27 -0700 |
Hello,
I see. You must try something like the following.
function element(path) {
var locpath= "/Schema/ElementType[@name='" + path + "']";
var d = document.XMLDocument.selectSingleNode(locpath);
document.all['body'].innerHTML =
d.transformNode(document.XSLDocument);
}
In my resultant HTML, I have something like:
<DIV id="body"></DIV>
That's where all my content goes, so whenenever I update
document.all['body'].innerHTML, everything that was previously in it
disappears ...
HTH,
Rich
-----Original Message-----
From: Krishnamurthy, Rama [mailto:RKrishnamurthy@xxxxxxxx]
Sent: Tuesday, September 12, 2000 8:12 AM
To: 'xsl-list@xxxxxxxxxxxxxxxx'
Subject: Calling 'transformNode' inside xsl - problems
Hi,
I'm doing a web page where the search results are carried across several
pages.
I have included all the 'HTML' inside the XSL file.
Everytime a page number is clicked the Javascript function(inside xsl) calls
for the
xmldoc.transformNode(xsldoc) method.
But instead of displaying the new page in a fresh screen the page is
appended below the old page.
What should I do?
Thanks in advance.
Rama.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: Calling 'transformNode' inside , Chris Bayes | Thread | RE: Calling 'transformNode' inside , Krishnamurthy, Rama |
| Re: printing using a different XSL, Jeni Tennison | Date | Re: Axis problem, Jeni Tennison |
| Month |