Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support single quote XML Attributes #3

Open
eisenwr opened this issue Feb 4, 2020 · 1 comment
Open

Support single quote XML Attributes #3

eisenwr opened this issue Feb 4, 2020 · 1 comment

Comments

@eisenwr
Copy link

eisenwr commented Feb 4, 2020

It would be helpful if the Pretty XML to Tree Map supported attributes entered in single quotes. The LabVIEW XML parser supports this format and NI uses it in some TestStand configuration files. See an example below.

Example XML:

<?xml version="1.0" encoding="UTF-8"?>
<teststandfileheader type='GeneralEngineConfigFile' fileversion='920' productname='TestStand' productversion='2019 (19.0.0.170)' compatibleversion='19.0.0.0' buildversion='19.0.0.170' xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.ni.com/TestStand/19.0.0/PropertyObjectFile">
	<typelist>
		<typedef alwayssavetype='false' additionaltypeflags='0' typelistordernum='0'>
			<Path classname='PathValue' isroottypedef='true' typecategory='3' timestamp='1567615663' typeversion='19.0.0.170' typelastmodversion='19.0.0.170' typeminprodversion='19.0.0.0' typeflags='33554436'>
				<value/>
			</Path>
		</typedef>
		<typedef alwayssavetype='false' additionaltypeflags='0' typelistordernum='1'>
			<Expression classname='ExprValue' isroottypedef='true' typecategory='3' timestamp='1567615663' typeversion='19.0.0.170' typelastmodversion='19.0.0.170' typeminprodversion='19.0.0.0' typeflags='33554436'>
				<value/>
			</Expression>
		</typedef>
	</typelist>
@SoftwareMinimalist
Copy link
Owner

This is a great idea and should be quite straightforward to implement. I'm putting it in the plan for next version.

drew-herron referenced this issue in drew-herron/Tree-Map-API Jul 14, 2023
Add support for single quotes when converting from XML
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants