RE: [xsl] control characters in html via xsl

Subject: RE: [xsl] control characters in html via xsl
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Thu, 22 Apr 2004 16:44:17 -0400
> From: Ghulam Abbas [mailto:abbasg_99@xxxxxxxxx] 
> 
> could some body like to chip in some HELP!!!
> Appreciate if somebody can share their experience on
> this issue.
> 
> Thanks,
> Abbas
> 
> --- Ghulam Abbas <abbasg_99@xxxxxxxxx> wrote:
> > Is there a way to output control chars in html via
> > xsl. Could somebody summarize what I need to do to
> > achieve this. I guess I need to mask them in the xml
> > and then do something while it is being serilized,
> > not
> > clear here. 

I'm not sure that HTML allows just any control character either.
Anyway, why are you interested in putting invisible control characters
into an HTML page?

You cannot put these non-xml characters into an xml file, even if you
plan to get a text-mode output from the xslt stylesheet, because xml
does not allow them.

You could write an object element into the html file, with its source
attribute pointing to a text file that does contain the characters.
Mozilla would try to display it (if you specified the text/plain mime
type), but IIRC IE will not.

Cheers,

Tom P

Current Thread