ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* layers and XML
@ 2003-06-26 11:20 Piotr Kopszak
  2003-06-26 11:54 ` Piotr Kopszak
  0 siblings, 1 reply; 3+ messages in thread
From: Piotr Kopszak @ 2003-06-26 11:20 UTC (permalink / raw)


Hello, 

I am having trouble with popping XML elements onto a new layer. 
Preferably      I      would       like      to      use      elements
"datowanie","datowanie-projektu" and "architekci" inside \framed which
would be inside \setlayer. 

<info-w-ramce>
   <datowanie>1927--38</datowanie>
   <datowanie-projektu>1926</datowanie-projektu>
   <pelny-adres>Aleje Jerozolimskie 3, Warszawa</pelny-adres>
   <architekci>Architects: 
    Tadeusz Tolwinski, 
    E. Oczkowski, 
    Antoni Dygat</architekci>
</info-w-ramce>

Has anyone tried anything similar? 

Thanks in advance for any help

Piotr

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

* Re: layers and XML
  2003-06-26 11:20 layers and XML Piotr Kopszak
@ 2003-06-26 11:54 ` Piotr Kopszak
  2003-06-29 19:00   ` Simon Pepping
  0 siblings, 1 reply; 3+ messages in thread
From: Piotr Kopszak @ 2003-06-26 11:54 UTC (permalink / raw)



> Hello, 
> 
> I am having trouble with popping XML 
> [...]
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context


P.S. 

I forgot to attach the piece code with which I attempted to deal with that. 
Here it is. 


\defineXMLenvironment[info-w-ramce]{\defineXMLpush[pelny-adres]
\defineXMLpush[datowanie] 
\defineXMLpush[architekci]
\defineXMLpush[datowanie-projektu] 
\setlayer[ramka][x=5cm,y=1cm]
\bgroup}
{ \framed{\XMLpop{datowanie} 
\XMLpop{datowanie-projektu}
\XMLpop{pelny-adres} 
\XMLpop{architekci}
	}
}

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

* Re: layers and XML
  2003-06-26 11:54 ` Piotr Kopszak
@ 2003-06-29 19:00   ` Simon Pepping
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Pepping @ 2003-06-29 19:00 UTC (permalink / raw)


On Thu, Jun 26, 2003 at 01:54:25PM +0200, Piotr Kopszak wrote:
> 
> > Hello, 
> > 
> > I am having trouble with popping XML 
> > [...]
> > ntg-context mailing list
> > ntg-context@ntg.nl
> > http://www.ntg.nl/mailman/listinfo/ntg-context
> 
> \defineXMLenvironment[info-w-ramce]{\defineXMLpush[pelny-adres]
> \defineXMLpush[datowanie] 
> \defineXMLpush[architekci]
> \defineXMLpush[datowanie-projektu] 
> \setlayer[ramka][x=5cm,y=1cm]

Syntax error in setlayer: \setlayer[ramka]{x=5cm,y=1cm}

> \bgroup}

This bgroup has no matching egroup.

> { \framed{\XMLpop{datowanie} 
> \XMLpop{datowanie-projektu}
> \XMLpop{pelny-adres} 
> \XMLpop{architekci}
> 	}
> }

Regards, Simon

-- 
Simon Pepping
email: spepping@scaprea.hobby.nl

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

end of thread, other threads:[~2003-06-29 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-26 11:20 layers and XML Piotr Kopszak
2003-06-26 11:54 ` Piotr Kopszak
2003-06-29 19:00   ` Simon Pepping

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).