Skip to main content
1-Visitor
Jun 18, 2014 9:46 AM UTC
Question

FOSI - EPIC 5.2

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.

    3 replies

    NENESS1-VisitorAuthor
    1-Visitor
    Jun 18, 2014 2:00 PM UTC

    c'est ok avec xpath

    Translate
    12-Amethyst
    Jun 18, 2014 4:53 PM UTC

    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.

    Translate
    NENESS1-VisitorAuthor
    1-Visitor
    Jun 19, 2014 5:01 AM UTC

    Merci

    Translate