Skip to content
iterationlabs edited this page Sep 13, 2010 · 1 revision

You can write custom functions in XSLT and C.

For XSLT, they look like:

<func:function name="user:excited">
   <xsl:param name="input" />
   <func:result select="concat($input, '!!!!!!!')" />
</func:function>

If you run:

{
  "title": "user:excited(h1)",
}

on the Yelp page, you’ll get:

{
  "title": "Amnesia!!!!!!!",
}
Clone this wiki locally