[NTG-context] parsing in child attribute

Procházka Lukáš Ing. - Pontex s. r. o. LPr at pontex.cz
Mon May 4 09:37:32 CEST 2015


Hello,

On Mon, 04 May 2015 00:09:38 +0200, Pablo Rodriguez <oinos at gmx.es> wrote:

> And chapter 7 is especially cryptic to me, In fact, I tried
> \xmlattribute {#1} {../div} {id} before and it didn’t worked. Now I
> don’t understand why.

I must confirm Pablo's experience with myself
- chapter "Example paths" just tell me "there are great possibilities with x-paths" but I'm not able to "assemble" them successfully.

E.g. there is (pg. 38):

"
pattern: answer/test/child:

1 axis auto-descendent-or-self
2 nodes *:answer
3 axis auto-child
4 nodes *:test
5 axis child
"

How to understand this?
What does "axis" / "node" mean?
What numbers 1 ... 5 mean?

Some basic explanation of such pattern would be nice...

Best regards,

Lukas


-- 
Ing. Lukáš Procházka | mailto:LPr at pontex.cz
Pontex s. r. o.      | mailto:pontex at pontex.cz | http://www.pontex.cz
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038



More information about the ntg-context mailing list