On 08/10/2008, Ed <[EMAIL PROTECTED]> wrote:
> I need to get an attribute from a simple XML response, but I'm having
>  trouble with the syntax.
>
>  I want to get the assetID attribute from the FolderProperties tag:
>
>  <RootContents totalResults="18">
>     <FolderProperties assetID="0cc80002" barkerSourceID="23071"
>  displayName="Tier3" parentAssetID="0cc80001" parentProviderID="*"
>  providerID="*"/>
>  </RootContents>
>
>  Here's what I have tried so far:
>  Reference Name: assetID
>  XPath query: /RootContents/[EMAIL PROTECTED]'assetID']

That does not look right. I think you need:

/RootContents/FolderProperties/@assetID

>  Default Value: NONE
>
>  Thanks in advance,
>
>
>  --
>
> Ed
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to