Re: [xsl] List of XSL entities

Subject: Re: [xsl] List of XSL entities
From: "M. David Peterson" <m.david@xxxxxxxxxx>
Date: Tue, 30 Nov 2004 07:27:11 -0700
By the way...

Proper resolution of character entities may be what you are thinking of that complicates things and cause the stylesheet to fail... e.g. &nbsp; needs to be mapped using an entity declaration such as:

<!DOCTYPE xsl:stylesheet [<!ENTITY nbsp "&#160;">]>

This does tend to hang a lot of people up, especially those people used to using &nbsp; in their HTML pages . If not properly declared (and mapped, although if its mapped to the wrong character it wont break anything during the transformation... it just wont output what you want it to output....

Cheers!

<M:D/>


M. David Peterson wrote:


Jaime Stuardo wrote:


& --> &amp;


This one

< --> &lt;


and this one are your biggest concerns...

--> &gt;

This one will work just fine... using &gt; is simply an easy way to ensure you use &lt;

@ --> ?????


the @ symbol is used to reference attributes... it wont make anything crash...

Current Thread