Zen Coding, how to achieve alternating item multiplication

I recently attempted adding Zen Coding to my tool box of software development box of magic and have been mostly underwhelmed by it. Whether or not this is because it truly is technically deficient or rather suffers from documentation deficiencies I am not sure. Regardless, I can't seem to use Zen Coding to generate this very simple and commonly occurring HTML pattern that emerges when working with forms

<div id="region1">    
    <h1></h1>
    <div class="data-label">
    </div>
    <div class="data-value">
    </div>
    <div class="data-label">
    </div>
    <div class="data-value">
    </div>
    <div class="data-label">
    </div>
    <div class="data-value">
    </div>    
</div>

Is is possible?

Answers


It is currently not possible. There is an open ticket on this very issue at Zen coding's repository page.

Your expression should look something like this:

div#region1>(h1+(div.data-label+div.data-value)*3)   

But as you write it does not work.


Need Your Help

Does Spark supports melt and dcast

r scala apache-spark spark-dataframe melt

We use melt and dcast to convert data from wide->long and long->wide format.

How to create a drop-down list in java swing with multiple item selection?

java swing drop-down-menu multipleselection

I'm aware of JList and JComboBox. I need the combo box drop down functionality with multiple selection functionality that JList provides.