How to read xml file 1s 8.3. Forming an XML file

How to read xml file 1s 8.3. Forming an XML file

Working with XML documents is available directly from the built-in language of the 1C:Enterprise 8 system.

There is a possibility:

  • sequentially read and write xml documents:
    • convert from a string derived from the element's text or XML attribute value to a value according to the specified type;
    • get a string representation of a value to put in the element's text or XML attribute value;
    • get type XML data, corresponding to the type passed as a parameter;
    • check the possibility of reading from XML the value of the specified type;
    • perform XML schema validation when reading XML
    • write the value in XML format;
    • return a type corresponding to the XML data type.
  • use the object data access model of xml documents (DocumentDOM) that conforms to the following standards:
    • DOM Level 2;
    • XPath (DOM Level 3);
    • DOM Load and Save (DOM Level 3).
  • use object model XML Schemas(XML Schema);
  • use the canonical XML standard 1.1 (Canonical XML 1.1).

Using outer join and mechanisms for working with XML, you can organize integration with application systems according to the formats adopted in these systems. To do this, XSL transformation mechanisms are used. For example, for such integration, you can use Microsoft's BizTalk server:

fast infoset

The platform provides tools for working with XML documents in the Fast Infoset binary format. The Fast Infoset technology uses an alternative syntax for displaying XML data. This provides smaller file sizes and more high speed processing than the processing speed of data written in the normal XML format. A file written in the Fast Infoset format has the extension .fi or .finf.