I've been trying to get at the nested file urls in the code below, in order to assign them to attached files for the node:
<files>
<div class="item-list">
<ul>
<li class="first">http://site.com/files/PD_Case_Study_Porgera_0.pdf
</li>
<li>http://site.com/files/PD_Case_Study_Porgera_1.pdf
</li>
</ul>
</div>
</files>
Using the setting code files/div/ul/li
returns nothing in the debug however using files
does return the whole content intact.
I'm using the XPath XML Parser and not the XPath HTML - since HTML is XML and my code is a mix of both.
Am I missing some special code to call nested
thanks