[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] ignoring when transforming xml to wml
Subject: Re: [xsl] ignoring when transforming xml to wml From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 26 Feb 2004 00:18:34 GMT |
You can't get a stylesheet to ignore nbsp because you can't get it to see it. If you have an XML file that has & nbsp; but does not have a <!DOCTYPE pointing at a DTD that defines this entity, then the file is not well fomrned XML, ie it isn't XML at all and will generate a fatal error on any XML system, and on any attempt to transform with XSLT in particular. If the source file does have a dtd that defines nbsp the XSLT will not see the nbsp entity reference, it will see the character refetenced (which is character 160 if nbsp is defined with its usual definition). It sounds like you are in the first case. You need to fix your input to make it well formed XML by adding a DTD that defines nbsp or more simply just use & #160; instead of & nbsp;. David -- http://www.dcarlisle.demon.co.uk/matthew XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] ignoring when transfor, Gill Shields | Thread | RE: [xsl] ignoring when tran, Michael Kay |
[xsl] ignoring when transfor, Gill Shields | Date | Re: [xsl] XSL-FO: page-breaking wit, G. Ken Holman |
Month |