OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

relax-ng-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: [relax-ng-comment] Other separators for list element


I am trying to code the Mozilla XUL syntax into a Relax NG schema.

XUL uses the <list> concept, but the values are separated by commas -
not spaces.

May I suggest an extension of the <list> pattern, as follows:

<list listseparator="regexp">
...
</list>
e.g.
<list listseparator="/,\s*/">  a comma plus whitespace.

If the regexp followed the Javascript or Pearl syntax, lists of any
reasonable type of list could be constructed.
List content could then be easily obtained with the
    arrayOfListItems = string.split(regexp) idiom in Javascript.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC