~ubuntu-branches/ubuntu/gutsy/gnome-doc-utils/gutsy

« back to all changes in this revision

Viewing changes to xslt/xsldoc/xsldoc.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-09-05 11:56:29 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20060905115629-do4msczu8834bh5u
Tags: 0.8.0-0ubuntu1
* New upstream release:
  - Use an XSLT namespace alias for XInclude output
  - Updated translations
* Resynchronize with Debian, only Ubuntu changes are:
  - debian/rules: build .pot file.
  - debian/control.in: build-depends on intltool.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
20
20
                xmlns:doc="http://www.gnome.org/~shaunm/xsldoc"
 
21
                xmlns:fxi="faux://www.w3.org/2001/XInclude"
 
22
                xmlns:xi="http://www.w3.org/2001/XInclude"
21
23
                exclude-result-prefixes="doc"
22
24
                version="1.0">
23
25
 
 
26
<xsl:namespace-alias stylesheet-prefix="fxi" result-prefix="xi"/>
24
27
<xsl:output method="xml" encoding="utf-8" indent="yes"/>
25
28
 
26
29
<doc:title>Documenting XSLT Stylesheets</doc:title>
583
586
 
584
587
<xsl:template name="xsldoc.includes">
585
588
  <xsl:for-each select="xsl:include[@doc:include='true']">
586
 
    <include xmlns="http://www.w3.org/2001/XInclude">
 
589
    <fxi:include>
587
590
      <xsl:attribute name="href">
588
591
        <xsl:call-template name="_hrefify"/>
589
592
      </xsl:attribute>
590
 
    </include>
 
593
    </fxi:include>
591
594
  </xsl:for-each>
592
595
</xsl:template>
593
596