[thelist] Re: fix stripped slash in no-container tags

Techwatcher techwatcher at accesswriters.com
Fri Jul 5 15:59:00 CDT 2002


Hi,
> if your working within the saxon namespace you can use the saxon:xhtml
> output method to avoid these... you might also try the xml method, but I
> don¹t think it will give you a space before the slash...
>
> <cite>
>  unfortunately, all those errors were caused by the Saxon conversion.
>  The original XSLT had closed all the tags, etc. For some reason Saxon
>  doesn't like <br/>-style shortcut tags and removes the slash, causing
>  all the errors. Is there any way to fix this, besides going through
>  the entire file by hand?
> </cite>

Another method: use HTML-Kit, use the HTML-Tidy that comes with it,
after you specify you want the SPACE and / (after tags such as BR) in
your preferences. Don't forget the space before the / ! That might be
what caused the stripping in the first place.

Cheers --
Carol Stein
techwatcher



More information about the thelist mailing list