title: Passing dynamics attributes to collective.xdv inline XSL
body: <p>I have the following snippet in rules.xml</p>
  
  <pre><code>&lt;!-- Fix search box to honour Plone rules--&gt;
  &lt;replace css:theme="form#search"&gt;
      &lt;form action="http://localhost:8080/LS/search" name="form1" id="search"&gt;
          &lt;input type="text" name="SearchableText" onclick="make_blank();" onblur="keep_search();" class="search_text_style content_text2"/&gt;       
          &lt;input type="image" src="++resource++lsm/images/template/search.png" width="22" height="22" class="search_btn" /&gt;
  &lt;/form&gt;
  &lt;/replace&gt;
  </code></pre>
  
  <p>How one can pass dynamic attributes to XSL so that I cat set  to be real URL based on the Plone site object? </p>
  
  <p>I can do this by providing helper views, modify XDVTransform, etc. but I'd like to first know what's the recommended approach here.</p>