Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
10408 มุมมอง

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
3681
1
ส.ค. 19
6355
1
ต.ค. 16
6498
1
ก.พ. 25
2532
3
ธ.ค. 24
2219