A script-enabled browser is required for this page to function properly.

About Converting XML to Forms

The XML to Forms conversion tool, XML2Forms, converts an XML file to a Forms Module. Typically, you will use this conversion tool to convert an XML file that was initially created by the Forms2XML tool. However, it can also be used to convert a Forms XML file that came from another source, or that you have written from scratch. For example, you could write your own Forms XML file, use the XML validation tool XMLValidator to check it for correctness, then use XML2Forms to convert it to a Forms Module.

XML2Forms uses the Oracle XDK's SAXParser implementation to parse the XML and uses the Forms XML Schema to validate it. For each element it encounters, including the FormModule element itself, the conversion tool creates a new Forms Object and sets the properties for each attribute. Any child elements are created as new Forms Objects using the correct owner.

Note: if you modify the XML with a utility or under an operating system (such as Windows 95) that does not support the UTF-8 unicode character set, then the file will be corrupted. The XML2Forms conversion tool will produce incorrect results.

Preparing Your XML for Conversion

If you edited your XML without using the Oracle XDK (for example, if you are using your own XML parser or software, or if you are using the public domain org.w3c/org.xml classes), you must ensure that illegal characters (for example, >, <, &, and so on) do not occur in your code. See HTML Substitutions for Illegal Characters for the list of character substitutions that you will have to make.

There are some special cases in the Forms Object hierarchy for which you will need to add additional code to your XML:


Using the XML to Forms Conversion Tool

Understanding the Generated XML

Using the XML Validator Tool

XML Element Types for Forms Objects