From 8c8ddc028b874f32af6b4c9a39859e7a2d17bd35 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Mon, 9 Aug 2004 00:27:01 +0000 Subject: [PATCH] Rewrote olink templates to support new features. --- xsl/html/param.ent | 6 + xsl/html/param.xweb | 12 + xsl/html/xref.xsl | 545 ++++++++++++-------------------------------- 3 files changed, 166 insertions(+), 397 deletions(-) diff --git a/xsl/html/param.ent b/xsl/html/param.ent index 3cbc13a74..a5046a3c9 100644 --- a/xsl/html/param.ent +++ b/xsl/html/param.ent @@ -146,6 +146,12 @@ + + + + + + diff --git a/xsl/html/param.xweb b/xsl/html/param.xweb index daadcfe56..a6b968d11 100644 --- a/xsl/html/param.xweb +++ b/xsl/html/param.xweb @@ -211,6 +211,12 @@ to be incomplete. Don't forget to read the source, too :-) &use.local.olink.style; ¤t.docid; &olink.doctitle; +&olink.debug; +&olink.properties; +&olink.lang.fallback.sequence; +&insert.olink.page.number; +&insert.olink.pdf.frag; +&prefer.internal.olink; &link.mailto.url; &ulink.target; &olink.fragid; @@ -581,6 +587,12 @@ around all these parameters. + + + + + + diff --git a/xsl/html/xref.xsl b/xsl/html/xref.xsl index 02b209d36..457251073 100644 --- a/xsl/html/xref.xsl +++ b/xsl/html/xref.xsl @@ -17,11 +17,6 @@ - - - - @@ -847,213 +842,160 @@ - - - - - - - - Warning: olink linkmode pointer is wrong. - - - - # - - - - - - - - + + + + + + + + + - - - - Olink missing @targetptr attribute value - - - Olink missing @targetdoc attribute value - - - - - - - - - - - - - - - - - - - - Olinks not processed: must specify a $target.database.document parameter - - when using olinks with targetdoc and targetptr attributes. - - - - - Olink error: could not open target database . - - - - Olink error: document id not in target database. - + + + + + + + + + + + + + + + Olink debug: root element of target.database ' + + ' is ' + + '. + + + + + + + + + + + + + + + + + + - - - - - - - - - - - Olink error: could not open data file for document id ''. - - - Olink error: targetptr not found in document id . - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Olink error: cannot compute relative sitemap path because $current.docid '' not found in target database - - - - - Olink error: cannot compute relative sitemap path without $current.docid parameter - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ? - - - - - & - - - - - - + + + + + + + - - - - + + + + - + + + + + + + + + + + + + + + + + + + - - - + + + + + + + Warning: olink linkmode pointer is wrong. + + + + # + + + + + + + + + + + + + ? + + + + + & + + + + + + + + + + + + + + + + + + + + + + @@ -1102,202 +1044,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Olink error: no generated text for targetdoc/targetptr = / - ???? - - - - - - - - - - - - - - - - - - - - - - - - - - - Olink error: cannot locate targetdoc in sitemap - - - - - - - / - - - - - - - - - - - ../ - - - - - - - - - @@ -1322,12 +1068,6 @@ - - - Page numbers make no sense in HTML! (Don't use %p in templates) - - - @@ -1395,4 +1135,15 @@ + + + + + + + + + + + -- 2.40.0