From 37787c8670afc490fa35826c7573ec3f3430cedc Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Mon, 25 Jun 2012 15:51:20 +0000 Subject: [PATCH] Add support for fragment identifiers in fileref in a resource element. --- xsl/assembly/assemble.xsl | 80 +++++++++++++++++++++++++-------------- 1 file changed, 51 insertions(+), 29 deletions(-) diff --git a/xsl/assembly/assemble.xsl b/xsl/assembly/assemble.xsl index 1abc6bf21..c09af8861 100644 --- a/xsl/assembly/assemble.xsl +++ b/xsl/assembly/assemble.xsl @@ -337,15 +337,33 @@ + + + + + + + + + + + + + + + + + + + '/', $filename)"/> - + @@ -357,21 +375,25 @@ - + - - - + + + + ERROR: @fileref = ' ' has no content or is unresolved. - + - + @@ -391,16 +413,16 @@ - + - - + + - + - + @@ -436,7 +458,7 @@ - + @@ -445,9 +467,9 @@ - + - + @@ -459,7 +481,7 @@ - - - - - - - - - + $ref.content/d:info/node() or + $ref.content/d:title[$omittitles.boolean = 0] or + $ref.content/d:subtitle[$omittitles.boolean = 0] or + $ref.content/d:titleabbrev[$omittitles.boolean = 0]"> + + + + + + + + -- 2.40.0