Table of Contents

Method Parse

Namespace
LMKit.Inspection
Assembly
LM-Kit.NET.dll

Parse(string)

Parses an XMP packet into its flattened properties.

public static IReadOnlyList<XmpProperty> Parse(string xmp)

Parameters

xmp string

The packet text (the <x:xmpmeta> or bare rdf:RDF document). May be null or empty.

Returns

IReadOnlyList<XmpProperty>

The flattened properties in document order - a repeatable container (rdf:Bag / rdf:Seq) contributes one entry per item under its name, and otherwise the first occurrence of a name wins; empty when the input is absent, malformed, or carries no facts.

Share