[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

Subject: AW: Passing XML in parameter for HREF in <xsl:attribute>
From: "Marcus Klinge" <klinge@xxxxxxxxxxxxxxx>
Date: Thu, 29 Mar 2001 12:40:43 +0200
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 &quot; 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.