ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: WN <wneimeijer01@cs.com>
Subject: Re: XML filtering
Date: Mon, 04 Sep 2006 02:54:41 +0200	[thread overview]
Message-ID: <44FB7951.8040605@cs.com> (raw)
In-Reply-To: <44FB13C2.5090307@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 2018 bytes --]

pragma@wxs.nl wrote:
> WN wrote:
>   
Another question, still learning, I am struggling with the following. In 
the XML
there is a tag <recordset> indicating a set of records which I map to 
table entries.
After this tag a couple of tags labelled <fieldname> should be 
translated to table header entries
followed by <datarow> which I map to a table row (\bTR \eTR) but
the tag <fieldname> is not grouped in a <datarow> tag.

How can I translate the <fieldname> tags so they will be interpreted as 
entries in the table header ?

Wim

example XML
<category title="BIOS Version">
        <subcategory title="">
            <recordset title="">
                <fieldname>Item</fieldname>
                <fieldname>Value</fieldname>
                <datarow>
                    <fieldvalue>System Version</fieldvalue>
                    <fieldvalue>ASUS   - 30303031 Award Medallion BIOS 
v6.0 Award Plug and Play BIOS Extension v1.0A Award Modular BIOS 
v6.0</fieldvalue>
            </recordset>
        </subcategory>
    </category>
>> Hello,
>>
>> I have a couple of XML's generated by a freeware program which I want 
>> to process with Context.
>> I started experimenting and things look good, however I want to 
>> skip/filter out some of the xml tags
>> like *<computeraudit> Some Text .... </computeraudit>* and 
>> *<disclaimer> Some Text </disclaimer>*
>> so they don't show in the resulting PDF.
>>     
> \defineXMLignore[*computeraudit]*
>
> -----------------------------------------------------------------
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> -----------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   


[-- Attachment #1.2: Type: text/html, Size: 3572 bytes --]

[-- Attachment #2: Type: text/plain, Size: 139 bytes --]

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

      reply	other threads:[~2006-09-04  0:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-03 17:36 WN
2006-09-03 17:41 ` Hans Hagen
2006-09-04  0:54   ` WN [this message]

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=44FB7951.8040605@cs.com \
    --to=wneimeijer01@cs.com \
    --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).