xsl-list
[Top] [All Lists]

Re: [xsl] display & as text

2010-06-04 15:22:36
&

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 <mas_christ(_at_)hotmail(_dot_)com> 
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: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--





-- 
 - 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: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

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