internal

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2020 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceEscapedXml

func ReplaceEscapedXml(src []byte) []byte

Unescape characters escaped by sharepoint https:://docs.microsoft.com/en-us/dotnet/api/system.xml.xmlconvert.encodename?view=netframework-4.7.2#System_Xml_XmlConvert_EncodeName_System_String_

Types

type JsonEntry

type JsonEntry struct {
	Id    json.Number     `json:"ID"` // id of this XmlEntry
	Value json.RawMessage // un-marshalled data
}

func ParseJsonSharepointValues

func ParseJsonSharepointValues(r io.Reader) (entries []JsonEntry, err error)

type XmlEntry

type XmlEntry struct {
	Id    string       `xml:"content>properties>ID"` // id of this XmlEntry
	Value xml.CharData `xml:",innerxml"`             // un-marshalled data
}

func ParseXmlSharepointEntries

func ParseXmlSharepointEntries(r io.Reader) (entries []XmlEntry, err error)

Jump to

Keyboard shortcuts

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