Copied to clipboard

Flag this post as spam?

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


  • Brett Spencer 88 posts 259 karma points
    Feb 01, 2021 @ 19:46
    Brett Spencer
    0

    Stop Multinode TreePicker from drilling down to current content level

    I have tried multiple xpath queries to only get the root or level=1.

    Unfortunately, no matter what I do, it keeps drilling down to the current level and I always have to hit the back link to get back where all of the allowed doctypes are - on the root.

    All I need is simply $root or //root and have even tried $root/ancestor-or-self::*[self::root] plus a few others but it always drills down way past where I need it to:

    enter image description here

    Is there a way to keep the dialog from drilling down and only give me the level that I am asking for in the xpath?

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft