Subject: Re: [xsl] Outputting literal and 'quoted' tags. From: David Carlisle <davidc@xxxxxxxxx> Date: Wed, 5 Dec 2001 13:11:12 GMT |
> But as long as I'm using <xsl:text disable-output-escaping="yes"> as > proposed earlier I'm OK, right? No, check the archives of this list (or a long discussion within the last few days) disable-output-escaping is _almost always_ the wrong thing to do. It is specified as being non portable and certainly you do not need it here. > Because I'll be doing stuff like > > <input type="checkbox" name="<xsl:value-of select="@id"/>" value="yes"<?php; if ($value == 'yes') { echo " checked"; } ?>> > > and other ugliness. You're allowed to say 'yech!' at this point, but so > far, it's been working great for me. 'yech!' I thought php had an xml friendly syntax these days that didn't require that you placed <? inside markup. If not and you want to produce this kind of text then it's better to use the text output method (as that is what you are doing) ratherthan trying to bend the html output method with d-o-e. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Outputting literal and 'q, Emiliano | Thread | Re: [xsl] Outputting literal and 'q, Emiliano |
Re: [xsl] Outputting literal and 'q, Emiliano | Date | Re: [xsl] Outputting literal and 'q, Emiliano |
Month |