[xquery-talk] XPath Issues in XQuery

Wei, Alice J. ajwei at indiana.edu
Sat 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:

<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!
<note>One of my favorites.</note>

Hope this would help with the debugging.

Alice Wei
MIS 2008
School of Library and Information Science
Indiana University Bloomington
ajwei at indiana.edu
From: David Carlisle [davidc at nag.co.uk]
Sent: Saturday, February 16, 2008 8:38 AM
To: Wei, Alice J.
Cc: talk at x-query.com
Subject: Re: [xquery-talk] 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.


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.

More information about the talk mailing list