Subject: Antwort: [xsl] How to replace the value for an attribute From: P.Vogt@xxxxxxxxxxxx Date: Tue, 29 May 2001 11:44:11 +0200 |
Also: <input type='hidden' name='id'> <xsl:attribute name="value"><xsl:value-of select="@id"/></xsl:attribute> </input> should work. Philipp -- Philipp Vogt Web-Entwickler/Programmierer/Member of visionLab mainwork information technology AG Tech Gate Vienna Donau-City-Strasse 1, 1220 Wien E-Mail: p.vogt@xxxxxxxxxxxx Tel: +43 1 333 48 58 - 93 Fax: +43 1 333 48 58 - 24 Mobil: +43 699 1 946 95 24 "Sri ni" <srini75@xxxxxxxxxxx> Gesendet von: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 29.05.2001 11:04 Bitte antworten an xsl-list An: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Kopie: Thema: [xsl] How to replace the value for an attribute Team, I have a xml file which is like this <Message id='10' value='one'/> i have a xsl file which has to take this value of this attribute id and to replace with it for an hidden value. <input type='hidden' name='id' value='<xsl:value-of select="@id"'/>> But i am getting a transform exception how shall i achieve the same??. I want to replace the value 10 in my hidden attribute ( note this is just an example i will this id in the fly ONLY). Can anyone please please help me out. Thanks Srini _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] How to replace the value , John R. Callahan | Thread | [xsl] how to replace an XML tag wit, Janning Vygen |
Re: [xsl] Passing Parameters to an , Paul Busse | Date | Re: [xsl] XML serializer implemente, Oliver Becker |
Month |