From: <xm...@us...> - 2007-07-12 03:14:51
|
Revision: 7013 http://svn.sourceforge.net/docbook/?rev=7013&view=rev Author: xmldoc Date: 2007-07-11 20:14:49 -0700 (Wed, 11 Jul 2007) Log Message: ----------- Adjusted xsl2jref to copy over any attributes on source doc:reference instances (primarily embedded doc for params) and to also copy any PIs that are children of doc:reference. That ensures that any id/xml:id attributes get copied over -- so that they can be used when use.id.as.filename is on -- and that any dbhtml@dir and dbhtml@filename PIs can be used for moving files into the correct subdirs and are output with right names. Modified Paths: -------------- trunk/xsl/tools/xsl/build/xsl2jref.xsl Modified: trunk/xsl/tools/xsl/build/xsl2jref.xsl =================================================================== --- trunk/xsl/tools/xsl/build/xsl2jref.xsl 2007-07-12 03:09:21 UTC (rev 7012) +++ trunk/xsl/tools/xsl/build/xsl2jref.xsl 2007-07-12 03:14:49 UTC (rev 7013) @@ -94,6 +94,8 @@ <xsl:choose> <xsl:when test="doc:reference"> <reference> + <xsl:copy-of select="doc:reference/@*"/> + <xsl:copy-of select="doc:reference/processing-instruction()"/> <xsl:apply-templates/> </reference> <xsl:text> </xsl:text> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |