xsl-list
[Top] [All Lists]

Use of Document Function to search in *.xml files

2002-11-13 06:35:08
Can xsl:document funtion take (e:\base\*.xml)as input?

-----Original Message-----
From: José Carlos Ramalho [mailto:jcr(_at_)di(_dot_)uminho(_dot_)pt]
Sent: Wednesday, November 13, 2002 05:26 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Eliminating duplicates while processing


Hi all, I am having the following problem:

I want to process a list of nodes that can appear at several different
points of the structure, and I ant to process them in a particular order.
This is easy to specify:

        for-each select="//node-name"
            sort select="criteria"

The problem is that I want to supress the node's processing if it is equal
to the one that precedes it in that order. How can I have access to the last
processed node while processing the current one?

TIA
jcr
----------------------------------------------------------------------------
---
José Carlos Ramalho                                   orienteer
Dep. Informática - U.Minho                          windsurfer
http://www.di.uminho.pt/~jcr                         engineer
+351 253 604479
----------------------------------------------------------------------------
-----



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

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



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