xsl-list
[Top] [All Lists]

Re: XHTML to WML transformations problems.

2005-08-23 00:03:18
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/


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--