xml/javascript

admin

Administrator
Staff member
I'm trying to write xml using Javascript and I'm running into some problems.Basically, the user does something and I (or onmouseover actually) call afunction that returns a string to the tune of:<center><b>Title</b></center><br/><xsl:value-of select="ROW[2]/NAME"/>or if this board translates HTML, use a little imagination and consider theseHTML tags:center b Title /b /center br/ xsl:value-of select="ROW[2]/NAME"/When I pass the string to document.write(), it writes the 'Title' part ofthe string but not the XSL data. I know the data exists because I can hard-codethe above statement and it returns the desired data. Why won't Javascripttranslate the XSL above? Are there any work-arounds?Thanks for any help,Chris Fidyk
 
Back
Top