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

RE: ignoring   when transforming xml to wml

Subject: RE: ignoring   when transforming xml to wml
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Thu, 26 Feb 2004 09:29:55 -0000
nbsp xml
If the so-called XML contains &nbsp; entity references and doesn't contain a
definition of the nbsp entity, then it's not well-formed XML, in fact it's
not XML at all, and no XML parser is going to ignore this error. You need to
fix the code that generates the XML.

Or have I misunderstood the problem?

Michael Kay

# -----Original Message-----
# From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx [mailto:owner-xsl-
# list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Gill Shields
# Sent: 25 February 2004 23:59
# To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
# Subject:  ignoring &nbsp; when transforming xml to wml
# 
# I am doing a project which requires HTML to be converted to WML, the HTML
# has been converted to XML and now I am trying to write a stylesheet that
# will transform the XML into WML.  However I am having a problem with the
# &nbsp;  Is there an easy way to get the stylesheet to ignore these?
# Because
# when they are left in there is no output from the transformation but if I
# just delete the &nbsp; from the XML file then the transformation goes
# ahead
# properly.
# I have tried using <xsl:text
# disable-output-escaping="yes">&amp;&nbsp;</xsl:text> but this does not
# seem
# to solve my problem and apparently its bad form to use it anyway.
# 
# Please can anyone help?
# 
# (I have tried looking through the archive but there is SO much I cant find
# what Im looking for!)
# 
# Thanks, Gillian Shields.
# 
# _________________________________________________________________
# Find a cheaper internet access deal - choose one to suit you.
# http://www.msn.co.uk/internetaccess
# 
# 
#  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

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.