[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Why does this work in IE and not in VBscript?

Subject: Why does this work in IE and not in VBscript?
From: Maria Manuel <Maria.Manuel@xxxxxxxxxxxx>
Date: Mon, 10 Apr 2000 10:53:59 +0100
vbscript ie
I have this problem. When I display the following xml file using the
following xsl, everything works fine.

But when I load the same xml file using the same xsl from vbscript it
doesn't behave the way it was supposed to. I doesn´t display the html stuff.
It just shows things that are xsl. Following is my stylesheet, and the
vbscript function. 

Does anyone have any ideas why this happens?

Thanks!

<!--record.xsl-->
<xsl:stylesheet
 version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="/">
<html >
  <body>
  <p>
   <TABLE> 
   <xsl:for-each select="Field[@No='200']/Subfield[@No='a']">
     <tr>
     <TD>
     <b>Titulo: </b>
     <xsl:value-of select="."/>
     </TD>
     </tr>
   </xsl:for-each>
   
	</TABLE>
	</p>
    </body>
   </html>
  </xsl:template>
</xsl:stylesheet>

Function fnGetRegistoHTML(ByVal BibID)
  XMLItemDetDoc.async = false
  XMLItemDetDoc.load("xmlregisto.asp?" & BibID)
  XSLDoc.async = false
  XSLDoc.load("record.xsl")
  fnGetRegistoHTML =
XMLItemDetDoc.documentElement.transformNode(XSLDoc.documentElement)
End Function

Maria Manuel Rodrigues Teixeira
EFACEC Sistemas de Informação
maria.manuel@xxxxxxxxxxxx


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.