Forum breadcrumbs - You are here:ForumGeneral: Helpis this syntax legal?
You need to log in to create posts and topics.

is this syntax legal?

 

<!DOCTYPE SimulIDE>

<itemlib>

	<itemset category="CPU project" folder="MY_CPU_PROJECT" >
	
		<itemset category="impedance-o-meter" type="Subcircuit" folder="impedance_reader" >

			<itemset category="scripted component" type="MCU" folder="Impedance-o-meter_script" >

				<item name="Impedance-o-meter" info="scripted component that does the impedance math" ></item>

			</itemset>
		
			<item name="Impedance reader" info="Reads impedances (including the output impedance of a circuit)" ></item>

		</itemset>

	</itemset>

</itemlib>

this is not working in simulide, and i suspect of somethings, but i want to be sure. what is illegal in this syntax?

There are a few things:

The most important: don't nest <itemset>
Also only use alphanumeric characters in item names, this no good: "Impedance-o-meter", better: "Impedance o meter"

<itemlib>
  <itemset category="category name" folder="somefolder" >
    <item name="Impedance o meter" info="scripted component that does the impedance math" />
  </itemset>

  <itemset category="another category" folder="someotherfolder" >
    <item name="Impedance reader" info="Reads impedances " />
  </itemset>
</itemlib>

 

 

average_simulide_enjoyer has reacted to this post.
average_simulide_enjoyer

i suspected about the nested itemset, but i didnt know about the alphanumerical chars. thanks