On Mon, Dec 04, 2000 at 10:58:02PM +0100, Kaiserovi wrote:
> 
> Sablotron should actually escape the HTML attributes holding URIs the
> way you need. In fact, the code is ready but only used for a different
> purpose. So I attach a short patch that should do the job. Apply inside
> the engine subdirectory. BTW make sure your output method is html, e.g.
> by including <xsl:output method="html"/> in your stylesheet.

Tom, thank you.

I've solved the task by postprocessing using XPS in the meantime just
fine. As my Solaris compiles were not successfull (wrong gcc, wrong
system version or wrong person between the chair and the keyborad),
I'll have to wait for binary build or until I get to Linux box.

But what strikes me is this:

        <A HREF="script.cgi?id=253&jezek=krtek">Odkaz</A>

How would Sablotron know whether there are two parameters id and jezek
with values 253 and krtek (in which case no escaping is wanted), or
one parameter id with value 253&jezek=krtek (and escaping should be
done)?

No need to answer, just a philosophical question. I'll definitely try
to get to use your patch.

Sincerely,

-- 
------------------------------------------------------------------------
 Honza Pazdziora | [EMAIL PROTECTED] | http://www.fi.muni.cz/~adelton/
 .project: Perl, mod_perl, DBI, Oracle, auth. WWW servers, XML/XSL, ...
------------------------------------------------------------------------

Reply via email to