Subject: RE: entity output
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Thu, 12 Jun 2003 15:16:19 -0400
|
[Craig Kattner]
> The output of this is:
> Spring Wound "Bypass" Timers
>
>
> But what I need is:
> Spring Wound "Bypass" Timers
>
> I'm using MSXML4 for this. I've tried translate(), but not
> surprisingly, it doesn't work. Is there anyway I can get the
> output here to have the entity encoded quote (") instead
> of just a plain quote (")?
>
Why do you need the & q u o t ; entity? Your output is perfectly legal
HTML as it stands. Now, if you asked for the attribute value to become
the value of an attribute in your output, the serializer __would__
escape it with entities - if, for example, you added this to your
template -
<x att='{@attr}'/>
The result is
<x att="Spring Wound "Bypass" Timers">
No standard serilaizer is likely to give you entities when it is not
necessary to do escaping.
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- entity output
- Craig Kattner - Thu, 12 Jun 2003 14:16:43 -0400 (EDT)
- <Possible follow-ups>
- Passin, Tom - Thu, 12 Jun 2003 15:16:55 -0400 (EDT) <=
- Craig Kattner - Thu, 12 Jun 2003 15:30:13 -0400 (EDT)
|
|