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

CAN NOT Passing value from XML Applet

  • From: Andy Lui <andy_Lui@b...>
  • To: XML-DEV List <xml-dev@l...>
  • Date: Sun, 24 Jun 2001 00:54:42 +0800

xml applet
Hello all,

May anyone know how to pass the XML Applet's record Field as the script
parameters.

I want to passing the XML's Field "ShowHelpText" to the script to display the
text in the AreaText.

BUT I have checked the value with loaded in the onMouseOver Event as followed,

     <a

        onMouseOver="ShowAttribText(datafld=<span datafld=URL></span>)"

        onMouseOut="hide()"
        target="_self"
        href=<span datafld=URL></span>
        <span datafld=Label></span></a></td>

Thanks all,

From Andy Lui

--------------------------------------------------------------------------------
-------------------------------------
Source Code as below
--------------------------------------------------------------------------------
-------------------------------------
...........
<SCRIPT language=JavaScript><!--
  function hide() {
    document.all("ONE").value = '';
  }

  function ShowAttribText(xText) {
    document.all("ONE").value = xText;
  }
//-->
</SCRIPT>
........
<applet code=com.ms.xml.dso.XMLDSO.class width=0 height=0 id=GuidanceNote>
  <param name="url" value="GuidanceNote.xml">
</applet>

........
  <table id=cc1 cellspacing="0" cellpadding="0" datasrc=#GuidanceNote>
  <tr>
  <td width="10" bgcolor="white"></td>
  <td width="190" height="22">
     <a

        onMouseOver="ShowAttribText(datafld=<span datafld=ShowHelpText></span>)"

        onMouseOut="hide()"
        target="_self"
        href=<span datafld=URL></span>
        <span datafld=Label></span></a></td>
  </tr>
  </table>
  </td>
</tr>
</table>

  <table>
  <tr>
  <td width="20" bgcolor="green"></td>

    <textarea name="ONE" width="200" rows="6" ></textarea>
    </td>

  <td width="20" bgcolor="green"></td>
  </tr>
  </table>

.........

</html>



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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.