Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: XSL hyperLink

From: "RigasMinho" <minho.cho@-----.--->
To: 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 &amp;
>
> > 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 "&amp;"  .....
minus the quotes?



transparent
Print
Mail
Digg
delicious
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent