Numbering placeholders sequentially in a node, based on sequence in which they appear in a preceding node
问题 I have the following snippet of XML, which I would like to transform using XSLT: <?xml version="1.0" encoding="utf-8"?> <tmx version="1.4"> <body> <tu> <prop type="x-Context">-2050338055591740051, -2050338055591740051</prop> <prop type="x-Origin">TM</prop> <prop type="x-ConfirmationLevel">Translated</prop> <tuv xml:lang="en-US"> <seg>The text <ph x="0" type="QIAsymphony" /> goes <ph x="0" type="470" /> here <ph x="0" type="471" />.</seg> </tuv> <tuv xml:lang="es-ES"> <seg>El texto <ph x="0"