Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Empty element match

From: Tjerk Wolterink <tjerk@------------------.--->
To: NULL
Date: 7/1/2005 11:21:00 AM
David Carlisle wrote:
>>How can i force the transformer to not use the
>>implicit end tag like this <br/> ?
> 
> 
> If you are writing html then you should use the html output method
> and this will be output as <br> However if you are writing xml then
> within standard xslt there is no way to customise this although your
> system may allow you to specify a non standard serialiser.
> 

ok im outputting to XHTML TRANSITIONAL:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

So it think i should set the output method to xml,
and internet explorer should see <br></br> as a single br.

> If you send xml to IE as text/html then it will parse it as html and 
> not understanding XML syntax for br is only a small part of the
> problems.. If you send it with an XML mime type then it will use an xml
> parser and parse it correctly, but you then have to supply a stylesheet
> in order for it to display as it doesn't have xhtml support built in.
> 
> David

Ok i will try to set the response mime type to text/xml,
is text/xhtml also possible?


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent