[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Expression in XPath


Subject: [xsl] Expression in XPath
From: Dariusz Borowski <d.borowski@xxxxxx>
Date: Thu, 02 Mar 2006 01:58:57 +0100

Hi!

Could anyone help me? I have this result:
========================================================
(mm)B-1: A eTSS Login
(mm)B-2: A eLogbook Viewer Login
(mm)B-3: A Rig Activity Entry (Req. # 6.2.2.1.1, 6.2.2.3.5, 3.5.1.1)
(mm)B-4: A Access tool from PC outside the firewall in SCTF
(mm)B-5: A eReport Login
(mm)B-6: A Privileged User  Login
========================================================

from this expression:
//office:body/office:text/table:table/table:table-row/table:table-cell/text:p
[starts-with(text(), '(mm)')]


But, I would like to get the following result with ONE Expression:
========================================================
B-1: A eTSS Login
B-2: A eLogbook Viewer Login
B-3: A Rig Activity Entry (Req. # 6.2.2.1.1, 6.2.2.3.5, 3.5.1.1)
B-4: A Access tool from PC outside the firewall in SCTF
B-5: A eReport Login
B-6: A Privileged User  Login
========================================================

I tried already something like this:
//office:body/office:text/table:table/table:table-row/table:table-cell/text:p
[substring(starts-with(text(), '(mm)'), 4)]

but it didn't work... :(

Thanks for any help!

Dariusz

______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


Current Thread