Page 1 of 1

cant format (tidy) and indent output if not well formed

Posted: Wed Aug 08, 2012 11:56 pm
by flashmac
hello,

I cant format my HTML output because its not well-formed.. but I dont want it well formed, as Im only trying to output the middle of a file.

Here is the error:

Code: Select all


System ID: C:\steve\oxygen\data_types\mobile_spalsh.html
Severity: error
Description: The markup in the document following the root element must be well-formed.
If I start my output with <html> then I can format it no problem, but I just want to output the middle part of a HTML file and then format.

Please help! :?:

Re: cant format (tidy) and indent output if not well formed

Posted: Thu Aug 09, 2012 11:38 am
by adrian
Hello,

Unfortunately that's not possible.
The Format and Indent operation from Oxygen works only on well-formed documents. If you don't surround the HTML fragment with a root element, it won't be able to format it.

Regards,
Adrian