You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Mike Gargiullo <mg...@smallworld.com> on 2000/06/23 18:14:25 UTC

A xslt processing question... Xalan

Ok, question.  Is there a preference file or something close that "tell"
xalan what tags to strip the closing tags from and what tags to leave the
closing tags on when parsing to html from xml/xsl ?

I have an issue.  Our whole site is being developed on xml/xsl and we have
an image map as follows:
(xsl snippet)

<td vailgn="top" colspan="2" width="420"
background="../images/header_tile.gif">
<img src="../images/header_nav.gif"  usemap="#header_nav" width="420"
height="14" alt="" border="0"/>
<map name="header_nav">
<area shape="rect" coords="63,2,176,11" href="http://www.url.com"
target="_blank"></area>
<area shape="rect" coords="204,2,323,11" href="http://www.url.com/shop/"
target="_blank"></area>
</map>
</td>

the problem comes from the output HTML

<td background="../images/header_tile.gif" colspan="2" vailgn="top"
width="420">
<img alt border="0" height="14" src="../images/header_nav.gif"
usemap="#header_nav" width="420">
<map name="header_nav">
<area coords="63,3,176,10" href="http://www.smallworld.com" target="_blank">
<area coords="203,1,322,11" href="http://www.smallworld.com/shop/"
target="_blank">
</td>

It's now missing the closing MAP tag.  Works fine in IE because IE is
sloppy, but Netscape balks at it.  The image shows because that's correct,
but the image map doesn't because Netscape requires it have a closing MAP
tag.

Re: A xslt processing question... Xalan

Posted by Mike Engelhart <me...@earthtrip.com>.
on 6/23/00 11:14 AM, Mike Gargiullo at mgargiullo@smallworld.com wrote:

> Ok, question.  Is there a preference file or something close that "tell" xalan
> what tags to strip the closing tags from and what tags to leave the closing
> tags on when parsing to html from xml/xsl ?
> 
> It's now missing the closing MAP tag.  Works fine in IE because IE is sloppy,
> but Netscape balks at it.  The image shows because that's correct, but the
> image map doesn't because Netscape requires it have a closing MAP tag.

This is a bug in Xerces 1.0.3  -  xerces 1.0.4 fixes.

Mike