[NTG-context] xml problem

Bernd Militzer bernd at militzer.net
Mon Apr 16 17:29:35 CEST 2007


Hi Hans,

first thanks for your help at Epen, but reading the different documents 
I could not find out how to define a macro to get the value of a 
specific element of an xml-file.
Running your example I get all elements.

For example:
I wont to get the value of the first name for <person pid="66">

\def\getFirstName#1{{\enableXML\getvalue{person:#1}}} % what is  here to 
change?

Thanks for help again

Bernd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Data.xml
Type: text/xml
Size: 4531 bytes
Desc: not available
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20070416/023c6881/attachment-0001.xml 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getData.tex
Type: application/x-tex
Size: 720 bytes
Desc: not available
Url : http://www.ntg.nl/pipermail/ntg-context/attachments/20070416/023c6881/attachment-0001.tex 


More information about the ntg-context mailing list