Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
10365 Представления

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!

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
апр. 20
3591
1
авг. 19
6286
1
окт. 16
6450
1
февр. 25
2473
3
дек. 24
2073