[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Proper xsl coding for  ?

Subject: RE: Proper xsl coding for  ?
From: Jeff Beadle <Jbeadle@xxxxxxxx>
Date: Sun, 10 Feb 2002 13:44:03 -0500
xsl coding

Declare an !Entity that aliases &nbsp; to output the unicode codepoint 160.

<?xml version="1.0">
<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>
    The you can use a meaningful representation of the whitespace entity 
    within your stylesheet.

<xsl:stylesheet  xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

   <xsl:template match="test-nbsp">Hello World!&nbsp;&nbsp;Check out my cool



-----Original Message-----
From: Brad Cox [mailto:bcox@xxxxxxxxxxxxxxxxx]
Sent: Sunday, February 10, 2002 1:22 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Cc: Joerg Pietschmann
Subject:  Proper xsl coding for &nbsp;?

Sorry for the repeat question. Saw this posted a few days back but 
deleted it somehow. And searching the archives for nbsp gives too 
many hits to be useful.

What is the proper way to write &nbsp; and its html friends in xsl
Brad Cox, Ph.D.; bcox@xxxxxxxxxxxxxxxxx 703 361 4751
For industrial age goods there were checks and credit cards.
For everything else there is http://virtualschool.edu/mybank
Java Web Application Architecture: http://virtualschool.edu/jwaa

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.