Re: property iteration

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi!

This sample uses an orchestration to loop through elements.
http://objectsharp.com/blogs/matt/archive/2005/04/12/1703.aspx


Anders

"andrew" <andrew@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9559C8A6-170A-49F0-9FB7-C8994F1E4AE2@xxxxxxxxxxxxxxxx
I have a simple xml message that looks something like this:

<Root>
<Employee>
<EmployeeID>1</EmployeeID>
<JobsAssigned>10</JobsAssigned>
</Employee>
<Employee>
<EmployeeID>2</EmployeeID>
<JobsAssigned>5</JobsAssigned>
</Employee>
<Employee>
<EmployeeID>3</EmployeeID>
<JobsAssigned>8</JobsAssigned>
</Employee>
</Root>

I would like to iterate through each element and figure out which employee
has the lowest number for "JobsAssigned"... I can easily do this by having
BizTalk call a DotNet component... but I was wondering if there was a more
"BizTalk" way of iterating through properties/elements.


.



Relevant Pages

  • Re: property iteration
    ... I would like to iterate through each element and figure out which employee ... "BizTalk" way of iterating through properties/elements. ...
    (microsoft.public.biztalk.general)
  • Re: point in the right direction
    ... i have an excel file that contains employee information. ... there are numerous worksheets - one per employee. ... thru the workbook reading pieces of data by any chance? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Deserialize Business Object
    ... Dim Serializer As New XmlSerializer) ... Dim Employee As Employee = CType, ... What XML you're using ... Why can't you treat Employee as the root, ...
    (microsoft.public.dotnet.xml)
  • Sort Xml using XpathExpression Addsort()
    ... and i want output xml as ... the XpathExpression Addsort() method isnt able to sort this. ...
    (microsoft.public.dotnet.xml)
  • Sort Xml using XpathExpression Addsort()
    ... and i want output xml as ... the XpathExpression Addsort() method isnt able to sort this. ...
    (microsoft.public.dotnet.xml)