Subject: Re: [xsl] Extraction of data using key() and matches() From: Michael Kay <mike@xxxxxxxxxxxx> Date: Sat, 05 Jun 2010 22:42:34 +0100 |
Hello,
I have a large number of XML data files which contain a table with rows and data cells each (previously Excel files).
I'm interested in finding out whether in the table's data cells there is or is not a given country name. If so I want to record in another file all country names that appear in the data file. The country name may be the only content of the data cell (<col>United Kingdom</col>), or it may be surrounded by other text (<col>Data has been provided for United Kingdom only.</col>). It can also be that more than one country name appears in a table cell. There won't be other elements in the cell, just character data.
My current approach is to have an exhaustive lookup files with *all* country names that are potentially used. For each XML data file, I loop over all country names and query the contents of each data file whether it matches the current country name.
Michael Kay Saxonica
Current Thread |
---|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Extraction of data using key(, Jakob Fix | Thread | Re: [xsl] Extraction of data using , Jakob Fix |
[xsl] Extraction of data using key(, Jakob Fix | Date | Re: [xsl] Extraction of data using , Jakob Fix |
Month |