diff options
author | Shaun McCance <shaunm@src.gnome.org> | 2006-08-21 19:03:40 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@src.gnome.org> | 2006-08-21 19:03:40 +0000 |
commit | c3fa57a4221afe70556dee8b28f228e2aa338f42 (patch) | |
tree | 4d44943dd11a74320e0958995f3547c7ae130d05 | |
parent | 090156ad11c995035021266926221bc837c8839c (diff) | |
download | gnome-doc-utils-c3fa57a4221afe70556dee8b28f228e2aa338f42.tar.gz |
- Use an XSLT namespace alias for XInclude output
* xslt/xsldoc/xsldoc.xsl:
- Use an XSLT namespace alias for XInclude output
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | xslt/xsldoc/xsldoc.xsl | 7 |
2 files changed, 10 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2006-08-21 Shaun McCance <shaunm@gnome.org> + + * xslt/xsldoc/xsldoc.xsl: + - Use an XSLT namespace alias for XInclude output + 2006-08-13 Subhransu Behera <arya_subhransu@yahoo.co.in> * configure.in: Added Oriya (or) to ALL_LINGUAS. diff --git a/xslt/xsldoc/xsldoc.xsl b/xslt/xsldoc/xsldoc.xsl index b1c53f1..8d057ea 100644 --- a/xslt/xsldoc/xsldoc.xsl +++ b/xslt/xsldoc/xsldoc.xsl @@ -18,9 +18,12 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://www.gnome.org/~shaunm/xsldoc" + xmlns:fxi="faux://www.w3.org/2001/XInclude" + xmlns:xi="http://www.w3.org/2001/XInclude" exclude-result-prefixes="doc" version="1.0"> +<xsl:namespace-alias stylesheet-prefix="fxi" result-prefix="xi"/> <xsl:output method="xml" encoding="utf-8" indent="yes"/> <doc:title>Documenting XSLT Stylesheets</doc:title> @@ -583,11 +586,11 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA <xsl:template name="xsldoc.includes"> <xsl:for-each select="xsl:include[@doc:include='true']"> - <include xmlns="http://www.w3.org/2001/XInclude"> + <fxi:include> <xsl:attribute name="href"> <xsl:call-template name="_hrefify"/> </xsl:attribute> - </include> + </fxi:include> </xsl:for-each> </xsl:template> |