XML Indentation
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 168
- Joined: Fri Jan 20, 2017 1:11 pm
XML Indentation
Hello,
We use oxygen-18.1.0.0.jar, and we need to change the XML indentation options.
Currently when we open a document in our application, the indentation is automatically done.
The problem is that we have xml tag on multiple line like this
And what we want is more like this :
Is it possible to change the indentation's option in order to increase the number of characters allowed on a line ?
Thanks,
Regards,
Isabelle
We use oxygen-18.1.0.0.jar, and we need to change the XML indentation options.
Currently when we open a document in our application, the indentation is automatically done.
The problem is that we have xml tag on multiple line like this
Code: Select all
<multimedia id="XXX">
<multimediaObject
infoEntityIdent="XXX"
multimediaType="XXX" id="XXX">
<parameter id="XXX" parameterIdent="XXX"
parameterName="XXX"
parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX"
parameterName="XXX"
parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX"
parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX"
parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX"
parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX"
parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX"
parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX"
parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX"
parameterName="XXX" parameterValue="XXX"/>
</multimediaObject>
</multimedia>
Code: Select all
<multimedia id="XXX">
<multimediaObject infoEntityIdent="XXX" multimediaType="XXX" id="XXX">
<parameter id="XXX" parameterIdent="XXX" parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX" parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX" parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX" parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX" parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX" parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX" parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX" parameterName="XXX" parameterValue="XXX"/>
<parameter id="XXX" parameterIdent="XXX" parameterName="XXX" parameterValue="XXX"/>
</multimediaObject>
</multimedia>
Thanks,
Regards,
Isabelle
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XML Indentation
Hi Isabelle,
You can probably set an option like this:
to increase for example the max line width to 400.
Or export some changed options from an Oxygen standalone installation as XML and then ship these fixed XML options with the component.
Regards,
Radu
You can probably set an option like this:
Code: Select all
PluginWorkspaceProvider.getPluginWorkspace().setGlobalObjectProperty("editor.line.width", 400);
Or export some changed options from an Oxygen standalone installation as XML and then ship these fixed XML options with the component.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ 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