# PARSE XML - error NAT0285

**URL:** <https://techcommunity.softwareag.com/t/parse-xml-error-nat0285/75821>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-Web-and-XML-Technology\
**Created:** [December 7, 2007, 3:30pm UTC](https://techcommunity.softwareag.com/t/parse-xml-error-nat0285/75821 "2007-12-07T15:30:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marc\_Suykens](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@Marc\_Suykens](https://techcommunity.softwareag.com/u/Marc_Suykens)\
**Post date:** [December 7, 2007, 3:30pm UTC](https://techcommunity.softwareag.com/t/parse-xml-error-nat0285/75821/1 "2007-12-07T15:30:30Z")

</div>

Problem: unpossible tot STOW the PARSE XML instruction.  
Error: NAT0285 Field reference error; reference invalid or missing.

Version: Natural Mainframe V4.2 / 0003

Example:  
DEFINE DATA LOCAL  
1 #XML\_INPUT (A) DYNAMIC  
1 #XML\_PATH (A) DYNAMIC  
1 #XML\_VALUE (A) DYNAMIC  
END-DEFINE  
\*  
PARSE XML #XML\_INPUT INTO PATH #XML\_PATH VALUE #XML\_VALUE  
DISPLAY (AL=39) #XML\_PATH#XML\_VALUE  
END-PARSE

Why is our mainframe unable to handle the PARSE XML instruction?

---

<div class="post-metadata">

**Author:** ![Finn\_the\_Dane1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/finn_the_dane1/32/132_2.png) [@Finn\_the\_Dane1](https://techcommunity.softwareag.com/u/Finn_the_Dane1)\
**Post date:** [December 7, 2007, 3:35pm UTC](https://techcommunity.softwareag.com/t/parse-xml-error-nat0285/75821/2 "2007-12-07T15:35:41Z")

</div>

## Hi Marc, There are some prerequisites in the installation/configuration. See documentation.. Finn

Profile Settings  
To activate the statements REQUEST DOCUMENT and PARSE XML, set the Natural profile parameter XML=ON.

If the installation platform operates behind an internet firewall or if the internet traffic is routed via a proxy server, the parameter settings for proxy and proxyport have to be specified accordingly.

For further information, refer to the description of the profile parameter XML.

---

<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, 2:48pm UTC](https://techcommunity.softwareag.com/t/parse-xml-error-nat0285/75821/3 "2021-04-02T14:48:59Z")

</div>


