xml

package module
v0.0.0-...-52e1e58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2021 License: MIT Imports: 5 Imported by: 0

README

objx-xml

Build xml files to a given objx definition from objx data

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type XmlBuilder

type XmlBuilder struct {
	BatchRootNode string
	RootNode      string
	Schema        objx.Map
	ProcessData   bool
}

XmlBuilder builds an xml output to objx definition with objx data

func (*XmlBuilder) Process

func (x *XmlBuilder) Process(data objx.Map) (string, error)

Process builds an xml output for the schema

type XmlDocument

type XmlDocument struct {
	*etree.Document
}

XmlDocument represents an xml document

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL