|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Image Tage Bug
On 11/5/05, G Venkata Phanindra <phani_five@xxxxxxxxxxx> wrote: > Hi.. > I am a newbie to XSL and i am trying to convert an xml > file into an HTML ... > I need to add an Image in the HTML,i am defining HTML > image tag > > <img src=" " alt=" " /> > > No problem with HTML output. but when i submit this to > an XHTML validator its > giving OMIT TAG error as this is converted as > > <img src= " " alt=" "> > > the / is missing how can i handle this. > > Code > > <?xml version='1.0' encoding='utf-8' ?> > <xsl:stylesheet > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > version="1.0"> > <xsl:output method="html" version="1.0" You've specified output method 'html', so you probably want to submit it to a HTML validator instead of an XHTML validator.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








