javascript call from value-of

  • Thread starter biswaranjan.rath
  • Start date
B

biswaranjan.rath

How can i format it so that it'll compile properly

<xsl:value-of select="checkFlag ( '&lt;xsl:value-of
select="@access"/&gt;', '&lt;xsl:value-of
select="@unique_diff_id"/&gt;' ) "/>

checkFlag is a javascript function which expects two parameters.
 
V

VK

biswaranjan.rath said:
How can i format it so that it'll compile properly

<xsl:value-of select="checkFlag ( '&lt;xsl:value-of
select="@access"/&gt;', '&lt;xsl:value-of
select="@unique_diff_id"/&gt;' ) "/>

You can /not/ use XSLT just by guessing and inventing your own rules on
the go, you have to learn it first.
In the particular you may want to learn what does the "xsl:value-of
select" clause mean and how should be used (a hint: it has nothing to
do with <select> form element).
Also XPath is not JavaScript. Ask at <comp.text.xml>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top