v:fragment seems to disrupt context
  • It looks like using templates is disrupting the context.

    <v:if path="<v=title>" is="/about[4]/title">
    <v=title>
    </v:if>

    will print the title.

    However, importing from a template (which has no vae at all) this will not work:

    <v:fragment for="content_body">
    <v:if path="<v=title>" is="/about[4]/title">
    <v=title>
    </v:if>

  • 1 Answer sorted by
  • Solved by :



    <v:fragment for="content_body">
    <v:section path="$id">
    <v:if path="title==/about[4]/title">
    <v=title>
    </v:if>
    </v:section>
    </v:fragment>

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

In this Discussion