@nx-dotnet/utils
Version:
This library was generated with [Nx](https://nx.dev).
6 lines (5 loc) • 403 B
TypeScript
import { Tree } from '@nx/devkit';
import { XmlDocument, XmlElement } from 'xmldoc';
export declare function readXmlInTree(host: Tree, path: string): XmlDocument;
export declare function readXml(path: string): XmlDocument;
export declare function iterateChildrenByPath(root: XmlElement, path: string, callback: ((element: XmlElement) => Promise<void>) | ((element: XmlElement) => void)): Promise<void>;