diff --git a/README.md b/README.md index 3f0ab5b..5d4a60a 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Here's a little snippet of an example wikipedia page in the doc: ``` -In our Go code, we define a struct to match the element, its nested element and grab a couple of fields we're interested in ( and ). +In our Go code, we define a struct to match the <page> element, its nested <redirect> element and grab a couple of fields we're interested in (`<text>` and `<title>`). ```go type Redirect struct { Title string `xml:"title,attr"` @@ -76,4 +76,4 @@ for { ``` -I hope this saves you some time if you need to parse a huge XML file yourself. \ No newline at end of file +I hope this saves you some time if you need to parse a huge XML file yourself.