RE: [xsl] XPath Problem.

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

At 04:22 PM 1/20/2003, you wrote:
When I start walking down that node-set the preceding::TInfo is the step I
am baffled with. I want to select unique TInfo nodes in the
"TInfo-descendant nodesets. But this step selects all the TInfo nodes from
the document as against the nodeset.

Does the central test read


<xsl:if test="@name = $preceding-TInfos/@name">

? Shouldn't it read

<xsl:if test="not(@name = $preceding-TInfos/@name)"/>

?

with that variable = //TInfo after all?

If still stuck, let me know off list ... my code doesn't come with guarantees (you get what you pay for ;-), but in this case I'm willing to bang on it some. I wouldn't want to lead you astray.

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


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



Current Thread