Subject: Re: [xsl] Looking for a concise way of specifying an conditional attribute in output From: Dave Pawson <davep@xxxxxxxxxxxxx> Date: Fri, 6 May 2011 07:40:54 +0100 |
On Thu, 5 May 2011 16:27:37 -0400 Brandon Ibach <brandon.ibach@xxxxxxxxxxxxxxxxxxx> wrote: > On this note, it seems to me that xsl:value-of is one of the most > misunderstood instructions for novices. For that matter, even more > experienced users seem to use it in places where xsl:apply-templates, > xsl:copy-of or, in XSLT 2.0, xsl:sequence might be better choices. > > I'd kind of like to see XSLT provide an alternative in the form of > allowing the "select" attribute on xsl:text with the same effect as on > xsl:value-of. How about renaming it to 'xsl:string-value-of' which might be more accurate? Lot more typing though -- regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Looking for a concise way, Michael Kay | Thread | Re: [xsl] Looking for a concise way, David Carlisle |
Re: [xsl] Looking for a concise way, Michael Kay | Date | Re: [xsl] Looking for a concise way, David Carlisle |
Month |