<commit_before><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet exclude-result-prefixes="d"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:d="http://docbook.org/ns/docbook"
		xmlns="http://www.w3.org/1999/xhtml"
                version="1.0">

  <!-- <xsl:import href="urn:docbkx:stylesheet-orig/xsl/webhelp.xsl" /> -->
  <xsl:import href="webhelp.xsl" />
  <xsl:import href="titlepage.templates.xsl"/>

  <xsl:param name="pdf.url"/>
  <xsl:param name="branding">not set</xsl:param>
  <xsl:param name="section.autolabel" select="1"/>
  <xsl:param name="chapter.autolabel" select="1"/>
  <xsl:param name="appendix.autolabel" select="1"/>
  <xsl:param name="part.autolabel" select="1"/>
  <xsl:param name="reference.autolabel" select="1"/>
  <xsl:param name="qandadiv.autolabel" select="1"/>
  <xsl:param name="webhelp.autolabel" select="1"/>
  <xsl:param name="section.autolabel.max.depth" select="3"/>
  <xsl:param name="section.label.includes.component.label" select="1"/>
  <xsl:param name="component.label.includes.part.label" select="1"/>
  <xsl:param name="ignore.image.scaling" select="1"/>
  <xsl:param name="suppress.footer.navigation">1</xsl:param>
  <xsl:param name="enable.google.analytics">
    <xsl:choose>
      <xsl:when test="$branding = 'rackspace'">1</xsl:when>
      <xsl:otherwise>0</xsl:otherwise>
    </xsl:choose>
  </xsl:param>
  <xsl:param name="google.analytics.id">
    <xsl:choose>
      <xsl:when test="$branding = 'rackspace'">UA-23102455-3</xsl:when>
      <xsl:otherwise/>
    </xsl:choose>
  </xsl:param>
  
