[Home] [By Thread] [By Date] [Recent Entries]
The stylesheet I posted when applied to XML (the XML you posted was not well-formed, a /select> tag was missing, which I corrected): <xhtml> <div style="width:570px;text-align:center;"> <img src="/path/to/img.jpg" width="570" height="100" border="0" alt="Alt text"/> <p style="margin:10px 0 0 0;" class="class">Display copy<br/> <a href="/link">Linked text</a><br/> <form> <select style="margin-top:0px;" size="1" name="selectMenu"> <option value="#" selected="selected">Choose an option</option> <option value="one.html">One</option> <option value="two.html">Two</option> </select> </form> </p> </div> <br/> </xhtml> Produces output: <?xml version="1.0" encoding="UTF-8"?> <xhtml> <div style="width:570px;text-align:center;"> <img src="http//images.example.com/path/to/img.jpg" width="570" height="100" bo rder="0" alt="Alt text"/> <p style="margin:10px 0 0 0;" class="class">Display copy<br/> <a href="http//www.example.com/link">Linked text</a> <br/> <form> <select style="margin-top:0px;" size="1" name="selectMenu"> <option value="#" selected="selected">Choose an option</option> <option value="one.html">One</option> <option value="two.html">Two</option> </select> </form> </p> </div> <br/> </xhtml> Isn't this what you want? This looks more concise than the logic you have posted.. Your logic also seems correct (with a minor correction, as Wendell has suggested) On 8/18/06, Brook Ellingwood <belling@xxxxxxx> wrote: Hi Mukul,
http://gandhimukul.tripod.com
|

Cart



