[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Outputting literal and 'quoted' tags.

Subject: RE: Outputting literal and 'quoted' tags.
From: "Stuart Celarier" <stuart@xxxxxxxxxxx>
Date: Wed, 5 Dec 2001 09:52:39 -0800
RE:  Outputting literal and 'quoted' tags.
Emiliano,

Instead of writing

<input type="checkbox" name="{@id}" value="yes"<?php if ($value == 'yes')
{ echo " checked"; } ?>>

try this

<input type="checkbox" value="yes">
<xsl:attribute name="name"><xsl:value-of select="@id"/></xsl:attribute>
...
</input>

As for being a tyro (a beginner, more appropriate than the derogatory
'newbie'), I believe people don't get agitated by the question per se, but
with the informality and presumption of phrases like "I would expect". The
level of expectation should be set by specifications, documentation, and
books, not a gut feel. We occasionally like to pretend that we are engaged
in computer _science_. ;-) I appreciate the question (and the questions
behind the question) so I can understand where people have difficulties
learning the language. Good luck in your efforts.

Cheers,
Stuart, stuart@xxxxxxxxxxx, www.ferncrk.com


-----Original Message-----
[...] but I don't see how else I would achieve the wanted result of there
being

<input type="checkbox" name="{@id}" value="yes"<?php if ($value == 'yes')
{ echo " checked"; } ?>>

in the output (with {@id} replaced by its value of course). [...]


 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.