On 11/5/05, G Venkata Phanindra <phani_five(_at_)yahoo(_dot_)co(_dot_)in> 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.
--~------------------------------------------------------------------
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>
--~--