From 9c72dd78f25be4a7ffa5af5a242670ec76930d6f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 12 Mar 2005 22:34:38 +0000 Subject: Use new definition of , fixes a bunch of validity errors. (This used to be commit 3eb5c35e47951f320f7c2f4cd478a95f6d48236e) --- docs/xslt/expand-sambadoc.xsl | 14 ++++++-------- docs/xslt/generate-attributions.xsl | 3 +-- docs/xslt/sambadoc2pearson.xsl | 8 ++++---- docs/xslt/upgrade.pl | 10 ++++++++++ 4 files changed, 21 insertions(+), 14 deletions(-) create mode 100644 docs/xslt/upgrade.pl (limited to 'docs/xslt') diff --git a/docs/xslt/expand-sambadoc.xsl b/docs/xslt/expand-sambadoc.xsl index e82f219cf4..39e9e0a16b 100644 --- a/docs/xslt/expand-sambadoc.xsl +++ b/docs/xslt/expand-sambadoc.xsl @@ -7,10 +7,8 @@ (C) Alexander Bokovoy 2002-2004 --> + version="1.1"> @@ -83,18 +81,18 @@ - + <?latex \hspace{1cm} ?> - + - + = - + @@ -126,7 +124,7 @@ - + diff --git a/docs/xslt/generate-attributions.xsl b/docs/xslt/generate-attributions.xsl index 95650cfb77..a6e7f98e16 100644 --- a/docs/xslt/generate-attributions.xsl +++ b/docs/xslt/generate-attributions.xsl @@ -4,7 +4,6 @@ (C) Jelmer Vernooij 2003 --> @@ -57,7 +56,7 @@ < - + 1 diff --git a/docs/xslt/sambadoc2pearson.xsl b/docs/xslt/sambadoc2pearson.xsl index d98e4485f0..23bc30985c 100644 --- a/docs/xslt/sambadoc2pearson.xsl +++ b/docs/xslt/sambadoc2pearson.xsl @@ -23,7 +23,7 @@ - = + = @@ -78,10 +78,10 @@ - - + + = - + diff --git a/docs/xslt/upgrade.pl b/docs/xslt/upgrade.pl new file mode 100644 index 0000000000..8f0a82f0e7 --- /dev/null +++ b/docs/xslt/upgrade.pl @@ -0,0 +1,10 @@ +#!/usr/bin/perl +# Update documents to the Samba DTD V1.0 + +undef $/; + +while(<>) { + s/(.*?)<\/name>(.*?)<\/value><\/smbconfoption>/\2<\/smbconfoption>/g; + s/(.*?)<\/name><\/smbconfoption>//g; + print $_; +} -- cgit