私はこのxmlファイルを持っています
<?xml version="1.0" encoding="UTF-8"?>
<bo:C837ClaimParent xsi:type="bo:C837ClaimParent"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:bo="http://somelongpathHere/process/bo">
<claimAux>
...
</claimAux>
<enterpriseClaim>
...
<patientAccountNumber>data to capture here</patientAccountNumber>
</enterpriseClaim>
<bo:C837ClaimParent>内にある<enterpriseClaim>内にある<patientAccountNumber>内のデータを一致させる必要がありますxsl:templateの一致で考えられるすべての値を試しましたが、そのノードを一致させることができません。見つからないか、xmlファイル全体と一致する場合、xslファイルは次のようになります。
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="2.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<html>
....
<div>
<xsl:value-of select="C837ClaimParent/enterpriseClaim/patientAccountNumber" /></div>
xsl:templateとxsl:value-ofで何を指定する必要がありますか?
また、この同じファイルの場合、他の値と一致します。すべてがメインノード<bo:C837ClaimParent内にあるので、ファイル全体のノードを効率的に一致させるには、何を使用する必要がありますか?