Discussion Locked

Problems with XSL with ASP links in them

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi, when I add an ASP hyperlink on an XSL page it doesn't like the & sign and says I need to add a colon...

For example, "http://james_server/check.asp?fname=james&lname=glenton

When I copy the link into an HTML file it works fine. Do I have to convert the & sign to ASCII or anything or is there another way around this??

Thanks again.
James

3 replies

by fahd arshad

As far as I'm aware you have 2 possible solutions:
1. Replace the & with &
or
2. Wrap the text up in a CDATA section.
Steve

by jglenton

Not sure what you mean in part one? For part two- would I have to wrap the whole link in a CDATA section or just the & sign?

Thanks again.
James

by fahd arshad

By the way, I'm not this fahdarshad person. I've just come to this site, not logged in, and it's assumed I'm this guy.
Steve

This discussion is closed to new replies.