Michael,
I’am posting my XML file and query again as follows:
Object-Oriented XML
Kurt Cagle
Rene Dubois
Programming SVG
Kurt Cagle
Early Adopter XQuery
Dan Maharry
Kurt Cagle
Rogerio Saran
Mark Fussel
Nalleli Lopez
and depending upon this file I want to run this query
{
LET $books := document(“data/books.xml”)//book
FOR $book IN $books
LET $chapters := document($book/@href)//chapter
RETURN
{$book/title}
{
FOR $chapter IN $chapters
RETURN
{$chapter/title}
}
}
Now I guess it should take href value (XML file) and try to collect chapter nodes of them.
Is it not possible to get all href value (xml files) from this query?
I’m getting following error
books.xml and oopXML.xml are both in same directory i.e data
#Tamino#webMethods#API-Management