Re: special characters handling...

Subject: Re: special characters handling...
From: "Nikolai Grigoriev" <grig@xxxxxxxxxxx>
Date: Mon, 14 Aug 2000 20:31:16 +0400
Rohit,

> I have placed this part of the code on the top of my XSL file.
> 
>   <!ENTITY xhtml-symbol SYSTEM
>      "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent";>
>   &xhtml-symbol;
>
> But browser spits out this error "A string literal was expected, but no
> opening
> quote character was found. Error processing resource"
> 
> What exactly does this mean?

To be included into a DTD, an entity must be declared with a percent sign:

 <!ENTITY  % xhtml-symbol SYSTEM
     "http://www.w3.org/TR/xhtml1/DTD/xhtml-symbol.ent";>
  %xhtml-symbol;

See XML spec about parametric entities.

HTH,

Nikolai Grigoriev
RenderX



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread