[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Problem trying to display additional information i

Subject: RE: Problem trying to display additional information in popup box
From: Betty.Risher@xxxxxxxxxxxx
Date: Fri, 13 Jul 2001 08:42:25 -0600
betty risher

Rene,

Thanks,  I tried your suggestion and it worked great!

 I guess I better start looking at javascript now,  I thought that I had some
time before needing it but it appears that I need to get into that now.

Thanks again.

**************************************************************




Rene de Vries <RdVries@xxxxxxxxxxx> on 07/13/2001 08:29:08 AM

Please respond to xsl-list@xxxxxxxxxxxxxxxxxxxxxx

To:   "'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'" <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
cc:   Betty Risher/Jeppesen/TMC@Jeppesen

Subject:  RE:  Problem trying to display additional information in popup
      box




Hi Betty,

If I understand you right, you want to display the text of <chgmsg> in a
separate window in your browser.
One of the ways you can do that is creating a button like this:

     <xsl:template match="/">
          <html>
               <head>
                    <script type="text/javascript">
                         function DisplayPU(cText)
                         {
                              alert(cText);
                         }
                    </script>

               </head>
               <body>
                    <xsl:apply-templates/>
               </body>
          </html>
     </xsl:template>

     <xsl:template match="chgmsg">
               <xsl:value-of select="@type"/>
          <input name="puBox" type="button" onclick="DisplayPU('{chgdesc}')"
value="Change Message"/>
     </xsl:template>

Greetings Rene
   { @   @ }
        ^
      \__/

"You don't need eyes to see, you need vision!"

-----Oorspronkelijk bericht-----
Van: Betty.Risher@xxxxxxxxxxxx [SMTP:Betty.Risher@xxxxxxxxxxxx]
Verzonden:     vrijdag 13 juli 2001 15:20
Aan: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Onderwerp:      Problem trying to display additional information in popup
box



Hi,

I'm trying to resolve an issue with additional information displaying in a
separate popup box, from the main text display.
The data element of <chgmsg> resides within the main flow of the data, but needs
 to be displayed in a separate display box.

Based on the code provided below, I have tried to create a link (using an image)
 to click on, that opens another box for display.
This portion seems to work ok, but I can't get any of the information within the
 <chgmsg> to display within the box.
I've tried to find information and examples pertaining to this issue, but have
had no luck.  I'm not sure what I'm doing incorrectly.
Am I on the right track?  Is what I'm attempting to do possible?
Any assistance would be greatly appreciated.

Thanks,

Betty Risher

****************************************************
XSL styles snipet

<xsl:template match="chgmsg">
     <a href="#{generate-id(chgdesc)}" target="display">
          <img src="./pics/exlink.gif" align="right"></img>
     </a>
</xsl:template>

<xsl:template match="chdesc">
     <xsl:apply-templates/>
</xsl:template>

***************************************************
XML Code
<pgblk chapnbr="07" sectnbr="00" subjnbr="00" pgblknbr="00" confltr=""
confnbr="01" chg="U" effvect="001999" id="T07-00-00-00" mfrid="EN0700000000">
     <effect effvect="001999" efftext="001999"/>
          <chgmsg type="AIRBUS">
               <chgdesc>CORRECTION/ADDITION/AMPLIFICATION CONNECTOR PART NUMBER
REVISED.</chgdesc>
          </chgmsg>






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list








 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.