Hi there,
is there possibility to strip xml namespaces during input via the c# client
api. In the GUI there is a checkbox "strip namespaces" in the "new database"
panel.
I want to use this in a command like this:
session.Execute(@"create db xObermayer E:\Dev\BaseX\04_Obermeyer.xml");
so I dont have to use the namespace stuff like in this query:
var result = session.Execute("XQUERY declare namespace
exp=\"urn:oid:1.0.10303.28.2.1.1\" ; declare namespace" +
" doc=\"urn:oid:1.0.10303.28.2.1.3\"; declare namespace
ifc=\"http://www.iai-tech.org/ifcXML/IFC2x2/FINAL\";" +
" for $x in /doc:iso_10303_28/*/ifc:IfcRelContainedInSpatialStructure
return $x");
Regards
Simon
- - - - - - - - -
Dipl.-Ing. Simon Daum
Lehrstuhl für Computergestützte Modellierung und Simulation
Technische Universität München
Arcisstraße 21
D-80290 München
Tel: +49 89 289 25065
Fax: +49 89 289 25051
Web: www.cms.bv.tum.de<http://www.cms.bv.tum.de>
- - - - - - - - -