Dear all,
I would like to use the combination feature from an XML source.
My XML environment file includes the following definitions:
\defineXMLenvironment[combination]
{\expanded{\startcombination[\XMLpar{combination}{layout}{2}*\XMLpar{combination}{rows}{1}]}}
{\stopcombination}
\defineXMLpickup[combinationentry]
{\defineXMLpush[combinationitem]\defineXMLpush[combinationcaption]}
{\expanded{\bgroup\XMLpop{combinationitem}\egroup\bgroup\XMLpop{combinationcaption}\egroup}}
The XML source that I use looks like this:
<combination columns="2" rows="1">
<combinationentry>
<combinationitem>Image A</combinationitem>
<combinationcaption>Caption for image A</combinationcaption>
</combinationentry>
<combinationentry>
<combinationitem>Image B</combinationitem>
<combinationcaption>Caption for image B</combinationcaption>
</combinationentry>
</combination>
When I process this file I always get the following error:
! Missing { inserted.
<to be read again>
\def
\parseXMLelement #1#2 #3>->\def
\currentXMLarguments {#3}\if #1/\chardef
\ki...
l.5 <combinationentry>
?
I have tried different variations without any success.
Maybe somebody can help me.
Vik
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr f�r 1 ct/ Min. surfen!
_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context