<xsl:param name="generate.toc">
appendix  toc,title
article/appendix  nop
article   toc,title
book      title,figure,table,example,equation
chapter   toc,title
part      toc,title
preface   toc,title
qandadiv  toc
qandaset  toc
reference toc,title
sect1     toc
sect2     toc
sect3     toc
sect4     toc
sect5     toc
section   toc
set       toc,title
</xsl:param>

  <xsl:param name="enable.disqus">0</xsl:param>

  <xsl:param name="disqus.shortname">
    <xsl:choose>
      <xsl:when test="$branding = 'rackspace'">rc-api-docs</xsl:when>
      <xsl:when test="$branding = 'openstack'">openstackdocs</xsl:when>
    </xsl:choose>
  </xsl:param>

  <xsl:param name="brandname">
    <xsl:choose>
      <xsl:when test="$branding = 'openstack'">OpenStack</xsl:when>
      <xsl:otherwise>Rackspace</xsl:otherwise>
    </xsl:choose>
  </xsl:param>
  <xsl:param name="main.docs.url">
    <xsl:choose>
      <xsl:when test="$branding = 'openstack'">http://docs.openstack.org/</xsl:when>
      <xsl:otherwise>http://docs.rackspacecloud.com/api/</xsl:otherwise>
    </xsl:choose>
  </xsl:param>

    <xsl:template name="user.footer.content">

        <script type="text/javascript" src="../common/main.js">
            <xsl:comment></xsl:comment>
        </script>
	
	<xsl:if test="$enable.disqus != '0'">
	  <hr />
	  

	  <div id="disqus_thread">
	    <script type="text/javascript">
	      var disqus_shortname = '<xsl:value-of select="$disqus.shortname"/>'; 	      
	    </script>
	    <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>

	    <script type="text/javascript" src="../common/comments.js">
	      <xsl:comment></xsl:comment>
	    </script>
	  </div>
	</xsl:if>    

	<hr/>
	<div class="legal"><a href="index.html">Legal notices</a></div>

    </xsl:template>

    <xsl:template name="breadcrumbs">
      <xsl:param name="home"/>
      <p class="breadcrumbs"><a href="{$main.docs.url}"><xsl:value-of select="$brandname"/> Manuals</a>  <a><xsl:attribute name="href">
      <xsl:call-template name="href.target">
	<xsl:with-param name="object" select="$home"/>
      </xsl:call-template>
      </xsl:attribute><xsl:value-of select="normalize-space(//d:title[1])"/><xsl:apply-templates select="//d:releaseinfo[1]" mode="rackspace-title"/></a> 
      </p> 
      <xsl:if test="$pdf.url != ''">
	<a class="pdficon" href="{$pdf.url}"><img src="../common/images/pdf.png"/></a>	  
      </xsl:if>
    </xsl:template>

      <xsl:template name="webhelpheader">
        <xsl:param name="prev"/>
        <xsl:param name="next"/>
        <xsl:param name="nav.context"/>
        
        <xsl:variable name="home" select="/*[1]"/>
        <xsl:variable name="up" select="parent::*"/>
        
        <div id="header">
	  <a onclick="_gaq.push(['_trackEvent', 'Header', 'logo', 'click']);" target="_blank">
	    <xsl:attribute name="href">
	      <xsl:choose>
		<xsl:when test="$branding = 'openstack'">http://www.openstack.org</xsl:when>
		<xsl:otherwise>http://www.rackspace.com</xsl:otherwise>
	      </xsl:choose>
	    </xsl:attribute>
	    <img src='../common/images/{$branding}-logo.png' alt="{$brandname} Documentation" width="157" height="47" />
	  </a>
	  <xsl:if test="$branding = 'openstack'">
	    <xsl:call-template name="breadcrumbs">
	      <xsl:with-param name="home" select="$home"/>
	    </xsl:call-template><commit_msg>Support specifying pdf url in <?rax?> pi as a pseudo-attribute.<commit_after><?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet exclude-result-prefixes="d"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:d="http://docbook.org/ns/docbook"
		xmlns="http://www.w3.org/1999/xhtml"
                version="1.0">

  <!-- <xsl:import href="urn:docbkx:stylesheet-orig/xsl/webhelp.xsl" /> -->
  <xsl:import href="webhelp.xsl" />
  <xsl:import href="titlepage.templates.xsl"/>

  <xsl:param name="pdf.url">
    <xsl:call-template name="pi-attribute">
      <xsl:with-param name="pis" select="/*/processing-instruction('rax')"/>
      <xsl:with-param name="attribute" select="'pdf.url'"/>
    </xsl:call-template>
  </xsl:param>
  <xsl:param name="branding">not set</xsl:param>
  <xsl:param name="section.autolabel" select="1"/>
  <xsl:param name="chapter.autolabel" select="1"/>
  <xsl:param name="appendix.autolabel" select="1"/>
  <xsl:param name="part.autolabel" select="1"/>
  <xsl:param name="reference.autolabel" select="1"/>
  <xsl:param name="qandadiv.autolabel" select="1"/>
  <xsl:param name="webhelp.autolabel" select="1"/>
  <xsl:param name="section.autolabel.max.depth" select="3"/>
  <xsl:param name="section.label.includes.component.label" select="1"/>
  <xsl:param name="component.label.includes.part.label" select="1"/>
  <xsl:param name="ignore.image.scaling" select="1"/>
  <xsl:param name="suppress.footer.navigation">1</xsl:param>
  <xsl:param name="enable.google.analytics">
    <xsl:choose>
      <xsl:when test="$branding = 'rackspace'">1</xsl:when>
      <xsl:otherwise>0</xsl:otherwise>
    </xsl:choose>
  </xsl:param>
  <xsl:param name="google.analytics.id">
    <xsl:choose>
      <xsl:when test="$branding = 'rackspace'">UA-23102455-3</xsl:when>
      <xsl:otherwise/>
    </xsl:choose>
  </xsl:param>
  
