I have a Quartz Composer document which I'm trying to edit but since this is my first dive into QC, I have little to no clue what I'm doing.
The task could be simple: There is an XML Importer and an Iterator. Now I want to use the amount of elements in the imported XML as amount of Iterations.
Can anyone help me achieve this??
Thanks,
thomas
How do I get the amount of XML elements and use it in Quartz Composer?
518 Views Asked by thomas At
1
XML Importeroutputs a QC Structure. There are a few built-in operations you can perform on Structures, such as theStructure Countpatch.If you want to count the number of XML elements inside the top level, feed
XML ImporterintoStructure Count, and feed that intoIterations.Inside the iterator, you'll probably want to feed
IndexfromIterator Variablesinto theStructure Index Memberpatch, to extract one element of the Structure for each iteration.