Sign Up
Search
Options
search
Chat
Help
News
Log in
Not Logged in
Home
»
Boards
»
Stylus Studio Developer Network
»
XQuery Help and Discussion
»
Trivial XQUERY application question
Topic
Prev Topic
Next Topic
next
Subject:
Trivial XQUERY application question
Author:
Jack Tan
Date:
20 Oct 2005 02:34 PM
It is probably a very simple reason but I am failing when trying to extract the value of the the thrid node as described below.
let $test :=
<bag>
<a>1</a>
<a>2</a>
<a>3</a>
<a>4</a>
</bag>
return $test/@a[3]
Why it is not returning the value of the attribute?
Thanks for your comments.
Jack
top
Subject:
Trivial XQUERY application question
Author:
(Deleted User)
Date:
20 Oct 2005 04:04 PM
return $test/a[3]
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.