12-02-05 10:51 PM
Using Looping functiod, not table looping functiod.
For more infor, check this link:
http://msdn.microsoft.com/library/d...oncept_mjvl.asp
Ayron wrote:
> Greetings. I have a scenario where I need to combine different segments
> of an inbound document into a single loop of output nodes. For example,
> I need to convert the following document into the one below it.
>
> <root>
> <sectionA>
> <sectionB>
> <widget value="blue">ALPHA</widget>
> <widget value="green" />BRAVO</widget>
> </sectionB
> <sectionB>
> <widget value="yellow" />CHARLIE</widget>
> </sectionB>
> </sectionA>
> <section1>
> <section2>
> <thing value="magenta" />DELTA</thing>
> </section2>
> </section1>
> </root>
>
> <root>
> <output value="blue">ALPHA</output>
> <output value="green" />BRAVO</output>
> <output value="yellow" />CHARLIE</output>
> <output value="magenta" />DELTA</output>
> </root>
>
> The problem that I'm having is the scope link using a table looping
> functiod. I thought I could use two separate table looping functoids
> which would provide two different scopes: one scope on the "widget"
> element and the other on the "thing" element. But, this didn't seem to
> work. Any thoughts or suggestions?
>
> Thanks.
>
> -ak
[ Post a follow-up to this message ]
|