Hi Gertone
Sorry for that xml i was just trying to provide an example, Plese see the proper XML below
<?xml version="1.0" encoding="UTF-8"?>
<Header>
<Info>
<Type>A</ContType>
<Amount>100.00</ContAmount>
</Info>
<Info>
<Type>B</ContType>
<Amount>200.00</ContAmount>
</Info>
<Info>
<Type>C</ContType>
<Amount>300.00</ContAmount>
</Info>
</Header>
I need a XSLT so that when I tranform into CSV Amount A should always come in column 1 of CSV, Amont b should come in column 2 of CSV and Amount c in column 3 of CSV even if A comes in different place it should always display in column 1 of CSV.
Hope you got my question now.
Main Topics
Browse All Topics





by: GertonePosted on 2009-10-08 at 22:08:07ID: 25532459
I think it is very unclear what you need here.
I can't extrapolate what you need
where do you want "d"?
do you want a CSV with three columns?
or all characters on one line?
Please note that in order to use XSLT, your XML needs to be wellformed.
Element names should not start with a number, so your elements have illegal names,
you should change that to make it XML
By the way. You are not allowed to ask the same question multiple times, so you need to delete that other one