Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
burnettryan #1
javascript and xsl
I am having a problem with using xsl/xml and javascript. I am trying to
dynamically display some data from an XML file using javascript. This following
is the function call:
function displayText_HTML(display)
{
anch = document.createElement("a");
newText = document.createTextNode('<xsl:value-of
select="Procedures/Procedure/Question/Name"/>');
anch.appendChild(document.createElement("br"));
anch.appendChild(newText);
document.getElementById("body").appendChild(anch);
}
The problem is that when i call this function when it is declared inside of
the *.xsl document (e.g. <script />) I get the correct output; get_mouse, but
when the funciton is declared inside of a javascript file (*.js) I get the
following output:
<xsl:value-of select="Procedures/Procedure/Question/Name"/>
Does anyone have any idea of how to get the 2 functions to return the same
value? How to execute an xsl statement inside of a *.js file?
burnettryan Guest
-
Include javascript in a javascript file
Hello, Is there a way to include a javascript file from WITHIN a javascript file? Something similar as in the "#include" directive in C++? ... -
cfm to htm & javascript
We just upgraded from 5 to MX 7. We have a page that we flatten from cfm to htm. There are popup window links on the page in the form of... -
output text in control location; calling control javascript from page javascript
Hi; If you don't know, I'm just learning javascript and aspnet, but I have a pretty good grounding in windows programming. I'm trying to build a... -
JavaScript - How do you add an action to the JavaScript action menu
Greetings, I'd like to add custom script(s) to the drop down list of actions in Acrobat. We are creating an app where many authors will be... -
need javascript staff (anyone who knows javascript peroid) (READ)
hey its me ultimategamerx and im back in some clothes lol i need some people who know java script i need help please reply if ya know some



Reply With Quote

