XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Go to previous topicPrev TopicGo to next topicNext Topic
Cristian MandelliSubject: Xquery tag position
Author: Cristian Mandelli
Date: 22 Jan 2010 11:41 AM
Originally Posted: 22 Jan 2010 11:10 AM
Hi, I need some help with the following query:

The xml file is:

<!ELEMENT Dept (Floor+)>
<!ELEMENT Floor (Office+)>
<!ELEMENT Office (Person+)>
<!ATTLIST Office code ID #REQUIRED numPersonMax CDATA #IMPLIED >
<!ELEMENT Person (FName, LName, YearsOfService)>
<!ATTLIST Person code ID #REQUIRED >

I want to write the XQuery query asking for a list of PERSON, ordered by Name (Lname), with the indication, for each PERSON, of the floor of its office.

In particular I need help with the part about the indication of the floor of office..



Tony LavinioSubject: Xquery tag position
Author: Tony Lavinio
Date: 25 Jan 2010 02:11 PM
General XQuery questions are best addressed to the talk@x-query.com mailing list.

Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! 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!  

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
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.