This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: special characters handling...


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]