Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > vbscript and xsl

Thread Tools

vbscript and xsl

Posts: n/a

I have a vbscript function and an xsl file and when the vbscript
function is ran it creats the xml value that the xsl file then
transforms. It was done by Sharepoint so I figure there must be a way
for writing this so it works in one file. Some way of running the
function then putting the xsl file to transform it and outputting the

I tried putting the xsl into an xsl editor, and then the function into
an xml editor enclosed in the
tags but no joy.

Any advice greatly appreciated.

Function GetContent(nod)
On Error Resume Next
'code removed for simplicity'
response.write "<Name>" & ..... & "</Name>"
End Function

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet version="1.0"
<xslutput method="xml" omit-xml-declaration="no" indent="yes"
encoding="utf-8" />
<xsl:template match="/">
<xsl:for-each select="Name">
<TD valign="top" align="left">
href='http://link/'><xsl:value-of select="."/></a></b>
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XSL Question tp xsl:for-each and xsl:variable XML 1 05-27-2005 09:25 PM
XSLT question related to <xsl:template> and <xsl:apply-templates> Vijay singh XML 1 11-04-2004 03:42 PM
vbscript and xsl kieran ASP General 3 08-20-2004 12:51 PM
Difference between xsl:param and xsl:variable? Karsten Weinert XML 3 07-05-2004 04:58 PM
Three question which is not yet answered clearly and correct so far !! challenging question in xsl and also in xsl fo Philip Meyer XML 0 11-30-2003 04:42 PM