![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: XSL hyperLink >Thread Next - Re: XSL hyperLink Re: XSL hyperLinkTo: NULL Date: 2/12/2007 12:23:00 PM On Feb 12, 3:15 pm, Peter Flynn <peter.n...@m.silmaril.ie> wrote: > RigasMinho wrote: > > [snip] > > > Using this works - > > <a href="http://example.com/">Example link</a> > > but if i have a really long link - it gives me an error of: > > "A semi colon character was expected" > > It's nothing to do with length (despite what the spam says :-) > It's XML, so it must be well-formed. > You have one or more raw &s in your URL. They must be given as & > > > Is there a way to put in a really long link into XSL for users to > > click on? > > The example Martin has already given has no length limit. > > > I also thought about using this line: > > <input type="button" value="Close Window" > > onclick="javascript:window.close()" /> > > > but wouldnt know how to make it link to a new url. > > That's a different question. You could include a JS function in a script > element in your head element which invokes the open-window > function. Then reference that in any onclick attributes. > > But what you suggest is very poor UI design. If the button says "Close > Window" the the user will expect exactly that and no more. Making it > close the window and then open another unexpectedly is A Bad Idea. > > ///Peter > -- > XML FAQ:http://xml.silmaril.ie/ You're right i do have & in my link. So the way to resolve this is by replacing each & with "&" ..... minus the quotes? | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
