dcsimg
Get XML attribute with javascript/xsl?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   carl_t
Posted On:   Thursday, July 26, 2001 07:39 AM

Hello! I want to get an XML attribute with javascript. There is an attribute called "scroll" in the "navigation" tag. I don't want the attribut to appear as text in the document. I only want to get it for further use in a javascript function. I've tried with the submitted code but it doesn't work...please help...    Navigate ---some xsl and stuff--- print('{@scroll}'); ]]>]]>    More>>

Hello!

I want to get an XML attribute with javascript. There is an attribute called "scroll" in the "navigation" tag. I don't want the attribut to appear as text in the document. I only want to get it for further use in a javascript function.
I've tried with the submitted code but it doesn't work...please help...



   Navigate






---some xsl and stuff---


   <<Less

Re: Get XML attribute with javascript/xsl?

Posted By:   Bozidar_Dangubic  
Posted On:   Thursday, July 26, 2001 07:50 AM

what do you mean by "i want to get an xml attribute with javascript"? I am not sure that I understand your question. what is the problem with the code that you wrote above? it seems ok, except that you probably need to surround your