Re: new exslt namespace: crypto?
Micah Dubinko <[email protected]>
| Newsgroups | gmane.text.xml.xslt.extensions |
|---|---|
| Message-ID | <[email protected]> |
Hi Joel, On what copyright terms is your code available? .micah --- Joel Reed <[email protected]> wrote: > I've implemented md5sum, sha1sum, and ripemd160sum in libexslt > using a new namespace called "crypto". An example stylesheet > can be found below. I'd like to submit this code to the libexslt > project, and would like to see if anyone has feedback on the > use of a separate namespace, the namespace name, or function names. > > i'm not subscribe to this list, so please cc: me. > thank you, > > jr > > <xsl:stylesheet version="1.0" > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > xmlns:crypto="http://exslt.org/crypto" > extension-element-prefixes="crypto"> > > <xsl:template match="foo/bar"> > md5sum=<xsl:value-of select="crypto:md5sum(.)"/> > sha1sum=<xsl:value-of select="crypto:sha1sum(.)"/> > ripemd160sum=<xsl:value-of select="crypto:ripemd160sum(.)"/> > </xsl:template> > > </xsl:stylesheet> > > -- > ------------------------------------------------------------ > Joel W. Reed 412-257-3881 > ---------- http://home.comcast.net/~joelwreed/ ---------- > _______________________________________________ > exslt mailing list > [email protected] > http://www.exslt.org/list ===== Learn XForms today! http://xformsinstitute.com __________________________________ Do you Yahoo!? Win a $20,000 Career Makeover at Yahoo! HotJobs http://hotjobs.sweepstakes.yahoo.com/careermakeover