O
OleHaahr
Hi !
I am learning XML and XSL, and i need a hint. I have the following
XML-file:
<CATALOG>
<CD>
<TITLE>Empire Burlesque</TITLE>
<ARTIST>Bob Dylan</ARTIST>
<TRACK>
<ID>1/</ID>
<NAME>Track bla bla</NAME>
</TRACK>
<TRACK>
<ID>2/</ID>
<NAME>Track bla bla bla</NAME>
</TRACK>
</CD>
<CD>
<TITLE>Hide your heart</TITLE>
<ARTIST>Bonnie Tylor</ARTIST>
<TRACK>
<ID>1/</ID>
<NAME>bla bla Track</NAME>
</TRACK>
<TRACK>
<ID>2/</ID>
<NAME>bla bla bla Track</NAME>
</TRACK>
</CD>
</CATALOG>
I want to make an XSL-file, to generate an output like this:
Empire Burlesque Bob Dylan
1 Track bla bla
2 Track bla bla bla
Hide your heart Bonnie Tylor
1 bla bla Track
2 bla bla bla Track
etc...
It is not a problem to make an output like this:
Empire Burlesque Bob Dylan
Hide your heart Bonnie Tylor
But how can i show the tracks below the title.
Can someone help me.
Regards,
Ole
I am learning XML and XSL, and i need a hint. I have the following
XML-file:
<CATALOG>
<CD>
<TITLE>Empire Burlesque</TITLE>
<ARTIST>Bob Dylan</ARTIST>
<TRACK>
<ID>1/</ID>
<NAME>Track bla bla</NAME>
</TRACK>
<TRACK>
<ID>2/</ID>
<NAME>Track bla bla bla</NAME>
</TRACK>
</CD>
<CD>
<TITLE>Hide your heart</TITLE>
<ARTIST>Bonnie Tylor</ARTIST>
<TRACK>
<ID>1/</ID>
<NAME>bla bla Track</NAME>
</TRACK>
<TRACK>
<ID>2/</ID>
<NAME>bla bla bla Track</NAME>
</TRACK>
</CD>
</CATALOG>
I want to make an XSL-file, to generate an output like this:
Empire Burlesque Bob Dylan
1 Track bla bla
2 Track bla bla bla
Hide your heart Bonnie Tylor
1 bla bla Track
2 bla bla bla Track
etc...
It is not a problem to make an output like this:
Empire Burlesque Bob Dylan
Hide your heart Bonnie Tylor
But how can i show the tracks below the title.
Can someone help me.
Regards,
Ole