xsl-list
[Top] [All Lists]

RE: XPath Problem.

2003-01-20 14:54:34
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(_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



<Prev in Thread] Current Thread [Next in Thread>