<list>
<person name="aa">
<address street="bb"></address>
</person>
<person name="cc">
<address street="dd"></address>
</person>
</list>


Mika,

Highlight the block then select the Lyx-code environment from the
pull-down list on the extreme left.

Thanks, that helped a bit. Now I can use "->" character for indenting sub-elements to left. I am just wondering that could there be even more automatic feature in lyx which could do the indenting automatically for the sub-elements. So that I could just copy paste the text, mark it as a XML block and lyx/latex would take care from the rest of the formatting.


Mika




Reply via email to