|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] XPath Issues in XQueryWei, Alice J. ajwei at indiana.eduSat Feb 16 08:49:16 PST 2008
Dear David:
Sorry, I thought you meant you want to see where the <seriesStmt> is located.
To answer your question on where the head elements are and its snippet, here it is:
<ad>
<head type="main">FREE POWERFUL MUSCLES FAST</head>
<head type="sub">FREE</head>
<p>Fantastic mew discoveries in the science of body-building. Our method will
add inches of powerful muscles to arms, chest, shoulders & legs.
Learn secrets on trimming the waist with ultra-modern
methods—fast! Results guaranteed!
</p>
<note>One of my favorites.</note>
</ad>
Hope this would help with the debugging.
Alice
======================================================
Alice Wei
MIS 2008
School of Library and Information Science
Indiana University Bloomington
http://x-query.com/mailman/listinfo/talk
________________________________________
From: David Carlisle [http://x-query.com/mailman/listinfo/talk]
Sent: Saturday, February 16, 2008 8:38 AM
To: Wei, Alice J.
Cc: http://x-query.com/mailman/listinfo/talk
Subject: Re: XPath Issues in XQuery
> I am wondering if offering information here on the actual hierarchy
> of my data would help.
better to supply a small (10 line or so) complete input file.
The snippet you posted gives no indication about the location of ad or
head elements, no information about any namespaces in effect or any one
of 1000 possible sources of error.
> Another question is, would I have to make adjustments to the let
> clause for $volume, $issue ad $journal?
you could delete them, they are not doing anything as far as i can see.
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






