Note that there are some explanatory texts on larger screens.

plurals
  1. POxsl:call-template within a javascript function?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COThe clause in your if statement will always evaluate to `true` as you are passing a string. You are not actually testing for the nodes. Are you wanting to execute the transform against the webpage or do you have a seperate xml document? If you are performing the transform against the document represented by `document` then could you not accomplish the same using JavaScript DOM?
      singulars
    2. COI have a separate xml document. I'd like to call the info attached to ABC111-06 that's in my access database. The if statement comes from the drop down menu selections. If 1st drop down menu has value of 1, 2nd drop down menu has value of 9, 3rd drop down has value of 22, and 4th drop down has value of 11, then display text from database @ ABC111-06. I'll look into JavaScript DOM, sorry like I mentioned before I'm pretty new to all of this. Thanks.
      singulars
    3. COFrom the point of view of an XSLT transformation, this is just text surrounding a named template invocation. From the point of view of a browser I don't think that those XSLT elements are valid javascript code. If you want to run a transformation **from javascript code** you need to know how to invoque your XSLT processor. In XSLT 1.0 there is no information in the execution context about a starting named template. In XSLT 2.0 that information is precense but how to declare that depends on the XSLT processor API. You might be interestin in beta Saxon javascript XSLT 2.0 processor.
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload