[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: display & as text

Subject: Re: display & as text
From: "steve.majewski@xxxxxxxxx" <steve.majewski@xxxxxxxxx>
Date: Fri, 4 Jun 2010 16:47:39 -0400
Re:  display & as text
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@xxxxxxxxx
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  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@xxxxxxxxx

May the Source be with you.


_________________________________________________________________
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

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.