Browse files

keep working on readme

  • Loading branch information...
1 parent b8adfdd commit e9a24b68fa9e083c08239e1fec29b72c3387c68d @cqfd committed Aug 8, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0
@@ -90,6 +90,11 @@ foo.bars # => an array of all of the bars
foo.bars.first # => the first bar
+This won't work if the pluralized parent node has attributes or if its children
+aren't all singularized versions of itself! Twitter's timeline is an example;
+the parent node's name is `statuses`, and its children are all named
+`timeline`, but the `statuses` node has an attribute.
### Attributes
If your XML node has an attribute named `foo`, you can access that attribute

0 comments on commit e9a24b6

Please sign in to comment.