is this syntax legal?

Quote from average_simulide_enjoyer on February 5, 2025, 6:35 pm
<!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?
<!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?

Quote from arcachofo on February 5, 2025, 11:57 pmThere 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>
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>

Quote from average_simulide_enjoyer on February 6, 2025, 10:52 ami suspected about the nested itemset, but i didnt know about the alphanumerical chars. thanks
i suspected about the nested itemset, but i didnt know about the alphanumerical chars. thanks