Permalink
Browse files

updated README.rst

documentation was slightly unclear: I thought some more magic was working here than actually is. The line is saying that books2 is the same as books, but it is possible to misread it as saying that using a symbol does something different than using a string.
  • Loading branch information...
tommorris committed May 10, 2011
1 parent 98276bf commit 4de69f3d5f1c757e0dfbe3817d3bf9d987c5e473
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rst
View
@@ -142,7 +142,7 @@ You can also pass a ``Symbol`` if that is more convenient::
val xml = ... val xml = ...
val books = xml \ "book" val books = xml \ "book"
val books2 = xml \ 'book // equivalent to `books` val books2 = xml \ 'book // `books2` is equivalent to `books`
You will also note that the ``*`` character is used as a wildcard selector, rather You will also note that the ``*`` character is used as a wildcard selector, rather
than the magical string value ``"_"`` (as in ``scala.xml``). This is because than the magical string value ``"_"`` (as in ``scala.xml``). This is because

0 comments on commit 4de69f3

Please sign in to comment.