Re: speaking of XSLT...

From: Joe D Willliams (JOEDWIL@earthlink.net)
Date: Wed Jan 31 2001 - 12:57:38 PST


Hi Eugene,
> include some URLs in some attributes that contain ampersands.
I think one reason might be is that the & is used in the the
sequence like <=> to indicate a mix of characters
where the > sequence is actually a reference to a
character in the current character set. i'm sure someone
knows a better definition than that, Send that unparsed or
somehow escape it and it might work.
There are a couple of things not to do with a uri,
like spaces are not allowed, although you may use+-.
http://www.w3.org/TR/html4/intro/intro.html#h-2.1.1

I guess worst case you make it content instead of an attribute.
also check the rules for w3c.dom.attr
which i will also do.

Thanks and Best Regards,
Joe

 

----- Original Message -----
From: "Eugene Eric Kim" <eekim@eekim.com>
To: <ohs-dev@bootstrap.org>
Sent: January 31, 2001 11:34 AM
Subject: speaking of XSLT...

> I had a quick XSLT question for those in the know. I'm using James
> Clark's xt parser, and it complains about ampersands in attributes. Does
> anyone know why this is the case, and how to get around it? I'd like to
> include some URLs in some attributes that contain ampersands. Thanks.
>
> -Eugene
>
> --
> +=== Eugene Eric Kim ===== eekim@eekim.com ===== http://www.eekim.com/ ===+
> | "Writer's block is a fancy term made up by whiners so they |
> +===== can have an excuse to drink alcohol." --Steve Martin ===========+
>
>



This archive was generated by hypermail 2.0.0 : Tue Aug 21 2001 - 17:58:00 PDT