[xsl] few question regarding the use of id generation

Subject: [xsl] few question regarding the use of id generation
From: "林 子芯" <minikittygo@xxxxxxxxxxx>
Date: Tue, 05 Feb 2002 12:20:08 +0000
hi there:
i was wondering anyone could help me out on this question....

suppose i have such structures:-

<experiment>
<method>
<a>value1</a>
<b>value2</b>
<c>
  <d>vlaue</d>
  <e>value3</e>
</c>
<results>
<a>value1</a>
<b>value2</b>
<c>
  <d>vlaue</d>
  <e>value3</e>
</c>
</method>
...

Suppose i wish to generate an id for <c> in the results elemeny, i will have to use gerate-id(c), however i was wondering whether an same id will be generate in method/c (given that the value are the same). if not, is there a way to generate the same id for both of them?

secondly, i know i might sound pretty stupid but is there a function in xsl that could do similar operation as the following sql command?
select * from results where c="2";


Many thanks

Kit



_________________________________________________________________
使用全球最多人使用的電子郵件服務 MSN Hotmail,請移至 http://www.hotmail.com


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



Current Thread