xsl-list
[Top] [All Lists]

Re: List of XSL entities

2004-11-30 06:48:54
There are 5 characters that have a special meaning to XML and are escaped when present in character data:

> --> >
< --> &lt;
& --> &amp;
" --> &apos;
' --> &quot;

The other characters should not give problems between tags and inside the 
values of attributes...

Grtz,
Geert

Jaime Stuardo wrote:

Hi all...

I'm making a program that converts a CSV file to an XML structure. That CSV may have 
some characters that make XML invalid (for example, data can contain & or < 
characters), so I need to get a complete list of entities or at least a list of those 
characters. I tried searching in Google but I couldn't find what I was looking for. At 
first, I know these characters that make XML to crash:

& --> &amp;
< --> &lt;

--> &gt;

@ --> ?????

Any hint will be greatly appreciated

Thanks
Jaime




--~------------------------------------------------------------------
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>
--~--




--
Geert(_dot_)Josten(_at_)Daidalos(_dot_)nl
IT-consultant at Daidalos BV, Zoetermeer (NL)

http://www.daidalos.nl/
tel:+31-(0)79-3316961
fax:+31-(0)79-3316464

GPG: 1024D/12DEBB50

--~------------------------------------------------------------------
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>