On 2010-03-08 <10:57:00>, Hans Hagen wrote:
> On 7-3-2010 18:29, Philipp Gesang wrote:
> 
> >>So in this case, you would have \xmlinclude{test}{afile}{file}.
> >Yes, that did it.  I thoroughly confused the notion of “lpath” in
> >xml-mkiv.pdf.
> 
> it's not xpath but shares quite some properties with it
Well, what I meant was that I thought the second parameter of
\xmlinclude to be a path within the include-file, not the main document.
The xpath--lpath relation is clear enough, I just got this one wrong
because I read lines 111--115 of lxml-ini.mkiv first but the definition
in xml-mkiv only later …

> >>To actually make use of inc.xml in the current document, perhaps
> >>\xmlprocessfile is what you are after?
> >[...] snip
> >That's actually what troubled me in the first mail of this thread.  I
> >don't think \xmlprocessfile is intended to include files this way.
> 
> xml in mkiv is still somewhat experimental although the commands and
> interfaces will stay; the current implementation is the second one
> and has the advanage that it stays closer to xpath and also is more
> roundtrip safe (tables of contents and so); i expect further
> improvements
Will there be documentation on the lua internals?  It is tedious tracing
things down all the way through ConTeXt -> lxml-ini -> lxml-tex ->
lxml-aux to find out (or not) what they're supposed to do.

Regards


Philipp

> 
> i use the xml code in production environments so it's performing
> quite ok now
> 
> Hans
> 
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgpozSEnyJOkW.pgp
Description: PGP signature

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to