Skip to main content
1-Visitor
June 18, 2014
Question

FOSI - EPIC 5.2

  • June 18, 2014
  • 2 replies
  • 1641 views

Bonjour,

J'ai un fichier SGML

<para1>

<title>xxxxx</title>

<para><p>ccccc</p></para>

<para><p>ddddd</p></para>

</para1>

Lorsque je suis sur <p>cccc</p> je voudrai savoir s'il existe un <title>

Comment faut il coder la FOSI pour ce test parent et ancestor ne sont pas la solution, existe t il d'autre objets ?

Merci

Cdlt.

    2 replies

    NENESS1-VisitorAuthor
    1-Visitor
    June 18, 2014

    c'est ok avec xpath

    12-Amethyst
    June 18, 2014

    If I translate correctly, you want to know if an optional <title> exists. PDF from my book is attached that describes how to do this.

    NENESS1-VisitorAuthor
    1-Visitor
    June 19, 2014

    Merci