Re: sysinst split project - The Configuration File

Jason Thorpe <[email protected]>
Newsgroups gmane.os.netbsd.devel.installation,gmane.os.netbsd.current
Message-ID <[email protected]>
On Dec 14, 2009, at 4:40 PM, Thor Lancelot Simon wrote:

> Case 2: XML-like syntax -- with a huge artificial advantage because I've
> 	neatly indented it.
> 
> 	<thing>
> 		<element-list>
> 			<element>1</element>
> 			<element>2</element>
> 			<element>3</element>
> 			<element>4</element>
> 			<element-list>
> 				<element>5</element>
> 				<element>6</element>
> 			</element-list>
> 		</element-list>
> 	</thing>

Of course, that is only one way to use XML.  That could be written in a fashion somewhat easier on the eyes if your schema is designed for it:

	<thing>
		<element-list>
			<element value="1"/>
			<element value="2"/>
			<element value="3"/>
			<element value="4"/>
			<element-list>
				<element value="5"/>
				<element value="6"/>
			</element-list>
		</element-list>
	</thing>


-- thorpej
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.