Using SimpleXML
in PHP, I would like to grab ONLY the <lj:reply-count>
node value.
XML:
<lj:security>public</lj:security>
<lj:posterid>631636</lj:posterid>
<lj:reply-count>42</lj:reply-count>
Sort of like this, but obviously not exactly this since it will throw php parse errors
if($item->lj:reply-count)
$replyCount = $item->lj:reply-count
I tried a few other variations and Google'd around, but couldn't seem to find what I'm looking for. Thanks.