C
Cedric Vonck
Hello everybody,
I have a question about xml / xsl(t).
I need to transform a following kind of xml to editable file (format
does not matter).
The xml file look like this:
<...> Root
<tag>
<subtag1>.....</subtag1>
<subtag2>.....</subtag2>
....
....
<subtag1>.....</subtag1>
<subtag2>.....</subtag2>
</tag>
</...> End Root
Subtag1 & Subtag2 can repeat themselves n-times.
I know that this is xml is wellformed but not wellstructured.
The ideal solution should be:
<...> Root
<tag>
<detail>
<subtag1>.....</subtag1>
<subtag2>.....</subtag2>
</detail>
<detail>
<subtag1>.....</subtag1>
<subtag2>.....</subtag2>
</detail>
</tag>
</...> End Root
If the xml should like this (in the ideal case) I could get the
conversion to work in no time.
Any suggestions how I could write a correct xsl(t) for the first
example???
Thank you
I have a question about xml / xsl(t).
I need to transform a following kind of xml to editable file (format
does not matter).
The xml file look like this:
<...> Root
<tag>
<subtag1>.....</subtag1>
<subtag2>.....</subtag2>
....
....
<subtag1>.....</subtag1>
<subtag2>.....</subtag2>
</tag>
</...> End Root
Subtag1 & Subtag2 can repeat themselves n-times.
I know that this is xml is wellformed but not wellstructured.
The ideal solution should be:
<...> Root
<tag>
<detail>
<subtag1>.....</subtag1>
<subtag2>.....</subtag2>
</detail>
<detail>
<subtag1>.....</subtag1>
<subtag2>.....</subtag2>
</detail>
</tag>
</...> End Root
If the xml should like this (in the ideal case) I could get the
conversion to work in no time.
Any suggestions how I could write a correct xsl(t) for the first
example???
Thank you