[relaxng-user] detecting a pattern for any?

David Tolpin dvd at davidashen.net
Sun Jan 4 20:26:04 ICT 2004


Hi,

I am using the derivative-based validation for Relax NG (as described by James Clark).

I would like to detect that the rest of a grammar matches any element, that is

any = (element * {any}|attribute * {text}|text)*

but got stuck trying to write the correct algorithm. What is the right way to do it?

David


More information about the relaxng-user mailing list