B
bbembi_de
Hello everyone,
I know how to split a xml input file in multiple output files with the
xsl:result-document command.
But I have still one problem.
My input file looks like this (simplified):
<root>
<student>
<name>peter</name>
<course>1</course>
</student>
<student>
<name>sarah</name>
<course>2</course>
</student>
</root>
now I want to create a file for every course. but the input file isn't
sorted by course.
I don't know how many course files there will be and the output files
names should be the course names.
My problem is that the xslt processor tells me that there is already a
file named <course> if the parser gets to the second student with the
same course.
What can I do?
thanks.
bye bembi
I know how to split a xml input file in multiple output files with the
xsl:result-document command.
But I have still one problem.
My input file looks like this (simplified):
<root>
<student>
<name>peter</name>
<course>1</course>
</student>
<student>
<name>sarah</name>
<course>2</course>
</student>
</root>
now I want to create a file for every course. but the input file isn't
sorted by course.
I don't know how many course files there will be and the output files
names should be the course names.
My problem is that the xslt processor tells me that there is already a
file named <course> if the parser gets to the second student with the
same course.
What can I do?
thanks.
bye bembi