[oXygen-user] Format and Indent Problem
mozer
Tue Apr 8 14:05:19 CDT 2008
Not exactly
My proposal is, starting from an xml file to add space and carriage return
*INSIDE* tags
Doing this, the nature of space (ignorable or not) won't matter anymore
since it won't have any impact
Let me give a simple example
<root><a><b></b><c></c></a></root>
into
<root
><a
><b
></b
><c
></c
></a
></root
>
May it would make the will less readable than a full indent, but in some
case, it is just sufficient for debbugging and don't need further
parametrization
Regards,
Xmlizer
On Tue, Apr 8, 2008 at 1:38 PM, Sorin Ristache <> wrote:
> Hello,
>
> I understand that your proposal is to normalize some text nodes (the text
> nodes with whitespace characters and non whitespace characters but not the
> text nodes with whitespace characters only) even if that leads to lines that
> exceed the maximum line length set in Preferences -> Editor -> Format. I
> consider breaking the lines that exceed the maximum length one of the main
> factors that make the pretty-printed document more readable. Without
> enforcing this maximum length the document will not be more readable after
> the pretty-print operation.
>
> If I misunderstand your proposal please give a complete example of what
> you mean.
>
>
> Regards,
> Sorin
>
>
> mozer wrote:
>
> > May I propose (once again) a neutral form of indent for Oxygen
> >
> > <root id="2"
> > > <element position="1"> space are important here </element
> > > <element position="2"> space are also important here </element
> >
> > > </root>
> > >
> >
> > The only thing you can allow or not is to convert newline and tabs to
> > space as an option
> >
> _______________________________________________
> oXygen-user mailing list
>
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.oxygenxml.com/pipermail/oxygen-user/attachments/20080408/9bec731e/attachment.html
More information about the oXygen-user
mailing list