xsltを使用して次のデータから不要なテキストを削除したい
Address>
<Rowinfo>
<LocatorDesignator>Dwelling (Part Of) Null</LocatorDesignator>
<LocatorName>Flat - Buena Villa House</LocatorName>
</Rowinfo>
<Rowinfo>
<LocatorDesignator>Flat - Buena Villa House 1</LocatorDesignator>
<LocatorName>Flat 3a Anderson's House</LocatorName>
</Rowinfo>
<Rowinfo>
<LocatorDesignator>Offices Unit 2a Funlife Building 02a</LocatorDesignator>
<LocatorName>office Unit 2a Funlife Building <LocatorName>
</Rowinfo>
</Address>
これを生成するには
<LocatorDesignator>Dwelling(Part Of)</LocatorDesignator>
<LocatorName>Buena Villa House</LocatorName>
<LocatorDesignator>Flat 1</LocatorDesignator>
<LocatorName> Anderson's House</LocatorName>
<LocatorDesignator>office Unit 2a</LocatorDesignator>
<LocatorName> Funlife Building <LocatorName>
ロケーター名:抽出
ブエナビラハウス
アンダーソンの家
ファンライフビルディング
つまり、二重引用符で囲まれた部分は削除されます。
(row1) "Flat -" Buena Villa House.
(row2) "Flat 3a" Anderson's House .
(row3) "office Unit 2a" Funlife Building.
Locatordesignatorの場合:削除
ヌル
ブエナビラハウス
ファンライフビルディング
言い換えると、二重引用符で囲まれた部分は削除されます。
(row1) Dwelling (Part Of) "Null"
(row2) Flat " Buena Villa House" 1.
(row3) office Unit 2a "Funlife Building 02a".