随笔分类 -  XML

XML,Schema,XSLT,XPath,XQuery
摘要:Tips: number(node) != ‘NaN’ Sample: <xsl:variable name=”inDisc”>     <xsl:value-of select="./DiscountPercent"/> </xsl:variable> <xsl:variable name=&quo... 阅读全文
posted @ 2009-05-04 16:16 upzone 阅读(178) 评论(0) 推荐(0)
摘要:把activx控件打包成CAB文件,嵌入网页的时候可以自动解压安装注册。打包工具还是windows自带的makecab好用。 基本使用方法: makecab 源文件名 目的文件名 如使用它一次对多个文件打包,先要写一个包含打包文件的文本文件,比如list.txt, list.txt内容例子如下: A.dll B.txt C.dat 然后在命令行执行 ... 阅读全文
posted @ 2009-03-06 00:29 upzone 阅读(2743) 评论(0) 推荐(0)
摘要:When you design an InfoPath 2003 or InfoPath 2007 from an existing schema. The namespace of the schema is going to be hardcoded inside the manifest.xsf of the XSN package. There is very litle you can ... 阅读全文
posted @ 2009-03-06 00:03 upzone 阅读(392) 评论(0) 推荐(0)
摘要:Definition and Usage The element is used to replace a namespace in the style sheet to a different namespace in the output.元素的作用是:用样式表中的命名空间[namespace]替换输出结果中的命名空间。 Note: is a top-level element, and ... 阅读全文
posted @ 2009-03-05 23:33 upzone 阅读(280) 评论(0) 推荐(0)
摘要:Import/Include/Redefine Import works only when the two schemas have different Target Namespace attributes. Include is available only when both schemas share the exact same Target Namespace. Also, I... 阅读全文
posted @ 2008-07-06 16:49 upzone 阅读(635) 评论(0) 推荐(0)
摘要:查阅了MSDN,其实很简单sp_xml_preparedocument hdoc OUTPUT [ , xmltext ] [ , xpath_namespaces ] You can specify ns using the third parameter. declare @MailContent as nvarchar(max)select @MailContent=MessageBo... 阅读全文
posted @ 2008-06-26 14:37 upzone 阅读(379) 评论(0) 推荐(0)
摘要:----------------------- 0"> ... 阅读全文
posted @ 2008-01-18 12:07 upzone 阅读(1172) 评论(2) 推荐(0)
摘要:W3CChina.org论坛上看到一个帖子有人问Attribute怎么实现choice.即Element名称一样,但是Attribute是可选择的,如果用element的choice,但是不能写同样的element名字,因为会有冲突. Attribute没有 choice的属性,Attribute必须要依赖于Element存在,我换了一种方法变通实现.1.Schema Att ... 阅读全文
posted @ 2007-02-12 17:14 upzone 阅读(311) 评论(0) 推荐(0)