|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: getting the filename
Hi Michael! Thank you for your fast response. But I unfortunately think that the problem isn't really solved with that. XML: .... <xform:xform> <xform:submitInfo target="processForm.asp" method="post" /> </xform:xform> ..... XSL: <xsl:template match="div"> <div> <xsl:param name="path" select="."/> <xsl:variable name="target" select="//xform:submitInfo/@target"/> <xsl:variable name="all" select="concat($target,'?',$path)"/> <form method="post"> <xsl:attribute name="action"> <xsl:value-of select="$all"/> </xsl:attribute> .... As you can see in the source above, I would like to send an additional paramter to an ASP page, which is called by pressing a "submit" button. And this paramteter should contain the name of the XML-file from which the XSL-Stylesheet is called. Thanks a lot, Roman -----Ursprüngliche Nachricht----- Von: Michael Kay [mailto:mhkay@xxxxxxxxxxxx] Gesendet: Donnerstag, 12. Juli 2001 10:44 An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Betreff: RE: getting the filename > I have a slight problem with my xsl-stylesheet. I have to store the > filename of my XML-file, which calls the xsl-stylesheet, in a variable > within my XSL-file. Is there a way to get that filename into my > variable? Yes, just pass it as a stylesheet parameter. Mike Kay Software AG XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > Roman Huditsch (RH ) > _____________________________________________________________________ > hico Informations- und Kommunikations-Management Gesellschaft m.b.H. > TechLab, Thomas A. Edison Straße 2. > A-7000 Eisenstadt / Austria > phone: +43/2682/704-61-00; fax: +43/2682/704-71-61-10 > e-mail:support@xxxxxxxx; r.huditsch@xxxxxxxx > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








