Re: [xsl] XHTML to WML transformations problems.

Subject: Re: [xsl] XHTML to WML transformations problems.
From: "Paul Healy" <sebalut@xxxxxxxxxxx>
Date: Tue, 23 Aug 2005 07:03:18 +0000
Thanks a lot for that mate it was really useful and I am very grateful. It doesnt however allow the use of <a href> as children in <option> tags so I need to somehow change it to create <br/> tags after each <a href> element tag in the source document to create a new line for each <a> tag.

<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
<head>
<title>XSLT transformations</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<div id="index">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="products.html">Product Page</a></li>
<li><a href="Offers.html">Offers</a></li>
</ul>
</div>
<div id="second"> <---I have added in a second part to the source document--->
<h1>This is the second part</h2>
<p>Eventually it will be done</p>
</div>
</body>
</html>


Can the XSL sheet be extended to include the second <div> element? I have nearly got it just need a tiny bit more help. Thank you very much for your reply I appreciate greatly the effort you have put into this and am eternally grateful.

_________________________________________________________________
Want to block unwanted pop-ups? Download the free MSN Toolbar now! http://toolbar.msn.co.uk/


Current Thread