Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
10346 Vues

Hello all,

According to you, what does the dot mean in this xpath expression??? Where does it locate in the xml file?


        <template id="website_backend_lapagept.assets_backend_pt" name="Assets backend - PT" inherit_id="web.assets_backend">

                <xpath expr="." position="inside">

                        <link rel="stylesheet" href="/website_backend_lapagept/static/src/css/backend_all.css"/>

                </xpath>

        </template>


Thanks to help!

Avatar
Ignorer
Meilleure réponse

Basically that dot is referring to the current item node that is processing. Read more here

http://developer.marklogic.com/blog/xpath-punctuation-part-1

Avatar
Ignorer
Publications associées Réponses Vues Activité
0
avr. 20
3563
1
août 19
6274
1
oct. 16
6444
1
févr. 25
2462
3
déc. 24
2063