OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CAN NOT Passing value from 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>