Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Kevin Lawrence 183 posts 350 karma points
    May 24, 2013 @ 13:04
    Kevin Lawrence
    0

    6.0.5 - Find Node by property value

    Hi,

    I'm importing some content and I'm trying to utilise uQuery.GetNodesByXPath, I have a property called legacyId and it always returns 0 results.

    I've tried the following:

    uQuery.GetNodesByXPath("//*[string(./data [@alias='legacyId']) = '695']

    I've also tried other variations of the XPath but it always returns 0.

    Am I doing something wrong?  All my nodes are published and contain these property values.

    Thanks

Please Sign in or register to post replies

Write your reply to:

Draft