White space problem in EAD XML
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Wed Oct 20, 2010 8:47 pm
White space problem in EAD XML
I am preparing EAD XML and have noticed that white spaces are added in my <unittitle> and other elements, which carry over when I import into my CMS. Essentially, my short item and file-level titles are broken across two lines which appears to be not just formatting, but also inserting spaces picked up by my CMS.
My workflow has been to "Join and Normalize" the entire file, then "Format and Indent."
My Editor / Format / XML settings are set to preserve empty lines, preserve line breaks in attributes, and indent inline elements. Schema aware format and indent is checked. I use version 12.0 of oxygen.
Can anyone suggest what the issue is with my process that is causing this problem? Any help would be very appreciated. Thank you.
My workflow has been to "Join and Normalize" the entire file, then "Format and Indent."
My Editor / Format / XML settings are set to preserve empty lines, preserve line breaks in attributes, and indent inline elements. Schema aware format and indent is checked. I use version 12.0 of oxygen.
Can anyone suggest what the issue is with my process that is causing this problem? Any help would be very appreciated. Thank you.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: White space problem in EAD XML
Post by sorin_ristache »
Hello,
I'm guessing that the total length of the title that appears broken on two lines at the end of the Format and Indent action exceeds the maximum line length set in the Line width - Format and Indent option that is available from menu Options -> Preferences -> Editor -> Format. In this case the Format and Indent action will insert a line break to limit the line length to that value. If you want to preserve the title you should add unittitle and the names of the other XML elements to the Preserve space list that is available from Options -> Preferences -> Editor -> Format -> XML. The content of the elements from the Preserve space list will not be broken by Format and Indent.
Regards,
Sorin
I'm guessing that the total length of the title that appears broken on two lines at the end of the Format and Indent action exceeds the maximum line length set in the Line width - Format and Indent option that is available from menu Options -> Preferences -> Editor -> Format. In this case the Format and Indent action will insert a line break to limit the line length to that value. If you want to preserve the title you should add unittitle and the names of the other XML elements to the Preserve space list that is available from Options -> Preferences -> Editor -> Format -> XML. The content of the elements from the Preserve space list will not be broken by Format and Indent.
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service