私はこのコードを試しました:
tell application "Adobe InDesign CS6"
set ParaIdOrSecId to "ti0005"
set xpa to "//*[@*='" & ParaIdOrSecId & "']" as string
tell active document
tell XML element 1
set Requriedxpa to evaluate XPath expression using xpa
end tell
end tell
end tell
実行後、InDesign はダイアログ ボックスを表示します。
コンテンツには、エンコードできない文字が含まれています。
有効な xpath なのに実行できないのはなぜですか?