我使用xslt从以下xslt中提取数据。无论如何剥夺CData。目前它包括CData以及它提取时。使用xslt从xml中剥离CData
<Product>
<ExternalId><![CData[55037]]></ExternalId>
<Name><![CData[Reindeer Booties]]></Name>
<Description><![CData[Everybody say, "Aww!" Prepare for maximum cuteness when these plush reindeer booties are unwrapped from their special box. Faux fur provides plenty of warmth for tiny toes and softness for delicate skin. A pompom nose with 3D ears and antlers are enough to bring out the festive spirit in anyone.]]></Description>
<Brand>XYZ</Brand>
<CategoryExternalId>1_15_1</CategoryExternalId>
<ProductPageUrl><![CData[http://www.xyz.co.uk/baby-accessories/SE037/baby-reindeer-booties]]></ProductPageUrl>
<ImageUrl><![CData[http://www.xyzimages.com/images/product/16S_550.jpg]]></ImageUrl>
<SwatchImageUrl><![CData[]]></SwatchImageUrl>
<Price>84.8000</Price>
<Wasprice>154.9500</Wasprice>
<ManufacturerPartNumber></ManufacturerPartNumber>
<EAN></EAN>
<Colours><![CData[blue-pink]]</Colours>
</Product>
我期待下面的输出
<Product>
<ExternalId>55037</ExternalId>
<Name>Reindeer Booties></Name>
<Description>Everybody say, "Aww!" Prepare for maximum cuteness when these plush reindeer booties are unwrapped from their special box. Faux fur provides plenty of warmth for tiny toes and softness for delicate skin. A pompom nose with 3D ears and antlers are enough to bring out the festive spirit in anyone.</Description>
<Brand>XYZ</Brand>
<CategoryExternalId>1_15_1</CategoryExternalId>
<ProductPageUrl>http://www.xyz.co.uk/baby-accessories/SE037/baby-reindeer-booties</ProductPageUrl>
<ImageUrl>http://www.xyzimages.com/images/product/16S_550.jpg</ImageUrl>
<SwatchImageUrl></SwatchImageUrl>
<Price>84.8000</Price>
<Wasprice>154.9500</Wasprice>
<ManufacturerPartNumber></ManufacturerPartNumber>
<EAN></EAN>
<Colours>blue-pink</Colours>
</Product>
您可以显示(您的xslt的相关部分)吗? –