Extract rows from an XML file(从 XML 文件中提取行(Extract rows from an XML file))¶
Supported in: Batch
Reads a dataset of files and parses each XML file into rows.
Transform categories: File
Declared arguments¶
- Dataset: Dataset of files to process.
Files - Schema: Schema definition used when parsing the xml files.
Type\ - XML tag: XML tag that will be used as basis to generate one row per tag.
Literal\ - optional Attribute prefix: Prefix for attributes on tags.
Literal\ - optional Encoding: The encoding type (character set) of the input file.
Enum\ - optional Value tag: The tag used for the value when there are attributes in the element having no child.
Literal\
中文翻译¶
从 XML 文件中提取行(Extract rows from an XML file)¶
支持模式:批处理(Batch)
读取文件数据集,并将每个 XML 文件解析为行。
转换类别:文件(File)
声明参数(Declared arguments)¶
- 数据集(Dataset): 待处理的文件数据集。
文件(Files) - 模式(Schema): 解析 XML 文件时使用的模式定义。
类型\ - XML 标签(XML tag): 用作每行生成基础的 XML 标签。
字面量\ - 可选 属性前缀(Attribute prefix): 标签属性的前缀。
字面量\ - 可选 编码(Encoding): 输入文件的编码类型(字符集)。
枚举\ - 可选 值标签(Value tag): 当元素包含属性但无子元素时,用于表示值的标签。
字面量\