# XML Toolkit

**URL:** <https://techcommunity.softwareag.com/t/xml-toolkit/101510>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, NaturalONE, NaturalONE-Full-Edition\
**Created:** [September 27, 2012, 5:56pm UTC](https://techcommunity.softwareag.com/t/xml-toolkit/101510 "2012-09-27T17:56:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Todd\_Beckwith](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/todd_beckwith/32/388_2.png) [@Todd\_Beckwith](https://techcommunity.softwareag.com/u/Todd_Beckwith)\
**Post date:** [September 27, 2012, 5:56pm UTC](https://techcommunity.softwareag.com/t/xml-toolkit/101510/1 "2012-09-27T17:56:21Z")

</div>

I currently have no experience with the XML toolkit and am trying to figure out if I can use it for something I want to accomplish. I would like to be able to dump the contents of an adabas file to XML for use as a data connection in Excel. I have successfully generated supporting files using a PDA but when I attempt to generate it using and LDA, I consistently get the error

> [@](#):
>
> E\_0002: No file is available with specified name or number. (DDM INVMASTR-XML not found)

I am trying to generate it using the following options:  
Project: RN2  
Library: RN2  
Object type: Local Data Area  
Object name: INVXMLL

INVXMLL has the following view definition:

```auto
 1 INVXMLL-VIEW VIEW OF INVMASTR-XML
```

We typically keep DDMs in a SYSTEM library but I even created the DDM in my library in case that was the problem. The DDM is:

```auto
DB: 001 FILE: 060 - INVMASTR-XML DEFAULT SEQUENCE:   
TYPE: ADABAS
```

I can successfully read this view via the INVXMLL LDA.

Should I be able to use the toolkit to create the object necessary for dumping a file to XML. If so, any idea why I get the error message in NaturalONE?

Thank you.

---

<div class="post-metadata">

**Author:** ![Eric\_Schindler](https://avatars.discourse-cdn.com/v4/letter/e/bbe5ce/32.png) [@Eric\_Schindler](https://techcommunity.softwareag.com/u/Eric_Schindler)\
**Post date:** [October 4, 2012, 1:37pm UTC](https://techcommunity.softwareag.com/t/xml-toolkit/101510/2 "2012-10-04T13:37:32Z")

</div>

A generation is only possible for top level groups not views.  
One reason for this is, that a view can’t be part of a parameter data area which is used by the generated code.

---

<div class="post-metadata">

**Author:** ![Todd\_Beckwith](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/todd_beckwith/32/388_2.png) [@Todd\_Beckwith](https://techcommunity.softwareag.com/u/Todd_Beckwith)\
**Post date:** [October 4, 2012, 10:30pm UTC](https://techcommunity.softwareag.com/t/xml-toolkit/101510/3 "2012-10-04T22:30:55Z")

</div>

Thank you Eric.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:02pm UTC](https://techcommunity.softwareag.com/t/xml-toolkit/101510/4 "2021-04-02T15:02:28Z")

</div>


