Click here to Skip to main content
15,886,724 members
Articles / Programming Languages / XML

XmlBind: putting PugXML on steroïds !

Rate me:
Please Sign up or sign in to vote.
3.36/5 (10 votes)
2 Oct 20035 min read 131.8K   580   31  
A mutant XML parser using IoBind, EDOM and PugXML.
<?xml version="1.0" encoding = "Windows-1252"?>
<VisualStudioProject
	ProjectType="Visual C++"
	Version="7.00"
	Name="iobind_example"
	ProjectGUID="{0F7832FC-2DF7-47C0-A8E3-008DF576EFDE}"
	SccProjectName=""
	SccLocalPath="">
	<Platforms>
		<Platform
			Name="Win32"/>
	</Platforms>
	<Configurations>
		<Configuration
			Name="Release|Win32"
			OutputDirectory=".\Release"
			IntermediateDirectory=".\Release"
			ConfigurationType="1"
			UseOfMFC="0"
			ATLMinimizesCRunTimeLibraryUsage="FALSE"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				InlineFunctionExpansion="1"
				PreprocessorDefinitions="WIN32,NDEBUG,_CONSOLE"
				StringPooling="TRUE"
				RuntimeLibrary="4"
				EnableFunctionLevelLinking="TRUE"
				UsePrecompiledHeader="3"
				PrecompiledHeaderThrough="stdafx.h"
				PrecompiledHeaderFile=".\Release/PugArchive.pch"
				AssemblerListingLocation=".\Release/"
				ObjectFile=".\Release/"
				ProgramDataBaseFileName=".\Release/"
				WarningLevel="3"
				SuppressStartupBanner="TRUE"/>
			<Tool
				Name="VCCustomBuildTool"/>
			<Tool
				Name="VCLinkerTool"
				AdditionalOptions="/MACHINE:I386"
				AdditionalDependencies="odbc32.lib odbccp32.lib"
				OutputFile=".\Release/PugArchive.exe"
				LinkIncremental="1"
				SuppressStartupBanner="TRUE"
				ProgramDatabaseFile=".\Release/PugArchive.pdb"
				SubSystem="1"/>
			<Tool
				Name="VCMIDLTool"
				TypeLibraryName=".\Release/PugArchive.tlb"/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"
				PreprocessorDefinitions="NDEBUG"
				Culture="2060"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
		</Configuration>
		<Configuration
			Name="Debug|Win32"
			OutputDirectory=".\Debug"
			IntermediateDirectory=".\Debug"
			ConfigurationType="1"
			UseOfMFC="0"
			ATLMinimizesCRunTimeLibraryUsage="FALSE"
			CharacterSet="2">
			<Tool
				Name="VCCLCompilerTool"
				Optimization="0"
				AdditionalIncludeDirectories=".."
				PreprocessorDefinitions="WIN32,_DEBUG,_CONSOLE"
				BasicRuntimeChecks="3"
				RuntimeLibrary="5"
				UsePrecompiledHeader="0"
				PrecompiledHeaderThrough="stdafx.h"
				PrecompiledHeaderFile=".\Debug/PugArchive.pch"
				AssemblerListingLocation=".\Debug/"
				ObjectFile=".\Debug/"
				ProgramDataBaseFileName=".\Debug/"
				WarningLevel="3"
				SuppressStartupBanner="TRUE"
				DebugInformationFormat="4"/>
			<Tool
				Name="VCCustomBuildTool"/>
			<Tool
				Name="VCLinkerTool"
				AdditionalOptions="/MACHINE:I386"
				AdditionalDependencies="odbc32.lib odbccp32.lib"
				OutputFile=".\Debug/PugArchive.exe"
				LinkIncremental="2"
				SuppressStartupBanner="TRUE"
				AdditionalLibraryDirectories="&quot;C:\Program Files\Libraries\boost\libs\regex\build\bin\boost_regex.dll\vc7\debug\runtime-link-dynamic&quot;"
				IgnoreDefaultLibraryNames=""
				GenerateDebugInformation="TRUE"
				ProgramDatabaseFile=".\Debug/PugArchive.pdb"
				SubSystem="1"/>
			<Tool
				Name="VCMIDLTool"
				TypeLibraryName=".\Debug/PugArchive.tlb"/>
			<Tool
				Name="VCPostBuildEventTool"/>
			<Tool
				Name="VCPreBuildEventTool"/>
			<Tool
				Name="VCPreLinkEventTool"/>
			<Tool
				Name="VCResourceCompilerTool"
				PreprocessorDefinitions="_DEBUG"
				Culture="2060"/>
			<Tool
				Name="VCWebServiceProxyGeneratorTool"/>
			<Tool
				Name="VCWebDeploymentTool"/>
		</Configuration>
	</Configurations>
	<Files>
		<Filter
			Name="iobind"
			Filter="">
			<File
				RelativePath="..\iobind\ansi_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\base64.hpp">
			</File>
			<File
				RelativePath="..\iobind\base64_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\case_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\complex_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\confix_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\crc_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\data_policy_property.hpp">
			</File>
			<File
				RelativePath="..\iobind\dimension_decorators_property.hpp">
			</File>
			<File
				RelativePath="..\iobind\dimension_policy_property.hpp">
			</File>
			<File
				RelativePath="..\iobind\iobind.hpp">
			</File>
			<File
				RelativePath="..\iobind\item_decorators_property.hpp">
			</File>
			<File
				RelativePath="..\iobind\item_policy_property.hpp">
			</File>
			<File
				RelativePath="..\iobind\pair_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\pair_policy_property.hpp">
			</File>
			<File
				RelativePath="..\iobind\policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\regex_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\sequence_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\stream_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\stream_property.hpp">
			</File>
			<File
				RelativePath="..\iobind\string_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\types.hpp">
			</File>
			<File
				RelativePath="..\iobind\ublas_banded_matrix_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\ublas_dimension_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\ublas_hermitian_matrix_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\ublas_matrix_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\ublas_sparse_matrix_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\ublas_vector_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\url_escape_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\url_policy.hpp">
			</File>
			<File
				RelativePath="..\iobind\xml_escape_policy.hpp">
			</File>
			<Filter
				Name="src"
				Filter="">
				<File
					RelativePath="..\src\ansi_policy.cpp">
					<FileConfiguration
						Name="Release|Win32">
						<Tool
							Name="VCCLCompilerTool"
							UsePrecompiledHeader="0"/>
					</FileConfiguration>
					<FileConfiguration
						Name="Debug|Win32">
						<Tool
							Name="VCCLCompilerTool"
							UsePrecompiledHeader="0"/>
					</FileConfiguration>
				</File>
				<File
					RelativePath="..\src\string_policy.cpp">
					<FileConfiguration
						Name="Debug|Win32">
						<Tool
							Name="VCCLCompilerTool"
							UsePrecompiledHeader="0"/>
					</FileConfiguration>
				</File>
				<File
					RelativePath="..\src\xml_escape_parser.cpp">
					<FileConfiguration
						Name="Release|Win32">
						<Tool
							Name="VCCLCompilerTool"
							AdditionalIncludeDirectories=".."
							UsePrecompiledHeader="0"/>
					</FileConfiguration>
					<FileConfiguration
						Name="Debug|Win32">
						<Tool
							Name="VCCLCompilerTool"
							UsePrecompiledHeader="0"/>
					</FileConfiguration>
				</File>
			</Filter>
			<Filter
				Name="parsers"
				Filter="">
				<File
					RelativePath="..\iobind\pair_parser.hpp">
				</File>
				<File
					RelativePath="..\iobind\parser_utils.hpp">
				</File>
				<File
					RelativePath="..\iobind\sequence_container_parser.hpp">
				</File>
				<File
					RelativePath="..\iobind\xml_escape_parser.hpp">
				</File>
			</Filter>
		</Filter>
		<File
			RelativePath="iobind_example.cpp">
			<FileConfiguration
				Name="Release|Win32">
				<Tool
					Name="VCCLCompilerTool"
					AdditionalIncludeDirectories=".."
					UsePrecompiledHeader="0"/>
			</FileConfiguration>
			<FileConfiguration
				Name="Debug|Win32">
				<Tool
					Name="VCCLCompilerTool"
					UsePrecompiledHeader="0"/>
			</FileConfiguration>
		</File>
		<File
			RelativePath="ublas_demo.cpp">
		</File>
		<File
			RelativePath="ublas_demo.hpp">
		</File>
	</Files>
	<Globals>
	</Globals>
</VisualStudioProject>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Engineer
United States United States
Jonathan de Halleux is Civil Engineer in Applied Mathematics. He finished his PhD in 2004 in the rainy country of Belgium. After 2 years in the Common Language Runtime (i.e. .net), he is now working at Microsoft Research on Pex (http://research.microsoft.com/pex).

Comments and Discussions