Given the following XML, how would I check to see if a particular node is empty. For instance the <sale_price></sale_price>.
What I am trying to do is have a if statement that will run some code if the node is empty or skip it if it is not.
<?xml version="1.0" encoding="iso-8859-1"?>
<Export>
<SAVED_EXPORT>
<id>00-6189</id>
<price>5.46 USD</price>
<sale_price></sale_price>
</SAVED_EXPORT>
</Export>