File tree Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Expand file tree Collapse file tree 3 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 7070
7171 let uri_attrib a s = Xml. uri_attrib a s
7272
73+ let uris_attrib a ss = Xml. uris_attrib a ss
74+
7375 let space_sep_attrib = Xml. space_sep_attrib
7476
7577 let comma_sep_attrib = Xml. comma_sep_attrib
@@ -858,6 +860,8 @@ struct
858860
859861 let uri_attrib a s = Xml. uri_attrib a s
860862
863+ let uris_attrib a ss = Xml. uris_attrib a ss
864+
861865 let space_sep_attrib = Xml. space_sep_attrib
862866
863867 let comma_sep_attrib = Xml. comma_sep_attrib
Original file line number Diff line number Diff line change @@ -1169,6 +1169,9 @@ module type T = sig
11691169 (* * Same, for URI attribute *)
11701170 val uri_attrib : string -> uri wrap -> 'a attrib
11711171
1172+ (* * Same, for a space-separated list of URI attributes *)
1173+ val uris_attrib : string -> uri list wrap -> 'a attrib
1174+
11721175 (* * Same, for a space-separated list of values *)
11731176 val space_sep_attrib : string -> string list wrap -> 'a attrib
11741177
Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ let rec to_attribute_parser lang name ~loc = function
174174 | [[% type : shape]] ->
175175 [% expr variant]
176176
177+ | [[% type : Xml. uri list ]]
177178 | [[% type : nmtokens]]
178179 | [[% type : idrefs]]
179180 | [[% type : charsets]]
You can’t perform that action at this time.
0 commit comments