From: Claudia Lanzl <c.lanzl@web.de>
Subject: get XML data and put it in a table
Date: Tue, 23 Jan 2007 01:31:16 +0100 [thread overview]
Message-ID: <45B55754.5000500@web.de> (raw)
Hello again,
yet another problem.... :(
I have got the following table:
\bTABLE
\bTR \bTD {\ss Name } \eTD \bTD FAMILY NAME
\eTD \eTR
\bTR \bTD {\ss Role} \eTD \bTD ROLE
\eTD \eTR
\bTR \bTD {\ss E-Mail} \eTD \bTD E-MAIL
\eTD \eTR
\eTABLE
and want the first coloumn to be always the same.
The 3 attributes of the second one (FAMILY NAME, ROLE, E-MAIL) should
come from an XML-file.
So how do I get the attributs out of the file to the special position in
the table?
I think this can not be difficult, but it didn´t want to work. Do I have
to go step by step through my document, and ignore those tags I don´t
want to get? I would like to say:
\defineXMLenvironment[user]
\defineXMLenvironment[name]
\defineXMLignore[display]
\defineXMLargument[family] and save this result in a variable.
Hm, I simly don´t know... do I have to group it?
The XML-file looks s.th. similar to that:
<user status="published" type="author"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<name>
<display>
Reiner Ittinger
</display>
<family>
Ittinger
</family>
<given>
Reiner
</given>
</name>
<organisation>
<role>
Student
</role>
</organisation>
<contact>
<emails>
<email>
ittinger@fha.de
</email>
</emails>
</contact>
</user>
Thank you for your help and comments,
tired Claudia
reply other threads:[~2007-01-23 0:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45B55754.5000500@web.de \
--to=c.lanzl@web.de \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).