One thing I found helpful: if you're filtering (selecting a subset of all the records in the file), do the record selection first, then the sort. It's far faster. Might be obvious, but I discovered it the hard way.
I Have to load a dataset from an XSD. That XSD has sequences and groups with the tables. Due those groups and sequences after the ds.ReadXMLSchema(MyXSD) I see that the tables are not in an alphabetical order.
I have to serialize the dataset to an XML that is validating by an other programm that alerts that tables in XML are not sorted.
I don't want to alterate the original XSD but I want my tables in the right order (sorted).
The dataset has also relations so I can't remove tables and add them again sorted in dataset. I can't recreate relations by code as they are from XSD (I have a motivation) so the only solution is to apply a transformation on the resulted XML. So I need an XSL to order TABLES (!!), not recordings. Child tables of a parent table.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.