This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Selecting a random node from source-tree


In XSLT 1.0

How do I select a random node from the source-tree or from an external
document?
I was thinking of an XPath expression like this:

document('funnies.xml')/funnies/quote[random()]

Can I avoid using extension elements?

If not: how do I do it in Xalan-C++?
I am only familiar with MSXML and Xalan-J extension elements.

Thanks for your help.
Martin Lormes
alphaByte(.de)




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]