I just started working with XML. However, I have been working with
HTAs and VBScripts for a while now. I am building an HTA that would
generate data into an XML file, and display it in a Data Island (which
I found is the easiest way to display it in this case.. since there
would an X number of data sources, with the same XML format). The
problems came when I had to filter the XML data to show only a certain
criteria. I could not embed XQuery code into the document as I am not
sure if there is a way to get the XQuery and Data Island to work
together to produce only a limited record set in the output table.
I then started looking at multidimensional array sorting and class
creation and sorting, I felt as though my mind was frying. XQuery
seems much easier but there was no easy way to use it since the Data
Island itself is a dynamic table with a dynamic data source spanning
different data types.
I thought probably the best way to achieve a filtered XML would be to
obtain a XQuery application (a small portable parser) that would run
against the original XML file producing a newer modified XML with the
needed data. I could not find such an application.
Has anyone got an efficient solution to such a problem? Thank you for
your time.
- Nasser