[yelp-xsl] mal2html-svg: Use either @xml:id or @id for SVG filename
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp-xsl] mal2html-svg: Use either @xml:id or @id for SVG filename
- Date: Sun, 31 Jul 2011 17:53:04 +0000 (UTC)
commit a507c29a542ccd0cd6e89d7fc1b5a9650376b98b
Author: Shaun McCance <shaunm gnome org>
Date: Sun Jul 31 13:59:10 2011 -0400
mal2html-svg: Use either @xml:id or @id for SVG filename
xslt/mallard/html/mal2html-svg.xsl | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/xslt/mallard/html/mal2html-svg.xsl b/xslt/mallard/html/mal2html-svg.xsl
index 5a0a80b..c40ec79 100644
--- a/xslt/mallard/html/mal2html-svg.xsl
+++ b/xslt/mallard/html/mal2html-svg.xsl
@@ -91,6 +91,9 @@ certain Mallard extensions, for example to use the Mallard linking mechanism.
<xsl:when test="@xml:id">
<xsl:value-of select="@xml:id"/>
</xsl:when>
+ <xsl:when test="@id">
+ <xsl:value-of select="@id"/>
+ </xsl:when>
<xsl:otherwise>
<xsl:value-of select="generate-id(.)"/>
</xsl:otherwise>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]