lookup-xml
この関数は、XMLファイル(docURL
)で、親XPath (parentXPath
)、キーXPath (keyXPath
)およびキー値(key
)を指定されたlookupXPath
で定義されている要素の文字列値を返します。
例:
oraext:lookup-xml('file:/d:/country_data.xml', '/Countries/Country', 'Abbreviation', 'FullName', 'UK')
は、ファイルD:\country_data.xml
で、Abbreviation = 'UK'
である/Countries/Country
の子要素FullName
の値を返します。
シグネチャ:
oraext:lookup-xml(docURL, parentXPath, keyXPath, lookupXPath, key)
引数:
-
docURL
: XMLファイル。 -
parentXPath
: 親XPath。 -
keyXPath
: キーXPath。 -
lookupXPath
: 参照XPath。 -
key
: キー値。
プロパティID:
-
namespace-uri:
http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc
-
namespace-prefix
:oraext