Separate xml rule from main script
Change-Id: I983e69b8e5bc338c76e607df7fd07b6b85004f34
diff --git a/src/xml.xfst b/src/xml.xfst
new file mode 100644
index 0000000..1c7421f
--- /dev/null
+++ b/src/xml.xfst
@@ -0,0 +1,19 @@
+! XML rule
+define XMLns [AsciiLetter [AsciiLetter|Digit|%-]* (%: AsciiLetter [AsciiLetter|Digit|%-]*)] .o. Caseinsensitive;
+read regex [
+ "<" [
+ [
+ XMLns
+ [WS+ XMLns WS*
+ (%= WS*
+ [[%" [? - %" - %>]+ %"] | [%' [? - %' - %>]+ %']]
+ )
+ ]*
+ (WS* "/")
+ ]
+ |
+ [
+ "/" XMLns
+ ]
+ ] WS* ">"
+].u;