compilePattern

fun compilePattern(pattern: String): XPathSelector(source)

Compiles a match pattern.

This method is public so that the pattern provided to, for example p:viewport, can be checked statically.