### 22.11 Exporting content for database input

If you are generating HTML that is destined for input to a database, you might want to exclude everything except the <body> content. You can use the following setting to generate HTML without the prolog, <html> tags, <head> tags and content, or <body> tags. This leaves just the body content, in a form suited to inclusion in a database:

[HTMLOptions]
; BodyContentOnly = No (default) or Yes (omit prolog, root element,
; and head and body tags, leaving only body content, for DBMS use)
BodyContentOnly = Yes

Previous Topic: 22.10 Generating XHTML for Confluence 4.x

Next Topic: 22.12 Specifying a starting topic for HTML or XHTML

Parent Topic: 22. Converting to HTML/XHTML

Sibling Topics:

22.1 Deciding which type of output to produce

22.2 Setting up an HTML project

22.3 Including starting code and entity references

22.4 Supplying values for the <head> element

22.5 Specifying HTML <body> attributes

22.6 Specifying document-wide properties for HTML

22.7 Defining text colors for HTML

22.8 Importing HTML files as insets

22.9 Providing hover text for links in HTML

22.10 Generating XHTML for Confluence 4.x

22.12 Specifying a starting topic for HTML or XHTML

22.13 Using framesets

22.14 Passing W3C validation tests

Table of Contents • Index