zstdzgo.at/zstd/zxml Index | Files

package zxml

import "zgo.at/zstd/zxml"

Package zxml provides functions for working with XML.

Index

Functions

func Format

func Format(xmlDoc []byte, prefix, indent string) ([]byte, error)

Format the XML document xmlDoc.

This is not especially efficient for (very) large XML documents.

Source Files

zxml.go

Version
v0.0.0-20250313035723-1ece53b5d53e (latest)
Published
Mar 13, 2025
Platform
linux/amd64
Imports
6 packages
Last checked
1 day ago

Tools for package owners.