In article < >,
Gene Ellis <> wrote:
% Put simple I would like to have this line in my XSL template:
%
% document.writeln("<a href='http://www.mydomain.com/user/login.php'
% class='login'>")
Well, what have you tried? It's difficult to make suggestions without
any context at all.
% My XML parser seems to be breaking on the single quotes.
It seems to be, but it's probably breaking on <. In this case,
the anchor tag is data, not an XML element, so you need to
treat it as data. You could try
<![CDATA[document.writeln("<a href='http://www.mydomain.com/user/login.php'
class='login'>")]]>
If that doesn't help, post a short example of what you're trying now.
--
Patrick TJ McPhee
East York Canada