Format and indent problem
Posted: Sun Sep 07, 2008 1:54 pm
Hi!
I have a little problem when using Format and Indent on a huge xml math book I'm working on. We use two span class attributes aka
<span class="exercisenumber">
and
<span class="exercisepart">
Can I somehow configure the format and indent to leave them as they are and not
put everything in one big chunk like:
<span class="exercisepart">a</span> Bestäm funktionen A(x). <span class="exercisepart">b</span> Bestäm funktionens definitionsmängd. <span class="exercisepart">c</span> Bestäm funktionens värdemängd.
I want it like this:
<span class="exercisepart">a</span>
Bestäm funktionen A(x).
<span class="exercisepart">b</span>
Bestäm funktionens definitionsmängd.
<span class="exercisepart">c</span>
Bestäm funktionens värdemängd.
Is that possible?
Would also be great to format
<p>
<span class="exercisenumber">1</span> Gör en värdetabell.</p>
to
<p>
<span class="exercisenumber">1</span>
Gör en värdetabell.
</p>
Everything else seems to work ok, it's just that these little issues makes it kind of hard to read. If anyone got ay hint I would really appreciate it. So is it possible to add class attributes and tell the indenter how to handle them? I have tried everything except adding something in "Preserve space elements (XPath)" as I'm not sure how that works.
I have a little problem when using Format and Indent on a huge xml math book I'm working on. We use two span class attributes aka
<span class="exercisenumber">
and
<span class="exercisepart">
Can I somehow configure the format and indent to leave them as they are and not
put everything in one big chunk like:
<span class="exercisepart">a</span> Bestäm funktionen A(x). <span class="exercisepart">b</span> Bestäm funktionens definitionsmängd. <span class="exercisepart">c</span> Bestäm funktionens värdemängd.
I want it like this:
<span class="exercisepart">a</span>
Bestäm funktionen A(x).
<span class="exercisepart">b</span>
Bestäm funktionens definitionsmängd.
<span class="exercisepart">c</span>
Bestäm funktionens värdemängd.
Is that possible?
Would also be great to format
<p>
<span class="exercisenumber">1</span> Gör en värdetabell.</p>
to
<p>
<span class="exercisenumber">1</span>
Gör en värdetabell.
</p>
Everything else seems to work ok, it's just that these little issues makes it kind of hard to read. If anyone got ay hint I would really appreciate it. So is it possible to add class attributes and tell the indenter how to handle them? I have tried everything except adding something in "Preserve space elements (XPath)" as I'm not sure how that works.