# Using HyperSlab in XDMF

**URL:** https://discourse.paraview.org/t/using-hyperslab-in-xdmf/3737
**Category:** ParaView Support
**Created:** [March 3, 2020, 9:57pm UTC](https://discourse.paraview.org/t/using-hyperslab-in-xdmf/3737 "2020-03-03T21:57:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![keyvanzarerami](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/k/8c91f0/32.png) [@keyvanzarerami](https://discourse.paraview.org/u/keyvanzarerami)
#### Post date: [March 3, 2020, 9:57pm UTC](https://discourse.paraview.org/t/using-hyperslab-in-xdmf/3737/1 "2020-03-03T21:57:18Z")

</div>

I am trying to use HyperSlab in a simple XDMF example. The example includes two triangular elements. The first column of the original connectivity matrix is the element ID:

```
 1 0 1 3
 2 0 3 2

```

So I am using HyperSlab in order to read only the last three columns:

```
 0 1 3
 0 3 2

```

But Paraview does not read the XDMF file correctly. Does anybody know what may be the cause? I used ParaView 5.8.0

```
<?xml version="1.0" ?>
<!DOCTYPE Xdmf SYSTEM "Xdmf.dtd" []>
<Xdmf Version="3.0">
  <Domain>
    <Grid Name="mesh" GridType="Uniform">
      <Topology TopologyType="Triangle" NodesPerElement ="3">
        <DataItem ItemType="HyperSlab" Dimensions="2 3" Type="HyperSlab">
          <DataItem Dimensions="3 2" Format="XML"> 
            0 1
            1 1 
            2 3 
          </DataItem>
          <DataItem ItemType="Uniform" Dimensions="2 4" Format="XML">
            1 0 1 3
            2 0 3 2
          </DataItem>
        </DataItem>
      </Topology>
      <Geometry GeometryType="XY">
        <DataItem Dimensions="4 2" Format="XML">
          0 0
          1 0
          0 1
          1 1
        </DataItem>
      </Geometry>
    </Grid>
  </Domain>
</Xdmf>
```
