dynamische werte in string

ich stell mir das so vor, wie mit einer session!
ich will dass es mir anstatt input.xml das aktuelle xml file anhand der session lädt!

unten siehst du mein bisher 'statisches' asp...

--------------MEIN CODE--------------------
<%

strXSLPath="-xsl input.xsl"
strXMLPath="-xml input.xml"
strPDFPath="-pdf output.pdf"
strLogFile="anmeldung.log"

call xml2pdf(strXSLPath, strXMLPath, strPDFPath, strLogFile)

Function xml2pdf(strXSLPath, strXMLPath, strPDFPath, strLogFile)
Dim strCommand
strCommand = "MeinPfad\fop.bat " & strXSLPath & " " & strXMLPath & " " & strPDFPath
Set objShell = Server.CreateObject("wscript.shell")
xml2pdf = objShell.run("cmd.exe /C: " & strCommand & " > " & strLogFile,0,true)
Set objShell = nothing
End Function
%>
-------------------------------------------
 

Neue Beiträge

Zurück