콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
10477 화면

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
3810
1
8월 19
6579
1
10월 16
6671
1
2월 25
2681
3
12월 24
2522