* references to external documents
@ 2003-11-26 11:55 Pawel Jackowski na Onet
2003-11-28 15:25 ` Hans Hagen
0 siblings, 1 reply; 2+ messages in thread
From: Pawel Jackowski na Onet @ 2003-11-26 11:55 UTC (permalink / raw)
Hi all!
I'm working with huge XML documents which are compiled to PDF (with ConTeXt)
and converted to HTML (with XSLT and others). These XML documents contain
references to external files (images). References are mapped to paths with
XML code; i.e. <imgref id="cow" src="./images/cow.png"/>. Translating such
a map to ConTeXt is rather obvious. But how to implement simmilar mechanism
for external XML documents? In example I would like to use command
\useexternaldocument[intro][introduction.xml] and than process
'introduction.xml' on the base of is ID reference ('intro').
Is it possible? Does ConTeXt suport referencing documents as well as
figures?
Regards, Pawe/l
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: references to external documents
2003-11-26 11:55 references to external documents Pawel Jackowski na Onet
@ 2003-11-28 15:25 ` Hans Hagen
0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2003-11-28 15:25 UTC (permalink / raw)
At 12:55 26/11/2003, Pawel Jackowski na Onet wrote:
>Hi all!
>
>I'm working with huge XML documents which are compiled to PDF (with ConTeXt)
>and converted to HTML (with XSLT and others). These XML documents contain
>references to external files (images). References are mapped to paths with
>XML code; i.e. <imgref id="cow" src="./images/cow.png"/>. Translating such
>a map to ConTeXt is rather obvious. But how to implement simmilar mechanism
>for external XML documents? In example I would like to use command
>\useexternaldocument[intro][introduction.xml] and than process
>'introduction.xml' on the base of is ID reference ('intro').
>
>Is it possible? Does ConTeXt suport referencing documents as well as
>figures?
you can use this:
\definefilesynonym[indirect][whatever.xml]
\starttext
\processXMLfile{\truefilename{indirect}}
\stoptext
given that the whatever.xml file is there
Hans
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-28 15:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-26 11:55 references to external documents Pawel Jackowski na Onet
2003-11-28 15:25 ` Hans Hagen
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).