xsl-list
[Top] [All Lists]

Re: [xsl] display & as text

2010-06-04 15:48:03

On Jun 4, 2010, at 4:37 PM, mas christ wrote:



No thanks.  My first email did not show those "ands" right.

I'll try again:

I do not want to use: "amp;", or "#38;".

I'm sure the solution is out there.


<![CDATA[  &  ]]>



----------------------------------------
Date: Fri, 4 Jun 2010 16:22:14 -0400
From: mdykman(_at_)gmail(_dot_)com
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] display & as text

&

it is the legal, valid way of representing those characters in XML.
Any ampersand '&' is assumed by XML to be the prefix to an entity,
therefore, if all you want is a literal single ampersand, you must use
the entity that represents it. The '&' is so core to the way XML is
used and parsed. it is one of the very few entities builtin in the the
XML parser itself.

- michael dykman


On Fri, Jun 4, 2010 at 4:16 PM, mas christ  wrote:

How do I use special character "&" as regular text in my xml file using XSLT 1.0?

The web browser won't parse xml files with "&" in them and I do not want use the character references, "&" , "&" or, "%20".

Thanks.

_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
--
~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
--~--





--
- michael dykman
- mdykman(_at_)gmail(_dot_)com

May the Source be with you.

--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
--~--

                                        
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3
--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>