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

Oxygen general issues.
flashmac
Posts: 6
Joined: Wed Aug 08, 2012 7:04 pm

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

Post 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! :?:
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply