This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

combine xml files


Hi,

I'm very new to XSLT and here is one of my problems. I have several xml files
with same structure.

<xml>
  <db>
     <title>  title in db </title>
     <author> author names </author>
  </db>
</xml>

And what I want is to output to html with the formats for each xml record:

Title: title in db
Author: author names

Do you have any suggestions on what I should do this? Should I process the xml
files in my java servlet, recombine my xml files into one and pass to my
stylesheet or process each xml file separately? The second case produce a
problem of generating <html><body> </body></html> for each record. So, in my
final html page, the <html><body> </body></html> tags appear for each record
which doesn't seem right to me.

Thanks a lot in advance for you help.

Ming


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]