XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Diana SininaSubject: open window in hyperlink
Author: Diana Sinina
Date: 08 Mar 2006 03:19 PM
How do I open in XSL pop up window in hyperlink?

Postnext
(Deleted User) Subject: open window in hyperlink
Author: (Deleted User)
Date: 08 Mar 2006 03:30 PM
Hi, Diana. If you mean that you've written code but don't see the pop-up when you preview the XSLT, that's because navigational links are not displayed in the Preview window.

If, on the other hand, you mean, how do I do this in XSLT, the answer is: the same way you do it in HTML. If you've written valid HTML, it will work when you process your XSLT.

Hope this helps.

David Foster
Stylus Studio Team

Postnext
Diana SininaSubject: open window in hyperlink
Author: Diana Sinina
Date: 08 Mar 2006 03:39 PM
Hi David,
I am sorry I wasn't clear
I need to open pop up window when I click on hyperlink in XSL
this is what I have now, it opens another page, I need to open another window and pass "Pmnt_Id" How do I do that?
Thank you

<a href="$url">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="concat($url,$aand,'Pmnt_Id')"/>
</xsl:attribute>
<xsl:value-of select="Pmnt_Id" />
</xsl:element>
</a>

Postnext
(Deleted User) Subject: open window in hyperlink
Author: (Deleted User)
Date: 08 Mar 2006 04:03 PM
Hi, Diana. I think you're close. You just need to specify what you want to happen when the link is clicked.

You can use the target= attribute (as in <a href="url" target="your_target">, for example), or you can specify some processing using an onclick_ event.

Hope this helps.

David Foster
Stylus Studio Team

Posttop
Diana SininaSubject: open window in hyperlink
Author: Diana Sinina
Date: 08 Mar 2006 04:15 PM
Thank you !!

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.