cleo-凡事从积极的态度做起

学习,学习,学习 BI/biztalk/infopath/sharepoint,呵呵。 学习没有止境。。。

导航

随笔分类 -  xml/xslt/xpath

解决错误:sql_variant is incompatible with xml (ASP.NET 2.0 / XML数据类型 )
摘要:发生场景:1:如果数据表使用XML数据类型2:使用ASP.net 2.03::使用向导生成SqlDataSource配合DetailsView新增/更新数据库XML数据类型错误信息: Server Error in '/' Application.----------------------------------------------------------------------------... 阅读全文

posted @ 2006-05-22 22:27 无为而为-凡事从积极的态度做起 阅读(1321) 评论(0) 推荐(0)

为XPath自定义函数(因为XPath1.0的函数非常有限)[附源代码下载]
摘要:想要一个正则表达式的匹配函数,但是XPath1.0中间没有,只好自己扩展一个,在网上搜了一下,有一篇文章不错,http://www.microsoft.com/china/MSDN/library/data/xml/AddingCustomFunctionstoXpath.mspx?mfr=true该文章定义了一个split,一个replace,不过就是没有match,只好在它的基础上,扩展一下 ... 阅读全文

posted @ 2006-04-03 17:37 无为而为-凡事从积极的态度做起 阅读(726) 评论(0) 推荐(0)

使用XPathNavigator和XPathExpression求出XPath的值,[源代码]
摘要:假设有如下XML文件: The Autobiography of Benjamin Franklin Benjamin Franklin 8.99 The Confidence Man Herman Melville 11.99 The Gorgias Pl... 阅读全文

posted @ 2006-04-03 09:55 无为而为-凡事从积极的态度做起 阅读(827) 评论(0) 推荐(0)

一个简单的正则表达式应用,正则匹配选出XPath表达式
摘要:需求是:一个字符串,中间包含XPath,XPath 使用“{”和“}” ,即{XPath1}xxx{XPath2}.需要取出XPath ,并且在一个XML文件中间计算XPath表达式的值。显然需要用到正则表达式:代码如下: static void Main(string[] args) { String inputString = "{/root/ID}:{/... 阅读全文

posted @ 2006-03-31 15:17 无为而为-凡事从积极的态度做起 阅读(2906) 评论(2) 推荐(0)

XML编辑,XPath查询工具,Stylus Studio® 2006
摘要:Stylus Studio® 2006 Help Overview -------------------------------------------------------------------------------- Stylus Studio® 2006 help provides information and instructions for using Stylus Studio to develop XML applications. Stylus Studio is an interactive development environment (IDE) for working with XML and related technologies - XSLT, XQuery, XML Schema, SQL/XML, WSDL, SOAP, and others. The information in the help is organized as follows: Getting Started wi 阅读全文

posted @ 2006-03-29 19:00 无为而为-凡事从积极的态度做起 阅读(2261) 评论(0) 推荐(1)