From: Guillaume M. <gui...@un...> - 2021-02-04 16:25:13
|
Hello, I have a module which consumes VOTable (table/tr/td with meta data for Astronomy) using a standardised TableAccesProtocol. But depending on the data provider the returned document may get multiple namespaces depending on the version they implement, eg.: declare namespace votable="http://www.ivoa.net/xml/VOTable/v1.2"; (: could be v1.3 v1.4 :) Most data part are the same in the various versions and I would like to support it dynamically without branching/duplication/copy. I tried with the wildcard namespace using *:tag but didn't investigate to know more about performance issues. Is there any best practices, hints or documentation pointers for such use case ? Cheers, -- Guillaume Mella - Ingénieur CNRS OSUG UMS832 : http://www.osug.fr - JMMC : http://www.jmmc.fr/~mellag OSUG-D, 122 rue de la piscine, 38 400 Saint Martin d’Hères, France ☎ +33 (0)4 76 63 58 22 |