Jump to content

Repeating Child Nodes With Parent Node


adhivivek

Recommended Posts

<cd_det> <cd_entry> <cd_compny>Sony</cd_compny> <CD> <TITLE>Empire Burlesque</TITLE> <ARTIST>Bob Dylan</ARTIST> <COUNTRY>USA</COUNTRY> <COMPANY>Columbia</COMPANY> <PRICE>10.90</PRICE> <YEAR>1985</YEAR> </CD> <CD> <TITLE>Hide your heart</TITLE> <ARTIST>Bonnie Tyler</ARTIST> <COUNTRY>UK</COUNTRY> <COMPANY>CBS Records</COMPANY> <PRICE>9.90</PRICE> <YEAR>1988</YEAR> </CD> </cd_entry> <cd_entry> <cd_compny>Star Audio</cd_compny> <CD> <TITLE>Hide your heart</TITLE> <ARTIST>Bonnie Tyler</ARTIST> <COUNTRY>UK</COUNTRY> <COMPANY>CBS Records</COMPANY> <PRICE>9.90</PRICE> <YEAR>1988</YEAR> </CD> </cd_entry><cd_det> this is my sample xml file ,i want create a pdf file with table displaying cd_entry with cd_company and their corresponding CD in repeat,but i am able to display only first CD record and not able to do second one .Can anyone know solution pls help me out.

Link to comment
Share on other sites

How does your XSLT look like?(You're probably using value-of at a point where you should be using a for-each...)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...