diff options
Diffstat (limited to '12-xml-expressions-and-patterns.md')
-rw-r--r-- | 12-xml-expressions-and-patterns.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/12-xml-expressions-and-patterns.md b/12-xml-expressions-and-patterns.md index 78bd602d85..5290e9e6c5 100644 --- a/12-xml-expressions-and-patterns.md +++ b/12-xml-expressions-and-patterns.md @@ -15,7 +15,7 @@ changes being mandated by the possibility of embedding Scala code fragments. XML expressions are expressions generated by the following production, where the opening bracket `<` of the first element must be in a position to start the lexical -[XML mode](#xml-mode). +[XML mode](03-lexical-syntax.html#xml-mode). ``` XmlExpr ::= XmlContent {Element} @@ -106,7 +106,7 @@ XNameStart ::= ‘_’ | BaseChar | Ideographic XML patterns are patterns generated by the following production, where the opening bracket `<` of the element patterns must be in a position -to start the lexical [XML mode](#xml-mode). +to start the lexical [XML mode](03-lexical-syntax.html#xml-mode). ``` XmlPattern ::= ElementPattern @@ -118,7 +118,7 @@ An XML pattern has to be a single element pattern. It matches exactly those runtime representations of an XML tree that have the same structure as described by the pattern. -XML patterns may contain [Scala patterns](#pattern-matching-expressions). +XML patterns may contain [Scala patterns](10-pattern-matching.html#pattern-matching-expressions). Whitespace is treated the same way as in XML expressions. |