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

& in xml data

Subject: & in xml data
From: "Hesselberth, Jan" <Jan.Hesselberth@xxxxxxxxxxxxxxxxxx>
Date: Wed, 5 Dec 2001 16:54:10 -0000
entity name must immediately fop
I searched the archive but could not find an answer (and I read the book)
I have the following xml:

<Customer>
<PersonName>  </PersonName>
<HouseNameNo>C/o Mr C E Smith</HouseNameNo>
<Address1>Fred Bell & Reid</Address1>
</Customer>

and am converting it to xsl:fo using
<xsl:output method="text" version="4.0" omit-xml-declaration="yes"
indent="yes"/>
	.
	.
	.
<fo:table-row>
	<xsl:for-each select="./Customer">
		<fo:table-cell>
		<fo:block  font-size="10pt" text-align="start"><xsl:value-of
select="Address1" disable-output-escaping="yes"/></fo:block>
		</fo:table-cell>
	</xsl:for-each>
</fo:table-row>

However, when I try to process it with FOP I get the error:
[INFO]: building formatting object tree
file:/c:/clasinc5/clasreport.xml; Line 1; Column 716; [ERROR]: The entity
name must immediately follow the '&' in the entity reference.

How do I get round this problem? Thanks for any help.




-------------------------------------------------------------------------- 
CONFIDENTIALITY 
The information contained in this e-mail and any files transmitted with it 
is private and confidential. It is intended for the named addressee only. 
If you are not the intended addressee you are prohibited from 
storing, copying or using the information in any way. 
If you received this e-mail due to a transmission error please notify the 
sender immediately. No liability is accepted by Northern Rock 
for any losses caused by viruses contracted during transit 
over the Internet or present in any receiving system. 
This e-mail is not intended to create legally binding commitments on 
behalf of Northern Rock plc, nor do its contents reflect the corporate 
views or policies of Northern Rock plc. 
-------------------------------------------------------------------------- 


 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.