Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Re: Emitting   to HTML Output

Reply
Thread Tools

Re: Emitting   to HTML Output

 
 
Andy Jefferies
Guest
Posts: n/a
 
      06-25-2003
(Xeon) wrote:
> Hi,
>
> Anybody knows how to emit   to html output with XSLT?
>
> TIA


If I'm using a XSLT processor that knows about html like Xalan (and I'm
outputting html) then I just define the entity at the top:

<!DOCTYPE xsl:stylesheet [
<!ENTITY nbsp " ">
]>
<xsl:stylesheet version="1.0" xmlnssl="http://www.w3.org/1999/XSL/Transform"
....

then I can use &nbsp; wherever I like and it comes out in the html as &nbsp;
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ATLAS and controls emitting Javascript julia.hayward@cadcorp.com ASP .Net 0 01-05-2007 03:57 PM
Client side validators not emitting John Livermore ASP .Net 1 07-18-2003 09:03 PM
Re: Emitting &nbsp; to HTML Output Peter C. Chapin XML 10 06-28-2003 04:14 AM
Re: Emitting &nbsp; to HTML Output Klaus Johannes Rusch XML 5 06-27-2003 09:02 AM
Re: minidom toxml() not emitting attribute namespace qualifier Paul Boddie Python 0 06-24-2003 09:44 AM



Advertisments