Re: Using Javascript to pass a parameter to the <xsl:sort> element
Emmanouil Batsis <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.layout.xslt |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Maria me ta kitrina, Maria Amuchastegui wrote: > xsltProcessor.setParameter(null, "sortKey", column); > xsltProcessor.setParameter(null, "sortOrder", order);; The parameter is evaluated as an XPath expression, so if you want it to result to a string instead of a node set, you probably also want "'sortKey'" instead of "sortKey" etc. You also have an empty statement above. Cheers, Manos