Subject:FLWOR Author:Delwyn Hills Date:07 Jul 2004 08:21 AM
Hi,
I am trying to map 2 source documents to one xml schema.
The first doucment is order header data, the second holds order lines.
I think I need to use an instruction to group the header with the lines.
In the help files the FLWOR instruction looks like the one to use, however,
it doesn't seem to be available in Stylus Studio (5.3, 170g).
I would appreciate any suggestions as to how I should do this.
Subject:FLWOR Author:Minollo I. Date:13 Jul 2004 02:11 PM
...
>In the help files the FLWOR instruction looks like the one to use, however,
>it doesn't seem to be available in Stylus Studio (5.3, 170g).
I'm assuming you mean 179g.
Switch to the "Mapper" tab in the XQuery editor; right click on the canvas and select "FLWOR block". That seems to work fine for me.
If you would like to have more details about using FLWOR blocks to do joins of multiple documents using XQuery, you may want to take a look at: http://www.stylusstudio.com/learn_xquery.html