<?xml version="1.0" encoding="utf-8"?>
<ModelBase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Name>k-href</Name>
  <DisplayName>Bind the value into href attribute of the tag. You can also set the value in the href attribute of a tag, only in the later case, you must use the {} to mark the field name that will be used to retrieve value from kooboo data context.</DisplayName>
  <Example>
    <![CDATA[
    <script engine="kscript">
      var url = "http://www.kooboo.com";
    </script> 
    <div>
      <a k-href="{url}">kooboo</a>
      <a k-href="url">kooboo</a>
      <a k-href="{url}/subpages">sublink kooboo</a>
      <a href="/{url}/subpages">sublink kooboo</a>
    </div> 
     
    <!-- result -->
    <div>
      <a href="http://www.kooboo.com">kooboo</a> 
      <a href="http://www.kooboo.com">kooboo</a> 
      <a href="/http://www.kooboo.com/subpages">sublink kooboo</a> 
      <a href="/http://www.kooboo.com/subpages">sublink kooboo</a>
    </div>
  ]]>
  </Example>
</ModelBase>