Subject: Re: [xsl] Applying templates by selecting it From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Wed, 20 Jul 2005 11:34:38 -0400 |
Yeah cheers. In fact in my first sample version, I was using 'node' instead of 'a' for naming my template. But then I did realise that it would be more confusing due to the very function you mentioned (node()).
So in my email I changed the XML document from 'node' to 'a' but forgot to change the template as well.
<xsl:template match="*"> <xsl:apply-templates/> </xsl:template>
<xsl:template match="text()"> <xsl:value-of select="."/> </xsl:template>
Anyway, lots of bandwith usage for nothing... my fault :)
Cheers again, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx 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 ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Applying templates by sel, Sylvain Hellegouarch | Thread | Re: [xsl] Applying templates by sel, Sylvain Hellegouarch |
[xsl] New line after each extractio, Karl Koch | Date | Re: [xsl] New line after each extra, Mukul Gandhi |
Month |