From aab747108d26006b90dd3390799a15c0f6c77ba0 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 8 Sep 2011 13:26:06 +0000 Subject: [PATCH] Basic inter-document and external linking support. --- docs/dtd/module.dtd | 1 + docs/xsls/content.xsls | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/docs/dtd/module.dtd b/docs/dtd/module.dtd index 0b21673ef..d280b90a3 100644 --- a/docs/dtd/module.dtd +++ b/docs/dtd/module.dtd @@ -55,6 +55,7 @@ diff --git a/docs/xsls/content.xsls b/docs/xsls/content.xsls index 9d4bd02e3..c6fe14e9f 100644 --- a/docs/xsls/content.xsls +++ b/docs/xsls/content.xsls @@ -39,7 +39,14 @@ X:stylesheet { X:text{ (} !{@code} X:text{)} } + X:template = "link[@url]" { !!; } X:template = "link[@id and not(@doc)]" { !!; } + X:template = "link[@doc and not(@id)]" { + !!; + } + X:template = "link[@id and @doc]" { + !!; + } X:template = "link" { !!; } X:template = "list[@type='bullet']" { }