Subject: RE: [xsl] Extract First node From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Fri, 02 Sep 2005 16:53:00 -0400 |
<xsl:template match="/a"> <xsl:value-of select="(b/c[@type='pdf'])[1]" /> </xsl:template>
Prakash>> <xsl:value-of select="b[c[@type='pdf']][1]/c/text()"/>
Can you explain how b[c[@type='pdf']]work? I'm not familiar with that. Is it v2.0 syntax?
Cheers, 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] Extract First node, Mike Schinkel | Thread | RE: [xsl] Extract First node, omprakash . v |
[xsl] Terminate <xsl:for-each>, aaron apigo | Date | Re: [xsl] XSLT on the server side, Dimitre Novatchev |
Month |