From 9b23bb0d6291c74ad97582dae91c4bc57b389c32 Mon Sep 17 00:00:00 2001 From: Matthias Vill Date: Sat, 19 Jan 2013 15:09:51 +0100 Subject: [PATCH 1/3] - Allow usage of e.g. XHTML inside wadl:doc-elements by using copy-of instead of value-of. - Removed adding of pre-tag to wadl:doc containing "Example" - you can now use e.g. code-tags to have monospaced examples --- wadl.xsl | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/wadl.xsl b/wadl.xsl index c9854ca..76b83d1 100755 --- a/wadl.xsl +++ b/wadl.xsl @@ -383,11 +383,8 @@ - -
-
- + @@ -444,7 +441,7 @@ - + From 9e2f2490d0f0fbc169fe273610dd4709677d274e Mon Sep 17 00:00:00 2001 From: Matthias Vill Date: Sat, 19 Jan 2013 15:26:37 +0100 Subject: [PATCH 2/3] Adjusted comment in wadl.xsl according to last commit. --- wadl.xsl | 1 - 1 file changed, 1 deletion(-) diff --git a/wadl.xsl b/wadl.xsl index 76b83d1..65f22d7 100755 --- a/wadl.xsl +++ b/wadl.xsl @@ -10,7 +10,6 @@ and the README.txt for other usage information. Note that the contents of a doc element is rendered as a: * hyperlink if the title attribute contains is equal to 'Example' - * mono-spaced font ('pre' tag) if content contains the text 'Example' Limitations: * Ignores globally defined methods, referred to from a resource using a method reference element. From 3277a89d0c67bade58e612cee967b13a11771942 Mon Sep 17 00:00:00 2001 From: Matthias Vill Date: Sat, 19 Jan 2013 15:29:18 +0100 Subject: [PATCH 3/3] Added rel="nofollow" to links derived from examples to prevent at least some crawlers from following it. This is most useful for statically rendered pages according to this stylesheet which are indexed by search engines. --- wadl.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadl.xsl b/wadl.xsl index 65f22d7..f804475 100755 --- a/wadl.xsl +++ b/wadl.xsl @@ -380,7 +380,7 @@ - +