wankdanker / node-object-to-xml

Convert any JavaScript object to XML
MIT License
19 stars 8 forks source link

How to repeat element after one element? #10

Open hb-github opened 7 years ago

hb-github commented 7 years ago

Below is example as I want TEXT element to repeat again after the FEED element

<print>
       <text width="2" height="2"/>
        <text reverse="false" ul="false" em="true" color="color_1"/>
        <text>DELIVERY TICKET&#10;</text>
        <feed unit="12"/>
        <text>&#10;</text>
        <text align="left"/>
</print>
wankdanker commented 7 years ago

I don't think that is currently possible with this module.

hb-github commented 7 years ago

Hi @wankdanker any ways to achieve this functionality. Other then that this LIB is almost suitable for my need just only this thing blocks to go further with this.