
xml
stationxp
出了三本书,两本第一作者,一本第二作者
展开
-
XML + XSL + JS 构建小型Web App (二)
二 具体实现下面逐页介绍实现的过程1. index.htm.files/data/record.xml首先要决定的是存储数据的“数据结构”。和其他web app开发类似 , 一般是首先要作数据库建模,决定表的结构和关联。这里我们使用xml文件记录数据,所以首先要做一个存储数据的xml文件的schema出来 。xml文件作为数据存储的工具相比于数据库, 性能是一方面的差异,另一方面的差异原创 2003-08-04 10:09:00 · 1401 阅读 · 1 评论 -
XML + XSL + JS 构建小型Web App (十四)
3. index.htm table{cellpadding:0;cellspacing:0;border-collapse:collapse;} td{border:1px solid black;font-size:12px;} th{border:1px solid black原创 2003-08-02 18:42:00 · 1096 阅读 · 0 评论 -
XML文件源码察看器(二)
二、JS版源代码==================================================刘海龙,stan[email]xiaoleilong@mail.biti.edu.cn[/email]2003-5-9整理-->HTML>HEAD>TITLE>XML Src ViewerTITLE>STYLE TYPE="text/css">原创 2003-08-11 11:12:00 · 1165 阅读 · 0 评论 -
JDom 常用转换方法
import java.io.*;import javax.xml.transform.*;import javax.xml.transform.stream.StreamResult;import javax.xml.transform.stream.StreamSource;import org.jdom.*;import org.jdom.input.*;import org.jdom.ou原创 2003-09-14 19:04:00 · 2108 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (三)
[ 好几次编辑结果付之东流了。这个编辑器,sign ...报错之后,返回东西全没了。 ]图二 record.xsd 结构图细节原创 2003-08-04 10:09:00 · 1219 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (六)
xs:sequence> xs:complexType> xs:complexType name="技术专长元素类型"> xs:sequence> xs:element name="技术名称"/> xs:element name="掌握情况"/> xs:sequence> xs:complexTyp原创 2003-08-04 10:09:00 · 1078 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (九)
简历元素> 开始年月> 年>2000年> 月>9月> 开始年月> 结束年月> 年>2004年> 月>7月> 结束年月>原创 2003-08-04 10:10:00 · 1017 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (十)
2. index.htm.files/styles/normal.xsl现在制作样式单文件,运行效果图:(美工没有规整,将就看 :))原创 2003-08-04 10:12:00 · 1269 阅读 · 0 评论 -
XML文件源码察看器(四)
//给指令节点着色function renderInstruction(nodNode,intLevel){ var strNodes = ; var intCount = 0; var intNode = 0; var nodAttrList; strNodes+=getIndent(intLevel)+"<";原创 2003-08-11 11:00:00 · 1045 阅读 · 0 评论 -
XML文件源码察看器(六)
case 9: Document 节点 -- “根”节点。不需要显示,只需显示子节点 遍历节点的子节点就是这样写地 : ) ,so easy intCount = nodNode.childNodes.length if intCount > 0 then原创 2003-08-11 11:02:00 · 1082 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (一)
XML + XSL + JS 构建小型Web App北京信息工程学院 刘海龙xiaoleilong@mail.biti.edu.cn 摘要: 本文介绍如何使用XML,XSL技术,做到内容和显示样式的分离。采用到的其他技术包括:xmldom , javascript 。关键字:xml , xsl , javascript ,web application, xmldom。前一段时原创 2003-08-04 10:08:00 · 1161 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (十二)
tr width="15%"> th>生日th> td colspan="3"> xsl:value-of select="/生日/年"/>年xsl:value-of select="/生日/月"/>月xsl:value-of select="/生原创 2003-08-04 10:12:00 · 1409 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (八)
根据schema文件,准备一份 xml 测试用文件, 存放 在 data 目录下record.xml履历列表 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:/Documents and Settings/刘海龙/桌面/简历/index.htm.files/d原创 2003-08-04 10:10:00 · 903 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (五)
Record.xsd的源代码: W3C Schema 作者:刘海龙 xiaoleilong@mail.biti.edu.cn-->xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> xs:complexType name="姓名类型">原创 2003-08-04 10:09:00 · 1098 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (七)
xs:complexType> xs:sequence> xs:element name="项目经验元素" maxOccurs="unbounded"/> xs:sequence> xs:complexType> xs:element>原创 2003-08-04 10:09:00 · 917 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (十一)
样式单文件源代码 (主要是表格的构建:) ): xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xml:space="preserve"> xsl:output encoding=原创 2003-08-04 10:12:00 · 1745 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (十三)
tr> th>技术专长th> td colspan="4"> xsl:for-each select="/技术专长/技术专长元素"> p style="text-indent:24px;原创 2003-08-04 10:13:00 · 1260 阅读 · 0 评论 -
XML文件源码察看器(三)
switch(nodNode.nodeType) { case 3: //文本节点, 黑色 粗体显示 strNodes+=getIndent(intLevel)+""+nodNode.nodeValue+"";break; case 7: //指令节点 , 调用子函数 strNodes+=renderInstruction(nodNode,intL原创 2003-08-11 11:12:00 · 1298 阅读 · 0 评论 -
在XMLSPY中添加FOP 字体支持
在XMLSPY中添加FOP 字体支持 作为 XMLSpy 插件使用 FOP 默认是不支持中文字体的。在默认状态下,使用XMLSpy生成结果文件的时候,有中文的地方(或其他使用不被支持的字体,不被字符集支持的字符的地方)将被“#”代替。可以通过设置添加用户需要的字体。FOP插件安装时附带安装的文档中有详细地说明。如果你安装了XMLSpy的FOP插件,这些文档存放在你硬盘上的地址为:原创 2003-05-27 14:10:00 · 1774 阅读 · 3 评论 -
XML + XSL + JS 构建小型Web App (十五)
4. index.htm.files/js/common.js下面列出common.js 文件中 和显示功能相关的函数,其他函数后面详细叙述。// 文件名 :common.js // 常用 javascript 函数的声明// 作者 : 刘海龙// xiaoleilong@mail.biti.edu.cn // 2003年8月1日//初始化 需要显示的内容function ini原创 2003-08-02 18:42:00 · 1109 阅读 · 0 评论 -
XML文件源码察看器(五)
三、ASP版源代码dim strfstrf = request("file")dim strResultstrFilePath = Server.MapPath(strf)dim domXMLData As New Msxml2.FreeThreadedDOMDocumentdim domXMLData set domXMLData = Server.Cre原创 2003-08-11 11:02:00 · 1124 阅读 · 0 评论 -
XML文件源码察看器(七)
给指令节点着色function renderInstruction(nodNode,intLevel) dim strNodes,intCount,intNode strNodes = "" intCount = 0 intNode = 0 dim nodAttrList strNodes=strNodes & getIndent(原创 2003-08-11 11:02:00 · 1169 阅读 · 0 评论 -
XML + XSL + JS 构建小型Web App (四)
[ 反复报错,出离愤怒中!!!我也不想每篇分这么小。再次愤怒 ]图三 record.xsd 结构图细节2原创 2003-08-04 10:09:00 · 956 阅读 · 0 评论 -
XML文件源码察看器(一)
XML文件源码察看器北京信息工程学院 刘海龙2003.5.9 初学Dom的时候,看了两本书,觉得印象不深刻,于是想做个东西巩固一下。碰巧当时也在考虑 代码 高亮显示的问题,于是就有了这个“作品”。从技术角度看,没什么可取的地方,算法很简单。核心函数是从《ASP 3高级编程》P352遍历xml树的例子改的。就代码高亮而言,这个东东的意义也不大。不过作为 dom 的练手例子,还是很有原创 2003-08-11 11:11:00 · 1501 阅读 · 0 评论