RE: [xsl] XPath Problem.

Subject: RE: [xsl] XPath Problem.
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Mon, 20 Jan 2003 16:01:08 -0500
Sandeep,

At 03:07 PM 1/20/2003, you wrote:
<xsl:variable name="TInfo-descendants" select="//TInfo"/>

For this, try


<xsl:variable name="TInfo-descendants" select=".//TInfo"/>

which will select TInfo descendants of the current node, not all TInfo elements in the document.

If my original sample code had this error, I do apologize!

Regards,
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
======================================================================


XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread