我想用 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".