0233e9
diff --git a/magic/Magdir/sgml b/magic/Magdir/sgml
0233e9
index 3f78c2f..991f90d 100644
0233e9
--- a/magic/Magdir/sgml
0233e9
+++ b/magic/Magdir/sgml
0233e9
@@ -17,16 +17,16 @@
0233e9
 
0233e9
 # xhtml
0233e9
 0	string/t		\
0233e9
->15	string		>\0
0233e9
->>19	search/4096/cWbt	\
0233e9
+>19	search/4096/cWbt	\
0233e9
+>>15	string		>\0	(version %.3s)
0233e9
 !:mime	text/html
0233e9
 0	string/t		\
0233e9
->15	string		>\0
0233e9
->>19	search/4096/cWbt	\
0233e9
+>19	search/4096/cWbt	\
0233e9
+>>15	string		>\0	(version %.3s)
0233e9
 !:mime	text/html
0233e9
 0	string/t		\
0233e9
->15	string		>\0
0233e9
->>19	search/4096/cWbt	\
0233e9
+>19	search/4096/cWbt	\
0233e9
+>>15	string		>\0	(version %.3s)
0233e9
 !:mime	text/html
0233e9
 
0233e9
 #------------------------------------------------------------------------------
0233e9
@@ -59,17 +59,14 @@
0233e9
 !:mime	application/xml
0233e9
 0	string/t		\
0233e9
 !:mime	application/xml
0233e9
->15	search/1	>\0			%.3s document text
0233e9
+>15	string/t	>\0			%.3s document text
0233e9
 >>23	search/1	\
0233e9
 >>24	search/1	\
0233e9
 0	string		\
0233e9
 !:mime	application/xml
0233e9
->15	search/1	>\0			%.3s document text
0233e9
+>15	string/t	>\0			%.3s document text
0233e9
 >>23	search/1	\
0233e9
 >>24	search/1	\
0233e9
-0	search/1/wbt	\
0233e9
-!:mime	application/xml
0233e9
-!:strength - 10
0233e9
 0	search/1/wt	\
0233e9
 !:mime	application/xml
0233e9
 !:strength - 10