Folks,
After kicking an absolute goal on this forum last time (or having that goal kicked for me) I was hoping to get some more help with my latest XPath conundrum.
I need to reference the values of an XML variable in this code via an XPath -
Code:
<od:PageBoxInfo ID="Link6">
<Page>
<PageBox BoxType="MediaBox" Width="594.999" Height="1280"/>
<PageBox BoxType="CropBox" Width="594.999" Height="1280"/>
<PageBox BoxType="BleedBox" Width="594.999" Height="1280"/>
<PageBox BoxType="ArtBox" Width="594.999" Height="1280"/>
<PageBox BoxType="TrimBox" Width="594.999" Height="1280"/>
</Page>
</od:PageBoxInfo>
I'm trying to get the width of the MediaBox. I'm assuming it will be something like -
//od:PageBoxInfo/Page/PageBox/BoxType='MediaBox'/Width
...but, as I've mentioned before, I can barely spell XPath. Any help much appreciated!!
Thanks in advance
HP