0
我在我的表中有一列設置爲xslt(XML(。),非空)。選擇本地xml文件到表
現在我已經使用了一個常規字符串來設置它。就像這樣:
UPDATE table
SET xslt =
'<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
<html>
<head>
<title> Results date with no risk </title>
</head>
<body>
<xsl:apply-templates />
</body>
</html>
</xsl:template>
<xsl:template match="data">
<table width="400" border="1">
<tr bgcolor="#a0acbc">
<td>KplusId</td>
<td>strUser</td>
<td>strName</td>
<td>strPosName</td>
</tr>
<xsl:for-each select="row">
<tr>
<td>
<xsl:value-of select="KPlusId" />
</td>
<td>
<xsl:value-of select="strUser" />
</td>
<td>
<xsl:value-of select="strName" />
</td>
<td>
<xsl:value-of select="strPosName" />
</td>
</tr>
</xsl:for-each>
</table>
</xsl:template>
</xsl:stylesheet>'
WHERE ....
我願做這樣的事情:
UPDATE table
SET xslt = C:\test\Test.xlm
這可能嗎?