This question is totally related to the last question that i asked before and Mr.Gertone answered it correctly
it was about generating xml file by using xslt
but in this case using xquery language
basically it's about generating new xml file (same as output.xml) by using xquery language
all the files are the same as it was in the last question.
please have a look to the four uploaded files.
could someone please "preferring Gertone :=)" write queries to
generate the xml file output.xml
just in case i'm using the open source software Kawa system to execute the xq file
output.xml output-dtd.xml authors.xml artworks.xml