---
source: src/exporter/saltxml/tests.rs
expression: result
---
<?xml version="1.0" encoding="UTF-8"?>
<saltCommon:SaltProject xmlns:sCorpusStructure="sCorpusStructure" xmlns:saltCommon="saltCommon" xmlns:saltCore="saltCore" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:version="2.0">
  <sCorpusGraphs>
    <labels xsi:type="saltCore:SFeature" namespace="salt" name="id" value="T::root"/>
    <nodes xsi:type="sCorpusStructure:SCorpus">
      <labels xsi:type="saltCore:SElementId" namespace="salt" name="id" value="T::salt:/root"/>
      <labels xsi:type="saltCore:SFeature" namespace="salt" name="SNAME" value="T::root"/>
    </nodes>
    <nodes xsi:type="sCorpusStructure:SDocument" layers="//@layers.1">
      <labels xsi:type="saltCore:SElementId" namespace="salt" name="id" value="T::salt:/root/doc1"/>
      <labels xsi:type="saltCore:SFeature" namespace="salt" name="SNAME" value="T::doc1"/>
      <labels xsi:type="saltCore:SMetaAnnotation" namespace="test" name="description" value="T::A demo corpus"/>
      <labels xsi:type="saltCore:SMetaAnnotation" namespace="test" name="author" value="T::unknown"/>
    </nodes>
    <nodes xsi:type="sCorpusStructure:SDocument" layers="//@layers.1">
      <labels xsi:type="saltCore:SElementId" namespace="salt" name="id" value="T::salt:/root/doc2"/>
      <labels xsi:type="saltCore:SFeature" namespace="salt" name="SNAME" value="T::doc2"/>
      <labels xsi:type="saltCore:SMetaAnnotation" namespace="test" name="description" value="T::Another demo corpus"/>
    </nodes>
    <edges xsi:type="sCorpusStructure:SCorpusDocumentRelation" source="//@nodes.0" target="//@nodes.1" layers="//@layers.0"/>
    <edges xsi:type="sCorpusStructure:SCorpusDocumentRelation" source="//@nodes.0" target="//@nodes.2" layers="//@layers.0"/>
    <layers xsi:type="saltCore:SLayer" edges="//@edges.0 //@edges.1">
      <labels xsi:type="saltCore:SElementId" namespace="salt" name="id" value="T::l0"/>
      <labels xsi:type="saltCore:SFeature" namespace="salt" name="SNAME" value="T::annis"/>
    </layers>
    <layers xsi:type="saltCore:SLayer" nodes="//@nodes.1 //@nodes.2">
      <labels xsi:type="saltCore:SElementId" namespace="salt" name="id" value="T::l1"/>
      <labels xsi:type="saltCore:SFeature" namespace="salt" name="SNAME" value="T::test-layer"/>
    </layers>
  </sCorpusGraphs>
</saltCommon:SaltProject>
