This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: •
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Sat, 8 Jun 2002 01:31:35 +0100
- Subject: Re: [xsl] •
- References: <p0510031cb926e153f9f5@[140.177.4.144]>
- Reply-to: xsl-list at lists dot mulberrytech dot com
> Why doesn't this XML content: &#8226;
> produce this output: •
Why do you think it should? The first is 6 characters in the stylesheet.
6 non white space characters in character data always just produce 6
characters in the output. Your required output is one character
reference. To get that character put • into the stylesheet.
> It's bloody nigh impossible to get my XML parser (Xalan-Java) NOT to
> recognize entities except for this one case where recognizing it
It does recognise it. & means an ampersand as character not as
markup, so that's what appears in the result tree. But that ampersamd
character in teh result tree has to be linearised as & otherwise
parsing teh result wouldn't reproduce that character.
You haven't said why you think just putting • into the stylesheet
does not work.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list