Hello,

If you add A to the list of preserve space elements from Preferences - Editor - Format the whole element A will remain on a single line. Why do you need one element per line and without whitespace, like "><B>" and "><C>" ? It looks more readable for me with normal indenting like:

<A ID="1" REF="2">
    <B>foo</B>
    <C>bar</C>
</A>

If you don't need whitespace text nodes inside the A element you can remove them with the XSLT stylesheet that extracts the output data from your XML document. Usually you don't present the data stored in the XML document directly to the user. The data is processed with a XSLT stylesheet.


Best regards,
Sorin


mozer wrote:
Hello

I'm regularly working with well formed document (but not valid)
I love indent of oXygen but i did give me all i want because it adds
whitespaces everywhere
i love to find an option to indent such a way spaces WON'T be in the element

example
<A ID="1" REF="2"><B>foo</B><C>bar</C></A>

becomes

<A ID="1" REF="2"
  ><B>foo</B
  ><C>bar</C

</A>


with unlimited size (only making one element per lines)

for the moment, i must do it with another tool

Is there a simple way to do it in Oxygen ?

Xmlizer
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to