Hi, I am looking for a native XML DB supporting schema aware functions like let $c1 := doc("s1.xml")/s1:n1 $c1 instance of element(s1:n1,xs:string)
s1.xml: <s1:n1 xmlns:s1="foo:bar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="foo:bar test1.xsd">hello</s1:n1>
s1.xsd: <?xml version="1.0" encoding="UTF-8"?> <schema targetNamespace="foo:bar" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema"> <element name="n1" type="QName"/> </schema>
Does BaseX support these schema aware functions?
Thanks and best regards Malix