I'm running over all textnodes of my DOM and check if the nodeValue contains a certain string.  /html/body//text()[contains(.,'test')]   This is case sensitive. However, I also want to catch Test, TEST oder TesT. Is that possible with X...
I want to use JavaScript to show my XSLT, but on my server nothing is showing up in the browser.  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <script type="text/javascript" src=...
I have an xml in the following format;  <BasePeriod> . . . . <Period>     <start> stdate1 </start>     <end> endate1 </end>     <subperiod>        <substart> substart1 </substart>        <suben...
I get my html template + json data from xsl translator , it is dynamic , it looks like html code plus some data in stringified json. The question is: in what way i put the json string in html code , so that  controller will catch this json data befor...
I have been tasked with fixing up an old site to make it compatible with modern browsers. There are some 3rd party controls that are giving me some fits though, and I am not going to pay to get the latest versions of these controls. One of these old...
Related to this question, you can call Javascript functions from XSL 2.0 transforms running in the browser using Saxon-JS.  But I can't seem to invoke the jQuery-UI calls.  My only thought is that it may be a timing issue where the jQuery selecto...
I am using CDATA to escape the script but in IE8's debugger I still get this message: "Expected ')'" in the for loop conditions. I am assuming it still thinks that the ; in the &lt; generated by CDATA is ending the loop condit...
I've been looking into examples of using XML and XSLT in JavaScript and I don't understand the differences between the different options in IE:   Msxml2.DOMDocument.6.0  Msxml2.DOMDocument.3.0  Microsoft.XMLHTTP Microsoft.XMLDom   So when usi...
I have a page wich contains a XSL as it's source code. Is there any way to get the page source code (as seen on right-click->show source code in IE)?  EDIT: The page source code IS a XSL! I need to store it in a variable to use later....
I have a javascript inside the XSL style sheet. In the javascript, i have a function, getName(node). How do i call this in my xsl? I had used xsl:eval=getname(this) earlier. It worked till IE8. Hasnt worked from IE9 onwards.  Can i use xsl:value-of-s...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.