[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

html + xml -> xsl -> html - Problem

Subject: html + xml -> xsl -> html - Problem
From: my.office@xxxxxx
Date: Sat, 19 Nov 2005 23:32:20 +0100 (MET)
office html and xml
Hi,

i've got a problem with 2 files resulting in 1 trough xsl.
I want to parse a html-template that should be filled with data
from a xml-file.

html-file:

<!-- news template -->
<table>
<tr loop="row"><td myid="title">dummytitel</td><td myid="num">1234</td></tr>
</table>
<!-- /news template -->

xml-file:

<data>
	<row class="col0">
		<title>Title A</title>
		<num>123</num>
	</row>
	<row class="col1">
		<title>Title B</title>
		<num>456</num>
	</row>
	<row class="col2">
		<title>Title C</title>
		<num>789</num>
	</row>
</data>

The thing is that i don't want to put the html-stuff inside the xsl-file
because the template could be changed.

The result should be:

<!-- news template -->
<table>
<tr><td>Titel A</td><td>123</td></tr>
<tr><td>Titel B</td><td>456</td></tr>
<tr><td>Titel C</td><td>789</td></tr>
</table>
<!-- /news template -->

Could someone give me an example how to get this?

Thx,
Jolie


-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.