summaryrefslogtreecommitdiff
path: root/12-xml-expressions-and-patterns.md
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-03-13 17:09:33 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-03-13 17:13:32 -0700
commite6ecfd0de12ecda56cc23f887c807c3ae096c82d (patch)
treefb9ef0529c5b92e552e28be711b5b2379e3a2230 /12-xml-expressions-and-patterns.md
parentd8a09e207cb207f185cae035247bdcc6d71cbfca (diff)
downloadscala-e6ecfd0de12ecda56cc23f887c807c3ae096c82d.tar.gz
scala-e6ecfd0de12ecda56cc23f887c807c3ae096c82d.tar.bz2
scala-e6ecfd0de12ecda56cc23f887c807c3ae096c82d.zip
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...
Diffstat (limited to '12-xml-expressions-and-patterns.md')
-rw-r--r--12-xml-expressions-and-patterns.md6
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.