[NTG-context] XML filtering

WN wneimeijer01 at cs.com
Mon Sep 4 02:54:41 CEST 2006

pragma at 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 ?


example XML
<category title="BIOS Version">
        <subcategory title="">
            <recordset title="">
                    <fieldvalue>System Version</fieldvalue>
                    <fieldvalue>ASUS   - 30303031 Award Medallion BIOS 
v6.0 Award Plug and Play BIOS Extension v1.0A Award Modular BIOS 
>> 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 at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.ntg.nl/pipermail/ntg-context/attachments/20060904/66acbd20/attachment.html 

More information about the ntg-context mailing list