========================================================================
CONSOLE APPLICATION : DOMCount
========================================================================
AppWizard has created this DOMCount application for you.
This file contains a summary of what you will find in each of the files that
make up your DOMCount application.
DOMCount.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
DOMCount.cpp
This is the main application source file.
DOMCount.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named DOMCount.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
自己开发的XML DOM计数程序DOMCount,使用DOM API解析XML文件,构造DOM树,然后遍历DOM树并计算元素个数(仅使用一个API调用)。 DOMCount解析XML文件,计算其元素数并打印。 用法: DOMCount [options]<XML file|List file> Options: -l,指示输入文件是一个列表文件,其中含有多个xml文件。默认情况下,该选项不存在,这时表明输入的是一个XML文件。 -v=xxx,Schema验证,xxx可以是:always,never或auto。默认情况下xxx=auto,如果DOCTYPE声明或schema声明出现在XML文档中,将进行验证:xxx=always,强制进行验证:xxx=never,不使用验证。 -n,允许处理名字空间。默认情况下不允许。 -s,允许处理大纲。默认情况下不允许。 -f,允许对整个大纲约束检查。默认情况下不允许。 -locale=ll_CC,指定本地编码,默认是en_US。 -?,显示帮助。 这里是DOMCount的输出: DOMCount -v=always personal.xml personal.xml: 20 ms (37 elems) 注意,程序运行时间将会视你机器处理器的不同而不同。
资源推荐
资源详情
资源评论
收起资源包目录
DOMCount.rar_Schema C_XML程序开发_personal_xml list_解析xml (186个子文件)
ValueStackOf.c 4KB
BaseRefVectorOf.c 0B
RefArrayVectorOf.c 0B
RefVectorOf.c 0B
Janitor.c 0B
RefHashTableOf.c 0B
ValueVectorOf.c 0B
NameIdPool.c 0B
DOMCount.clw 245B
DOMCount_cpp.cmd 5KB
DOMCount.cpp 15KB
StdAfx.cpp 295B
xerces-c_2_7.dll 2.93MB
DOMCount.dsp 14KB
DOMCount.dsw 524B
personal.dtd 450B
redirect.dtd 449B
DOMCount.exe 24KB
xerces-c_2.exp 1.77MB
DOMCount.h 53KB
StdAfx.h 1KB
Resource.h 449B
XMLString.hpp 69KB
AbstractDOMParser.hpp 68KB
DOMNode.hpp 41KB
DOMDocument.hpp 38KB
PlatformUtils.hpp 33KB
XSerializeEngine.hpp 32KB
DOMBuilder.hpp 27KB
DOMWriter.hpp 24KB
RegularExpression.hpp 23KB
XMLElementDecl.hpp 22KB
DOMRange.hpp 21KB
DOMConfiguration.hpp 21KB
XMLAttr.hpp 21KB
DOMElement.hpp 20KB
XMLExceptMsgs.hpp 20KB
DatatypeValidator.hpp 20KB
XMLAttDef.hpp 20KB
XMLFormatter.hpp 17KB
XMLEntityDecl.hpp 15KB
XercesDefs.hpp 15KB
XMLUni.hpp 13KB
Op.hpp 12KB
XSSimpleTypeDefinition.hpp 12KB
XMLDocumentHandler.hpp 12KB
DOMImplementation.hpp 11KB
DOMTreeWalker.hpp 11KB
DOMXPathResult.hpp 11KB
XMLException.hpp 10KB
PSVIItem.hpp 10KB
DOMNamedNodeMap.hpp 10KB
RefHashTableOf.hpp 10KB
DOMInputSource.hpp 10KB
DTDElementDecl.hpp 10KB
NameIdPool.hpp 9KB
XMLBuffer.hpp 9KB
SchemaSymbols.hpp 9KB
DOMNodeFilter.hpp 9KB
DOMCharacterData.hpp 9KB
DOMXPathEvaluator.hpp 9KB
DOMException.hpp 9KB
XercesVersion.hpp 8KB
Token.hpp 8KB
DOMNodeIterator.hpp 8KB
DOMText.hpp 8KB
DOMEntity.hpp 8KB
DOMError.hpp 7KB
DOMDocumentTraversal.hpp 7KB
XMLNotationDecl.hpp 7KB
DTDEntityDecl.hpp 7KB
KVStringPair.hpp 7KB
DOMImplementationLS.hpp 7KB
XMLEntityHandler.hpp 6KB
PSVIAttributeList.hpp 6KB
XSTypeDefinition.hpp 6KB
QName.hpp 6KB
DOMAttr.hpp 6KB
XMLUniDefs.hpp 6KB
AutoSense.hpp 6KB
DOMLocator.hpp 6KB
MVSCPPDefs.hpp 6KB
DOMDocumentType.hpp 6KB
TokenFactory.hpp 6KB
XMLAttDefList.hpp 6KB
BorlandCDefs.hpp 6KB
ValueVectorOf.hpp 6KB
DOMCount.hpp 6KB
BaseRefVectorOf.hpp 6KB
XMLErrorReporter.hpp 6KB
XSConstants.hpp 6KB
GCCDefs.hpp 6KB
XMLBufferMgr.hpp 5KB
DTDAttDef.hpp 5KB
CSetDefs.hpp 5KB
DOMEntityResolver.hpp 5KB
SunCCDefs.hpp 5KB
PSVIElement.hpp 5KB
Janitor.hpp 5KB
TandemCCDefs.hpp 5KB
共 186 条
- 1
- 2
资源评论
小贝德罗
- 粉丝: 69
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功