Skip to content

Commit fce9bb1

Browse files
author
Erik Olofsen
committed
add cdata
1 parent 313ac83 commit fce9bb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/cdata.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ xdoc = XMLDocument()
55
xroot = create_root(xdoc, "States")
66

77
xs1 = new_child(xroot, "State")
8-
add_cdata(xdoc, xs1, "Massachussetts")
8+
add_cdata(xdoc, xs1, "Massachusetts")
99

1010
rtxt = """
1111
<?xml version="1.0" encoding="utf-8"?>
1212
<States>
13-
<State><![CDATA[Massachussetts]]></State>
13+
<State><![CDATA[Massachusetts]]></State>
1414
</States>
1515
"""
1616

0 commit comments

Comments
 (0)