Hi,
I'm having trouble binding a node structured XML model to a table.The requirement is to bind all the "calculatedVolumesData" elements from the following structure to a table. When I bind the rows to /billingRequest/calculatedVolumesData, only the first 3 records come up. When I change the structure and remove the "billingRequest" element, then all the records come up. So, it seems like only a flat structure is supported? Is it somehow possible to achieve my goals without changing the structure of the model?
<billingRequest id="10158">
<calculatedVolumesData>
<rateCategory>AMR-WV1_1</rateCategory>
<calculationOperations>Off Cycle</calculationOperations>
<fromDate>2017-03-31T22:00:00Z</fromDate>
<toDate>2017-04-29T22:00:00Z</toDate>
</calculatedVolumesData>
<calculatedVolumesData>
<rateCategory>AMR-WV1_2</rateCategory>
<calculationOperations>Off Cycle</calculationOperations>
<fromDate>2017-03-31T22:00:00Z</fromDate>
<toDate>2017-04-29T22:00:00Z</toDate>
</calculatedVolumesData>
<calculatedVolumesData>
<rateCategory>AMR-WV1_3</rateCategory>
<calculationOperations>Off Cycle</calculationOperations>
<fromDate>2017-03-31T22:00:00Z</fromDate>
<toDate>2017-04-29T22:00:00Z</toDate>
</calculatedVolumesData>
</billingRequest>
<billingRequest id="10504">
<calculatedVolumesData>
<rateCategory>2_1</rateCategory>
<calculationOperations>Off Cycle</calculationOperations>
<fromDate>2017-03-01T05:00:00Z</fromDate>
<toDate>2017-03-20T05:00:00Z</toDate>
</calculatedVolumesData>
<calculatedVolumesData>
<rateCategory>2_2</rateCategory>
<calculationOperations>Off Cycle</calculationOperations>
<fromDate>2017-03-01T05:00:00Z</fromDate>
<toDate>2017-03-20T05:00:00Z</toDate>
</calculatedVolumesData>
<calculatedVolumesData>
<rateCategory>2_3</rateCategory>
<calculationOperations>Off Cycle</calculationOperations>
<fromDate>2017-03-01T05:00:00Z</fromDate>
<toDate>2017-03-20T05:00:00Z</toDate>
</calculatedVolumesData>
</billingRequest>
Request clarification before answering.
seems weird, can you share your code in jsbin or plunkr?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.