我的目标是获取文本:
27. The method according to claim 23 wherein...
如何检索包含<?
. 我相信他们在谷歌搜索时被称为 php 短标签。
我正在使用 lxml、xpaths,他们似乎只是没有将其注册为标签或节点。我尝试了 itertext() 但这也不起作用。
<claim id="CLM-00027" num="00027">
<claim-text> <?insert-start id="REI-00005" date="20191203" ?>27. The method according to claim 23 wherein the amorphous metal is selected from the group consisting of Zr based alloys, Ti based alloys, Al based alloys, Fe based alloys, La based alloys, Cu based alloys, Mg based alloys, Pt based alloys, and Pd based alloys. <?insert-end id="REI-00005" ?></claim-text>
</claim>