You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Shane Curcuru <sh...@yahoo.com> on 2002/12/02 16:58:17 UTC
Re: Simple serialize with indents
Have you looked at
http://xml.apache.org/xalan-j/usagepatterns.html#outputprops
By default, Xalan indents with newlines only, no 'tabstops'. If you
want each level indented a certain amount of characters, you also need
to set a custom property xalan:indent-amount. If I recall correctly,
this is set through the API by putting the namespace in brackets like {http://xml.apache.org/xslt}
=====
- Shane
<eof .sig="'When I use a word,' Humpty Dumpty said,
in a very scornful tone, 'it means just what I
choose it to mean - neither more nor less'"
"Oohayu oyod?!"=gis. />
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com