Subject: [xsl] & in xml data From: "Hesselberth, Jan" <Jan.Hesselberth@xxxxxxxxxxxxxxxxxx> Date: Wed, 5 Dec 2001 16:54:10 -0000 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] cals table to html, cutlass | Thread | Re: [xsl] & in xml data, cutlass |
[xsl] cals table to html, rick schochler | Date | Re: [xsl] & in xml data, cutlass |
Month |