Guest rbs Posted August 18, 2006 Share Posted August 18, 2006 I am not a programmer so apologies if this is a stupid question. I have been tasked with adding a standard header to an application that is using XSL templates.The HTML block that I am adding to the XSL contains several hyperlinks similar to the following:href='http://wwwdev.mysite.com/portal/server.pt?space=TopBarAS&parentname=Login&parentid=0&in_hi_userid=2&control=TopBarControl' The application will not accept it. If I shorten the URL it works, but I don't think the problem is related to length. I believe the problem lies with the parentname, parentid variables in the URL.Could someone explain to me why this is failing, and if there is a way to include this hyperlink in the XSL page? Link to comment Share on other sites More sharing options...
Reg Edit Posted August 21, 2006 Share Posted August 21, 2006 I am not a programmer so apologies if this is a stupid question. I have been taskedI am not a car driver so apologies if this is a stupid question. I have been tasked with driving this car.When I pressed that thing on the floor, the car went fast instead of slow. Do I wiggle that thing in the middle instead? Link to comment Share on other sites More sharing options...
boen_robot Posted August 21, 2006 Share Posted August 21, 2006 I can see Reg Edit's sarcasm here and I almost agree with it (the sarcasm). If you know XML to begin with, you would think the answer yourself in just a few minutes of thinking.Ampersand is not an allowed symbol in XML based documents, unless it's actually escaped. Try escaping yours by using the "&" entity instead, like this: href='http://wwwdev.mysite.com/portal/server.pt?space=TopBarAS&parentname=Login&parentid=0&in_hi_userid=2&control=TopBarControl' Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now