Stefan Schwierz wrote:
> 
> I have a small and simple problem. The document type for modular
> documents outputs the content as an unidented html file like this:
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <div><p>Test</p><p>testtest</p></div>
> 
> I want it a little bit more formatted maybe like this:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <div>
>    <p>Test</p>
>    <p>testtest</p>
> </div>
> 
> Is there a simple way to do it. I searched the docs and the list for a
> few hours so far. I
> tried also lots of the safe configuration options. No success :(
> 

No, there is no way to do this with XMLmind XML Editor.

A <div> can contain text, therefore the whitespace before and after
"<p>Test</p>" and "<p>testtest</p>" is significant[*]. That is, it
cannot be considered to be indentation.


---
[*] It may be ignored by Web browsers because these apps have HTML
hardwired, but it cannot be ignored by generic XML apps.

Reply via email to