Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XSLT Help and Discussion
»
select the first record with a condition
Topic
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
next
Subject:
select the first record with a condition
Author:
David Chan
Date:
09 Feb 2006 02:42 AM
Hi all,
How can I get the first record with status = "O" only
<LeveL1>
<LeveL2>
<LeveL3>
<REC><NO>1</NO><STATUS>O</STATUS>
<REC><NO>2</NO><STATUS>C</STATUS>
<REC><NO>3</NO><STATUS>O</STATUS>
</LEVEL3>
</LEVEL2>
</LEVEL1>
Regards
Dave
next
Subject:
select the first record with a condition
Author:
Minollo I.
Date:
09 Feb 2006 08:44 AM
Something like:
/Level1/Level2/Level3/REC[STATUS='O'][1]
Minollo
top
Subject:
select the first record with a condition
Author:
David Chan
Date:
09 Feb 2006 09:42 AM
Thanks that what i want
Topic Page
1
2
3
4
5
6
7
8
9
Prev Topic
Next Topic
Powered by
Stylus Studio
, the world's leading
XML IDE
for
XML
,
XSLT
,
XQuery
,
XML Schema
,
DTD
,
XPath
,
WSDL
,
XHTML
,
SQL/XML
, and
XML Mapping
!
Go to Conference:
Select Conference
Stylus Studio Feature Requests
Stylus Studio Technical Forum
Website Feedback
XSLT Help and Discussion
XQuery Help and Discussion
Stylus Studio FAQs
Stylus Studio Code Samples & Utilities
Stylus Studio Announcements
go
Log In Options
Username:
Password:
Site Map
|
Privacy Policy
|
Terms of Use
|
Trademarks
Stylus Scoop XML Newsletter:
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.