We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cbfdb73 + 6c64c61 commit 5115307Copy full SHA for 5115307
README.md
@@ -12,7 +12,7 @@ Add Nodal as a dependency in your `Package.swift`:
12
13
```swift
14
dependencies: [
15
- .package(url: "https://github.com/tomasf/Nodal.git", .upToNextMinor(from: "0.2.0"))
+ .package(url: "https://github.com/tomasf/Nodal.git", .upToNextMinor(from: "0.3.0"))
16
]
17
```
18
@@ -33,7 +33,7 @@ let document = Document()
33
let root = document.makeDocumentElement(name: "content", defaultNamespace: "http://tomasf.se/xml/example")
34
let entry = root.addElement("entry")
35
entry[attribute: "key"] = "price"
36
-entry.appendText("499")
+entry.addText("499")
37
let output = try document.xmlData()
38
39
0 commit comments