0

ExportTemplate変更する必要がある xsl テンプレートを保持するテーブルにxml 列があります。

以下のクエリを使用すると、サーバーは 1 行が影響を受けることを通知しますが、実際の行を確認すると、変更は保持されていません。何か案は?ありがとうございました。

update Exports 
set ExportTemplate.modify('
declare namespace xsl="http://www.w3.org/1999/XSL/Transform";
declare namespace xslt="http://www.w3.org/1999/XSL/Transform";
insert <Fuel><xslt:value-of select="Fuel"/></Fuel>
after (/xsl:stylesheet/xslt:template[3]/Vehicle/Condition)[1]')
where ExportCode ='AutoTrade';
4

1 に答える 1

0

これは、MSDN フォーラムからの非常に良い回答です。ありがとうございました。

http://social.msdn.microsoft.com/Forums/en/sqlxml/thread/2b9a46ee-663b-4d25-bef1-7d4f0c650839

于 2011-11-08T15:06:19.217 に答える