刚刚开始我的XML类,并找到我的错误的解决方案有点麻烦.我收到此错误:"根元素后面的文档中的标记必须格式正确.起始位置:6:2".
任何提示或帮助都会很棒.
<?xml version="1.0" encoding="UTF-8"?>
<heading>
The Twelve Days of Christmas
</heading>
<song> //OxyGen highlights "<song>" as the error, but i'm not sure I understand.
<Day ="One">
<verse>
On the first day of Christmas, my true love sent to me, a partridge in a pear tree.
</verse>
</Day>
<Day="Two">
<verse>
On the second day of Christmas, my true love sent to me
Two turtle doves
and a partridge in a pear tree.
</verse>
</Day>
<Day="Three">
<verse>
On the third day …Run Code Online (Sandbox Code Playgroud) xml ×1