[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] AW: Passing XML in parameter for HREF in <xsl:attribut
You might want to try the following: <a> <xsl:attribute name="href"> myservlet?request=<xsl:value-of select="REQUEST/@id"/> <xsl:value-of select="REQUEST/COMMAND/@id"/> </xsl:attribute> LINKTEXT </a> Oh..and hello to everyoneone on the list, I am new here. -----Ursprüngliche Nachricht----- Von: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]Im Auftrag von Peter.FLYNN@xxxxxxxxxxxxxxxxx Gesendet: Donnerstag, 29. März 2001 12:10 An: XSL-List@xxxxxxxxxxxxxxxxxxxxxx Betreff: Passing XML in parameter for HREF in <xsl:attribute> If I had some XML as defined. <REQUEST id="12"> <COMMAND id="something"/> </REQUEST> I'm wanting to send simple XML via the URL in the HREF. e.g. <A HREF="myservlet?request=<REQUEST id="12"><COMMAND id="something"/></REQUEST>"></A> I've tried various techniques (using " etc) and the URL just isn't giving me the right output. To further add to the confusion, things such as the id and commands are retrieved from value-of. Has anyone else successfully passed XML via a parameter on the URL? Is it an unusual thing to do, as I've seen very little details on the Internet about this. Regards, Peter **************************************************************************** ** Check us out at http://www.syntegra.com *********************************************************************** XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list 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
|