From e6ecfd0de12ecda56cc23f887c807c3ae096c82d Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Thu, 13 Mar 2014 17:09:33 -0700 Subject: That was fun: fix internal links. After some dirty grepping, regexing and perling, I present to you: internal links! I wish there was a way to make this more robust, these will only work on the html version, and assume we don't change filenames... --- 12-xml-expressions-and-patterns.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '12-xml-expressions-and-patterns.md') 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. -- cgit v1.2.3