<div dir="ltr">Hi all,<div>  I am using xmerl_scan to decode a xml string, but when calling xmerl_scan:sting, it returns in a tuple:</div><div><br></div><div>{xmlElement{}, Rest}</div><div><br></div><div>I've searched about this API, looks like we all ignore the Rest in return.</div><div><br></div><div>So what is the Rest used for?? Should I ignore them??</div><div><br></div><div>Here is the defination of  xmerl_scan:string/1 in erlang OTP 19, </div><div><br></div><div>







<p class="gmail-p1"><span class="gmail-s1"><b>string(Text::list()) -> {</b></span><span class="gmail-s2"><b>xmlElement()</b></span><span class="gmail-s1"><b>, Rest}</b></span></p><p class="gmail-p1"><br class="gmail-Apple-interchange-newline"> Great thanks.<br></p><p class="gmail-p1"><br></p></div></div>