Time of Update: 2018-12-03
08年中IBM推出DB2 9.5版增加了對XML列的結點級更新功能,這個功能擴充了Update與XQuery語句。W3C在XML Update方面還沒有正式的標準,只發布一個草案XQuery Update Facility 1.0,這個草案的第一作者DonChamberlin來自IBM Almaden研究中心,DB2新加的查詢語言自然也遵守這個草案。大公司的產品這點做點比較好,對新標準跟得很緊。
Time of Update: 2018-12-03
首先還是看一段代碼: // 拷貝XML結點BOOL CPrintQuestionDlg::CopyXMLNode(CComPtr<IXMLDOMDocument> spDocSrc, const CString& strXpathSrc, CComPtr<IXMLDOMDocument> spDocDest,
Time of Update: 2018-12-03
新立德不能用,只能上http://packages.ubuntu.com/下安裝包。問題出現在安裝g++的時候: g++-4.3依賴libstdc++:dpkg:依賴關係問題使得 g++-4.3 的配置工作不能繼續: g++-4.3 依賴於 libstdc++6-4.3-dev (= 4.3.2-1ubuntu11);然而: 軟體包 libstdc++6-4.3-dev 還沒有被配置。 libstdc++依賴g++-4.3:dpkg:依賴關係問題使得 libstdc++6-4.3-dev
Time of Update: 2018-12-03
上周日中午,久未謀面的老蔣從長沙打來電話,要我幫忙做個檢索Excel檔案資訊的程式。我看了下具體需求:根據關鍵字檢索出包含這一關鍵字的所有行,很簡單,我接下了這個活。 周四晚上開始思考實現方案: 1 VC++ 調用Excel內建庫函數 2 VC++或 python 操作xml文檔 應該說第一種實現方案更好,因為老蔣發過來的資料本身以Excel檔案格式儲存,另外Excel表格式資料對使用者來說更容易操作,
Time of Update: 2018-12-03
解決方案很簡單: 首先以db2inst1使用者登入,再執行以下指令: $cd ~/sqllib/db2tss/bin $sh startup.sh $db2ts "start for text" 現在就能正常開啟文本檢索服務了。 問題的解決方式受到了這個網頁的啟發:http://www-01.ibm.com/support/docview.wss?uid=swg1IZ42327 解決的過程可以參見db2 express forum的這篇文章:https:/
Time of Update: 2018-12-03
用MSXML組件處理XML文檔出錯時,需要給出詳細的錯誤資訊。大部分代碼只是簡單的返回錯誤提示,SDK文檔也沒給出常式,無奈之下只得又求助於Google程式碼搜尋,還好,很快就找到合適的常式,稍微改造一下,納入自己的程式碼程式庫。 錯誤處理代碼如下: MSXML2::IXMLDOMParseError *pXMLError = NULL; // For XML errors LONG nErrorCode = E_FAIL;
Time of Update: 2018-12-03
XML DTD 入門(2009-12-14
Time of Update: 2018-12-03
資料名稱 揭示XProc——使用管道支援人員XML應用環境作 者 James R. Fuller作者單位 FlameDigital Limited出 處 developerWorks中國閱讀時間 2009.6.21~2009.6.261、主要講述內容
Time of Update: 2018-12-03
<?xml version="1.0"?><!--以下代碼摘自XSLTSL工程--><!--在XSLT中判斷XML文檔的結點類型 --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:doc="http://xsltsl.org/xsl/documentation/1.0"
Time of Update: 2018-12-03
/*body { color: #000; background-color: #fff; margin: 0px 10%; min-width: 720px; font-family: Verdana, sans-serif; counter-reset: chapter section subsection subsubsection paragraph lchapter lsection lsubsection lsubsubsection
Time of Update: 2018-12-03
/*body { color: #000; background-color: #fff; margin: 0px 10%; min-width: 720px; font-family: Verdana, sans-serif; counter-reset: chapter section subsection subsubsection paragraph lchapter lsection lsubsection lsubsubsection
Time of Update: 2018-12-03
建立文本結點(1)直接寫入文本:text1 (2)通過<xsl:text>建立文本結點:<xsl:text>text2</xsl:text> (3)通過<xsl:text>建立CDATA結點:<xsl:text disable-output-escaping="yes"><![CDATA[</xsl:text><xsl:text disable-output-escaping="yes">]]
Time of Update: 2018-12-03
/*body { color: #000; background-color: #fff; margin: 0px 10%; min-width: 720px; font-family: Verdana, sans-serif; counter-reset: chapter section subsection subsubsection paragraph lchapter lsection lsubsection lsubsubsection
Time of Update: 2018-12-03
兩種方法: 1> 修改/etc/network/interface原來的interface檔案如下:auto loiface lo inet loopbackauto eth0 iface eth0 inet static address 192.168.7.72 netmask 255.255.255.0現在要添加一個IP 192.168.53.75 掩碼為 255.255.255.128, 在上面的檔案中添加如下內容: 1. auto eth0:0 2.
Time of Update: 2018-12-03
剛用了Google閱讀器的快速鍵,發現和VIM快速鍵很相似,欣欣然也。
Time of Update: 2018-12-03
WordPress as Book Publishing Platform http://toc.oreilly.com/2010/05/-wordpress-as-book-publishing.htmlThis short article outlines some ideas about an open source, online platform for making books, based on WordPress. My thoughts here come out of
Time of Update: 2018-12-03
最近看Don Box的<<COM 本質論>>,其中第二章提及了智能指標,作者說使用智能指標是危險的,當時我對這個觀點不以為然,微軟的代碼中CComPt用得滿天飛也沒見出什麼問題。不過實踐才能出真知,昨天我寫的一段代碼中用CComPtr用出了問題,先看下面這段代碼: CComPtr<IXMLDOMNode> spNodeRectNum=spNode; if (strName == _T("ABC")) {
Time of Update: 2018-12-03
http://www.w3.org/TR/xslt#copying7.5 Copying<!-- Category: instruction --><xsl:copy use-attribute-sets = qnames> <!-- Content: template --></xsl:copy>The xsl:copy element provides an easy way of copying the current node.
Time of Update: 2018-12-03
完整文章見 http://www.disandu.com/?p=787 今天下午和同事一起去Adobe研發中心參加了RIAMeeting5月聚會,聽了Flash技術佈道者馬鑒(Zerlot Ma, 七月
Time of Update: 2018-12-03
最近發現一個WEB2.0方式的音樂網站SongTaste,介面很清新,操作很方便,關鍵是,裡面的歌真的非常好。之前推薦過同是WEB2.0方式的友播,與友播相比,SongTaste 同樣有小組、日誌、社區互動這些WEB2.0的元素在裡面,但是SongTaste的組織方式能讓你很容易找到新歌好歌。 這兩天一直在這個站聽歌,有些時候的連線速度沒跟上,播放器的功能也很單薄,不過我仍然很看好這個站,為什麼? 拿起你的耳機,馬上去SongTaste,你會知道答案的。