```
% pandoc -f jats -t native
<fig id="fig-1">
  <caption>
    <p>bar</p>
  </caption>
  <graphic xlink:href="foo.png" xlink:alt-text="baz" />
</fig>
^D
[ Para
    [ Image
        ( "fig-1" , [] , [] ) [ Str "bar" ] ( "foo.png" , "fig:" )
    ]
]
```

```
% pandoc -f jats -t native
<fig id="fig-1">
  <caption>
    <title>foo</title>
    <p>bar</p>
  </caption>
  <graphic xlink:href="foo.png" xlink:alt-text="baz" />
</fig>
^D
[ Para
    [ Image
        ( "fig-1" , [] , [] )
        [ Str "foo" , LineBreak , Str "bar" ]
        ( "foo.png" , "fig:" )
    ]
]
```
