BizTalk Server Orchestration - Map problem

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > February 2006 > Map problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Map problem
Latinneo

2006-02-21, 5:51 pm

Hello!

I have a source document which looks like follows:

<root>
<elements>
<element>
<type>A</type>
<code>1</code>
</element>
<element>
<type>B</type>
<code>2</code>
</element>
<element>
<type>A</type>
<code>3</code>
</element>
<element>
<type>A</type>
<code>4</code>
</element>
</elements>
</root>

....and want to get a destination document like:

<root>
<elements>
<codes>1, 3, 4</codes>
</elements>
</root>

The source can contain many "element", I wish to get a comma separated
list for element's <code> child
but only for those that meet a given condition (ie: type='A')

Any help will be greatly appreciated.

Thanks,
Latinneo

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com