Akron | c840636 | 2021-11-09 20:17:50 +0100 | [diff] [blame] | 1 | ! XML rule |
2 | define XMLns [AsciiLetter [AsciiLetter|Digit|%-]* (%: AsciiLetter [AsciiLetter|Digit|%-]*)] .o. Caseinsensitive; | ||||
Akron | 61948ef | 2022-03-30 14:07:57 +0200 | [diff] [blame] | 3 | define XML [ |
Akron | c840636 | 2021-11-09 20:17:50 +0100 | [diff] [blame] | 4 | "<" [ |
5 | [ | ||||
6 | XMLns | ||||
7 | [WS+ XMLns WS* | ||||
8 | (%= WS* | ||||
9 | [[%" [? - %" - %>]+ %"] | [%' [? - %' - %>]+ %']] | ||||
10 | ) | ||||
11 | ]* | ||||
12 | (WS* "/") | ||||
13 | ] | ||||
14 | | | ||||
15 | [ | ||||
16 | "/" XMLns | ||||
17 | ] | ||||
18 | ] WS* ">" | ||||
19 | ].u; |