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

12 lines
165 B
Markdown
Raw Normal View History

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