Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Do Tabular XML Editors Exist?

Status
Not open for further replies.

fawkes

Technical User
Sep 12, 2003
343
GB
Does anyone know of a tabular editor for xml data?

I'm after something that would work as a tabular grid, allow rows to be added and deleted, possibly allow drill down/up between elements.

Are there any out there?

Either: OpenSource, Freeware, Shareware, Commercial.

I'm open to anything at the moment.
 
I've had a quick look.

I was looking for something that non-technical users can use to edit the data. So it automatically creates new elements where necessary, a quick look at XMLSpy shows that you need to know to add elements or attributes, etc and most users wouldn't understand this.
 
Before I go ahead and keep testing applications, this is my schema, does it help or hinder editors.

Code:
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema targetNamespace="[URL unfurl="true"]http://tempuri.org/ANSI_B36_10.xsd"[/URL] elementFormDefault="qualified"
	xmlns="[URL unfurl="true"]http://tempuri.org/ANSI_B36_10.xsd"[/URL] xmlns:mstns="[URL unfurl="true"]http://tempuri.org/ANSI_B36_10.xsd"[/URL]
	xmlns:xs="[URL unfurl="true"]http://www.w3.org/2001/XMLSchema">[/URL]
	<xs:element name="ANSI_B36_10">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Nominal_Pipe_Sizes" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Nominal_Pipe_Size" type="xs:string" maxOccurs="1" minOccurs="1" />
							<xs:element name="Outside_Diameter" type="xs:double" maxOccurs="1" minOccurs="1" />
							<xs:element name="Wall_Thicknesses" maxOccurs="unbounded" minOccurs="1">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="Schedule" type="xs:string" />
										<xs:element name="Thickness" type="xs:double" />
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>

What we have is a standard diameter of pipe with a fixed outside diameter and various wall thicknesses identified by a label called the schedule.

So each pipe size has a single OD value and then multiple combinations of schedule (label) and wall thickness.
 
Altova (the makers of XML Spy) also have a product called Authentic, which allows non-developers to fill in forms to create XML documents.

Chip H.


____________________________________________________________________
If you want to get the best response to a question, please read FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top