newechoes/src/content/理解计算机/python/解析/xml.md

16 lines
169 B
Markdown

---
title: xml
date: 2024-06-06T23:51:47Z
tags: []
---
`/`表示层级关系,第一个是根目录
`text()`拿文本
`//`后代
`*`:通配符
`@属性`:属性值