ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* including xml files
@ 2010-03-03 13:28 Philipp Gesang
  2010-03-07 10:14 ` Philipp Gesang
  0 siblings, 1 reply; 11+ messages in thread
From: Philipp Gesang @ 2010-03-03 13:28 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 748 bytes --]

Hi all,


what is the recommended way of including an xml tree from one file in
another?  Right now I'm stuck with the following

\startxmlsetups xml:inc
    \xmlprocessfile{inc}{\xmlatt{#1}{file}}{}
\stopxmlsetups

combined with <inc file="inc.xml"/> in the xml source.  But although the
content of inc.xml is processed the headings it contains don't show up
in the toc (there _is_ an entry for them and a page reference as well
but no title).

Personally, I'd prefer some include method like file entities (<!ENTITY
inc SYSTEM "inc.xml">) but they don't seem to work.

Thanks for any suggestions,


Philipp

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

[-- Attachment #1.2: Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 486 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-03-08 21:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-03 13:28 including xml files Philipp Gesang
2010-03-07 10:14 ` Philipp Gesang
2010-03-07 12:52   ` Taco Hoekwater
2010-03-07 17:29     ` Philipp Gesang
2010-03-08  9:57       ` Hans Hagen
2010-03-08 12:30         ` Philipp Gesang
2010-03-08 13:22           ` Hans Hagen
2010-03-08 19:33         ` Thomas A. Schmitz
2010-03-08 20:32           ` Hans Hagen
     [not found]             ` <66F96041-9A2F-4A70-A7B5-9552086807DC@uni-bonn.de>
2010-03-08 21:04               ` Hans Hagen
2010-03-08 21:08                 ` Thomas A. Schmitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).