Subject: RE: [xsl] getting the filename From: "Roman Huditsch" <r.huditsch@xxxxxxxx> Date: Thu, 12 Jul 2001 11:53:05 +0200 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] getting the filename, Chris Bayes | Thread | [xsl] Beginner's question, J S Publications |
RE: [xsl] Transforming using Javasc, Chris Bayes | Date | RE: [xsl] cutting it short!, Khan, Amir |
Month |