EDN Admin
Well-known member
Hi All,
I am trying to extrac all the attributes from a xml file.
Can i use c# or vb# code to attribute the header attributes too?
What I want are the following attributes:
TransactionTypeCode="1" ServicerNumber="xxxx187" ServicerLoanNumber="xxx32" ProcessingStatusCode etc
This is the XML file.
<pre><?xml version="1.0" encoding="utf-8" ?>
- <MYResponseFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SchemaVersion="2.0" ProcessingDate="2011-11-14" FileProcessingStatusCode="0" FileProcessingMessageText="The file with 153 loan(s) has been processed. There were 33 loan(s) with errors.135 loan(s) had warnings." NumberOfRecords="153" xmlns="https://www.MYadmin.com/schemas
- <MYResponse TransactionTypeCode="1" ServicerNumber="xxxx187" ServicerLoanNumber="xxx32" ProcessingStatusCode="1
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-124] - Step Principal ." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-128] - Step Payment Due Date after modification + 60 months." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-129] - New Interest to the last step." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-130] - Difference ust be equal to 12 months." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-137] - Step Rate p Schedule." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-141] - Step Paymentfective date of the previous schedule." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-143] - Step PrinciPrincipal and Interest Payment of ." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-148] - The differenan 1%." />
<MYErrorDetail AttributeName="PostModificationDetail.AmortizationTerm" AttributeValue="480" ErrorMessage="Warning:[LIR-152] - Amortizationll steps plus the th period." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-170] - Step Durationnus the initial period." />
<MYErrorDetail AttributeName="PrincipalForgivenAmount" AttributeValue="0.00" ErrorMessage="Error:[LIR-358] - TheâPrincipal Write-down (Forgiveness)â if the âPrincipal Reduction Alternative r â3â." />
</MYResponse>
</MYResponseFile>[/code]
Thanks<hr class="sig shamen
View the full article
I am trying to extrac all the attributes from a xml file.
Can i use c# or vb# code to attribute the header attributes too?
What I want are the following attributes:
TransactionTypeCode="1" ServicerNumber="xxxx187" ServicerLoanNumber="xxx32" ProcessingStatusCode etc
This is the XML file.
<pre><?xml version="1.0" encoding="utf-8" ?>
- <MYResponseFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SchemaVersion="2.0" ProcessingDate="2011-11-14" FileProcessingStatusCode="0" FileProcessingMessageText="The file with 153 loan(s) has been processed. There were 33 loan(s) with errors.135 loan(s) had warnings." NumberOfRecords="153" xmlns="https://www.MYadmin.com/schemas
- <MYResponse TransactionTypeCode="1" ServicerNumber="xxxx187" ServicerLoanNumber="xxx32" ProcessingStatusCode="1
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-124] - Step Principal ." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-128] - Step Payment Due Date after modification + 60 months." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-129] - New Interest to the last step." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-130] - Difference ust be equal to 12 months." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-137] - Step Rate p Schedule." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-141] - Step Paymentfective date of the previous schedule." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-143] - Step PrinciPrincipal and Interest Payment of ." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-148] - The differenan 1%." />
<MYErrorDetail AttributeName="PostModificationDetail.AmortizationTerm" AttributeValue="480" ErrorMessage="Warning:[LIR-152] - Amortizationll steps plus the th period." />
<MYErrorDetail AttributeName="PostModificationDetail.ProductTypeCode" AttributeValue="3" ErrorMessage="Warning:[LIR-170] - Step Durationnus the initial period." />
<MYErrorDetail AttributeName="PrincipalForgivenAmount" AttributeValue="0.00" ErrorMessage="Error:[LIR-358] - TheâPrincipal Write-down (Forgiveness)â if the âPrincipal Reduction Alternative r â3â." />
</MYResponse>
</MYResponseFile>[/code]
Thanks<hr class="sig shamen
View the full article