Skip to content

Commit

Permalink
Fix mistake in README
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasf committed Feb 7, 2025
1 parent bb1cdfc commit 9dab228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let document = Document()
let root = document.makeDocumentElement(name: "content", defaultNamespace: "http://tomasf.se/xml/example")
let entry = root.addElement("entry")
entry[attribute: "key"] = "price"
entry.appendText("499")
entry.addText("499")
let output = try document.xmlData()
```

Expand Down

0 comments on commit 9dab228

Please sign in to comment.