<xsl:param name="generate.toc">
appendix  toc,title
article/appendix  nop
article   toc,title
book      title,figure,table,example,equation
chapter   toc,title
part      toc,title
preface   toc,title
qandadiv  toc
qandaset  toc
reference toc,title
sect1     toc
sect2     toc
sect3     toc
sect4     toc
sect5     toc
section   toc
set       toc,title
</xsl:param>

  <xsl:param name="enable.disqus">0</xsl:param>

  <xsl:param name="disqus.shortname">
    <xsl:choose>
      <xsl:when test="$branding = 'rackspace'">rc-api-docs</xsl:when>
      <xsl:when test="$branding = 'openstack'">openstackdocs</xsl:when>
    </xsl:choose>
  </xsl:param>

  <xsl:param name="brandname">
    <xsl:choose>
      <xsl:when test="$branding = 'openstack'">OpenStack</xsl:when>
      <xsl:otherwise>Rackspace</xsl:otherwise>
    </xsl:choose>
  </xsl:param>
  <xsl:param name="main.docs.url">
    <xsl:choose>
      <xsl:when test="$branding = 'openstack'">http://docs.openstack.org/</xsl:when>
      <xsl:otherwise>http://docs.rackspacecloud.com/api/</xsl:otherwise>
    </xsl:choose>
  </xsl:param>

    <xsl:template name="user.footer.content">

        <script type="text/javascript" src="../common/main.js">
            <xsl:comment></xsl:comment>
        </script>
	
	<xsl:if test="$enable.disqus != '0'">
	  <hr />
	  

	  <div id="disqus_thread">
	    <script type="text/javascript">
	      var disqus_shortname = '<xsl:value-of select="$disqus.shortname"/>'; 	      
	    </script>
	    <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>

	    <script type="text/javascript" src="../common/comments.js">
	      <xsl:comment></xsl:comment>
	    </script>
	  </div>
	</xsl:if>    

	<hr/>
	<div class="legal"><a href="index.html">Legal notices</a></div>

    </xsl:template>

    <xsl:template name="breadcrumbs">
      <xsl:param name="home"/>
      <p class="breadcrumbs"><a href="{$main.docs.url}"><xsl:value-of select="$brandname"/> Manuals</a>  <a><xsl:attribute name="href">
      <xsl:call-template name="href.target">
	<xsl:with-param name="object" select="$home"/>
      </xsl:call-template>
      </xsl:attribute><xsl:value-of select="normalize-space(//d:title[1])"/><xsl:apply-templates select="//d:releaseinfo[1]" mode="rackspace-title"/></a> 
      </p> 
      <xsl:if test="normalize-space($pdf.url) != ''">
	<a class="pdficon" href="{normalize-space($pdf.url)}"><img src="../common/images/pdf.png"/></a>	  
      </xsl:if>
    </xsl:template>

      <xsl:template name="webhelpheader">
        <xsl:param name="prev"/>
        <xsl:param name="next"/>
        <xsl:param name="nav.context"/>
        
        <xsl:variable name="home" select="/*[1]"/>
        <xsl:variable name="up" select="parent::*"/>
        
        <div id="header">
	  <a onclick="_gaq.push(['_trackEvent', 'Header', 'logo', 'click']);" target="_blank">
	    <xsl:attribute name="href">
	      <xsl:choose>
		<xsl:when test="$branding = 'openstack'">http://www.openstack.org</xsl:when>
		<xsl:otherwise>http://www.rackspace.com</xsl:otherwise>
	      </xsl:choose>
	    </xsl:attribute>
	    <img src='../common/images/{$branding}-logo.png' alt="{$brandname} Documentation" width="157" height="47" />
	  </a>
	  <xsl:if test="$branding = 'openstack'">
	    <xsl:call-template name="breadcrumbs">
	      <xsl:with-param name="home" select="$home"/>
	    </xsl:call-template>
{'fraction_non_alphanumeric': 0.20374684527276257, 'fraction_numerical': 0.0102892642205397, 'mean_word_length': 3.640990990990991, 'pattern_counts': {'":': 0, '<': 281, '<?xml version=': 2, '>': 281, 'https://': 0, 'lorem ipsum': 0, 'www.': 8, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6097813', 'n_tokens_mistral': 4005, 'n_tokens_neox': 3537, 'n_words': 542}