ASP and ASP.NET with XML and XSL

G

Guest

Hi can some one tell me if it is possible to pull a value into an xsl file from an aspx file??

What I'm trying to do is get a value I have calculated in an asp file into an xsl file however I'm not sure how to get the value into the xsl file. Is it possible in ASP.NET and if so how??

E.G

AS
<%@Language="VBScript"%><
'Load XM
set xml = Server.CreateObject("Microsoft.XMLDOM"
xml.async = fals
xml.load(Server.MapPath("ProjectTEST.xml")

'Load XS
set xsl = Server.CreateObject("Microsoft.XMLDOM"
xsl.async = fals
xsl.load(Server.MapPath("Task.xsl")

'Transform fil
Response.Write(xml.transformNode(xsl)

myValue = "Hello World

%

...::XSL::.

<TD id='item_1_0' class='Header3' align='center'><xsl:value-of select="*[local-name()='ID']"/></TD><TD id='item_1_1' class='NormalText' align='left' width='100%'><IMG src='../Images/pix.gif' width='16' height='18' border='0' align='left'/><xsl:value-of select="*[local-name()='Name']"/></TD><TD id='item_1_2' class='NormalText' align='center'>myValue</TD><TD id='item_1_3' class='NormalText' align='center'><xsl:value-of select="*[local-name()='Start']"/></TD

I would be really grateful for any advice you may have

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top