Article ID: 833333 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
When you try to insert a paragraph mark inside an inline XML element in a Microsoft Office Word 2007 document or in a Microsoft Office Word 2003 document, Word does not add the paragraph mark inside the XML element. Instead, Word moves the text that follows the paragraph mark outside the XML element.
This is the expected behavior in a Word 2007 document or in a Word 2003 document. Word 2007 and Word 2003 represent XML tags in two ways: inline or block level. An inline tag is inside a paragraph while a block level tag contains paragraphs.
Inline XML tags inside a paragraph can only contain other XML items inside the tag, such as text, fields, and other forms of formatting.
To resolve this behavior, you must use an XML block level tag. To do this, follow these steps:
If the tag is not applied correctly, the Elements in the document item in the XML Structure pane will have a question mark next to the element.
If the tag is applied correctly, the Elements in the document item in the XML Structure pane will not have a question mark next to the element.
Because a block level tag contains the paragraph mark and everything inside the paragraph, and the block level tag exists around the paragraph, the tag can contain multiple paragraphs. However, block level tags cannot contain part of one paragraph and part of another paragraph because the result would not be well-formed XML.
Kontaktieren Sie uns, um weitere Hilfe zu erhalten