Copied to clipboard

Flag this post as spam?

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


  • Mayfly Media 12 posts 177 karma points
    Sep 07, 2011 @ 13:06
    Mayfly Media
    0

    requestHandler.CreateXPathQuery generate XPATH

    when building up the xpath to use to determine which node should be retrieved as the current page for a given url the xpath inlcludes an "or" statement that will return /root/*

    this is obtained from the following xpath /root/* [@urlName = "test-container"] | /root/*

    i.e. if the exact node can't be found return all descendants of root.

     

    Is there a specific reason why this is done?

Please Sign in or register to post replies

Write your reply to:

Draft