If you use the DOCTYPE I give you , I think the special characters should
work .
So you can use entities like &nbps; & etc.
Suppose you want to output "<", you can use &lg; now .


2007/8/27, Peter Stavrinides <[EMAIL PROTECTED]>:
>
> brilliant, it seems to work, but how will I include special characters,
> it still complains about them?
>
> thanks so much!
> Peter
>
> Allen Guo wrote:
> > You can try
> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> > instead of
> > <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> > "http://www.w3.org/TR/html4/loose.dtd";>
> >
> > Good Luck
> > Guoguo Long
> > Peter Stavrinides 写道:
> >> Hi all,
> >>
> >> I am trying to use some special characters in my templates such as
> >> &nbsp; so I tried to add the DOCTYPE header, but I keep getting the
> >> exception:
> >>
> >> org.xml.sax.SAXParseException
> >> The system identifier must begin with either a single or double quote
> >> character.
> >>
> >> No doubt I must be making an elementary mistake somewhere. My
> >> template looks like this:
> >>
> >> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> >> "http://www.w3.org/TR/html4/loose.dtd";>
> >> <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd";>
> >> <head>
> >> <title>${title}</title>
> >> <link href="${layoutCSS}" rel="stylesheet" type="text/css"/>
> >> </head>
> >> <body>
> >> <t:header/>
> >> <t:navigation/>
> >> <t:body/>
> >> <t:footer/>
> >> </body>
> >> </html>
> >>
> >> Thanks for your help,
> >> Peter
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to