n911681
12 years agoOccasional Contributor
Parse XML File
Newbie...
I have an XML file wanting to Parse.
I've tried using Datasource as File, when i try bringing it up with XML datasource I receive an error "Failed to select XPath for row property value </fees>
Tried Directory datasource no errors but i don't get any rows coming back..
Groovy i don't understand at all..
Any help appreciated.
Here is my XML
- <Fees>
- <Fee>
<AsOfDate>2013-05-31T00:00:00</AsOfDate>
<SourceId>6</SourceId>
<MandateId>24166</MandateId>
<PortfolioId>17741</PortfolioId>
<Amount>1000000.00</Amount>
<FeeTypeId>6</FeeTypeId>
<ToId>7</ToId>
<FromId>3</FromId>
<BillingValuationAmount>34567.00</BillingValuationAmount>
</Fee>
</Fees>
I have an XML file wanting to Parse.
I've tried using Datasource as File, when i try bringing it up with XML datasource I receive an error "Failed to select XPath for row property value </fees>
Tried Directory datasource no errors but i don't get any rows coming back..
Groovy i don't understand at all..
Any help appreciated.
Here is my XML
- <Fees>
- <Fee>
<AsOfDate>2013-05-31T00:00:00</AsOfDate>
<SourceId>6</SourceId>
<MandateId>24166</MandateId>
<PortfolioId>17741</PortfolioId>
<Amount>1000000.00</Amount>
<FeeTypeId>6</FeeTypeId>
<ToId>7</ToId>
<FromId>3</FromId>
<BillingValuationAmount>34567.00</BillingValuationAmount>
</Fee>
</Fees>