跳至內容
選單
此問題已被標幟
1 回覆
10367 瀏覽次數

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 20
3594
1
8月 19
6292
1
10月 16
6450
1
2月 25
2474
3
12月 24
2080