和文字
Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果空格确实存在,则将其视为子节点。所以:
Dim channelSpan = .SelectSingleNode(".//span[@class='channel']") info!Channel = channelSpan.ChildNodes(3).ChildNodes(0).InnerText info!Station = channelSpan.ChildNodes(3).ChildNodes(2).InnerText