xsl-list
[Top] [All Lists]

Re: [xsl] Substituting a template for value-of

2011-10-26 08:52:36
I just read the original post again..
- instead of xsl:value-of use xsl:apply-templates
I mis read it...

On 26 October 2011 14:49, Vasu Chakkera <vasucv(_at_)gmail(_dot_)com> wrote:
i was more worried of the other way round... i agree about the apply-templates

On 26 October 2011 14:23, Wendell Piez <wapiez(_at_)mulberrytech(_dot_)com> 
wrote:
Hi,

On 10/26/2011 2:28 AM, Vasu Chakkera wrote:
You will have to really know when the value-of can be used instead of
the xsl:apply-templates. This can not be done at all times.
Vasu

You also have to know when xsl:apply-templates can be used instead of
xsl:value-of. (It almost always can.)

Think of xsl:value-of as pushing your motorbike forward with your feet. It's
possible and sometimes useful, but it won't get you far. And your motorbike
has an engine.

Beginners are sometimes a bit scared of the engine, or they don't even think
of it (it is unfamiliar). So they use their feet. But learning XSLT is
learning to use the engine.

Cheers,
Wendell

--
======================================================================
Wendell Piez                           
 mailto:wapiez(_at_)mulberrytech(_dot_)com
Mulberry Technologies, Inc.                http://www.mulberrytech.com
17 West Jefferson Street                    Direct Phone: 301/315-9635
Suite 207                                          Phone: 301/315-9631
Rockville, MD  20850                                 Fax: 301/315-8285
----------------------------------------------------------------------
 Mulberry Technologies: A Consultancy Specializing in SGML and XML
======================================================================

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





--
Vasu Chakkera
NodeLogic Limited
Oxford
www.node-logic.com
==============




-- 
Vasu Chakkera
NodeLogic Limited
Oxford
www.node-logic.com
==============

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--