Format and Indent problem
Oxygen general issues.
-
- Posts: 24
- Joined: Thu Jan 07, 2021 10:44 am
Format and Indent problem
Post by DanOvergaard »
Hi,
I have a couple of problems with the Format and Indent I can't solve and hope for your help. The problem is located to one template as the rest of the XSLT behave as expected - keeping the empty lines
When i try to insert a new line between </xsl:if> <xsl:if > the "Format and Indent" remove them and place them on the same line
Whished formatting
If I the press "Format and Indent" I get
When I insert a extra line between the 2 lines below it's removed when I push the "Format and Indent"
Note
In Options - Preferences - Editor - format - XML is have marked the "Perserve empty lines"
Regards,
Dan
I have a couple of problems with the Format and Indent I can't solve and hope for your help. The problem is located to one template as the rest of the XSLT behave as expected - keeping the empty lines
When i try to insert a new line between </xsl:if> <xsl:if > the "Format and Indent" remove them and place them on the same line
Whished formatting
Code: Select all
<xsl:if test="Test something ''">
</xsl:if >
<xsl:if test="Something ''">
</xsl:if>
Code: Select all
<xsl:if test="Test something ''">
</xsl:if > <xsl:if test="Something ''">
</xsl:if>
When I insert a extra line between the 2 lines below it's removed when I push the "Format and Indent"
Code: Select all
<xsl:copy-of select="cbc:Note" copy-namespaces="no" />
<xsl:copy-of select="cbc:TaxPointDate" copy-namespaces="no" />
Note
In Options - Preferences - Editor - format - XML is have marked the "Perserve empty lines"
Regards,
Dan
Re: Format and Indent problem
Hello Dan,
Please consider sending us a bigger sample to reproduce this behavior.
You can send an email at "support at oxygenxml dot com".
Also please let us know the exact version of Oxygen you are using.
Using just the lines you sent us, the behavior is as expected.
Regards,
Mircea.
Please consider sending us a bigger sample to reproduce this behavior.
You can send an email at "support at oxygenxml dot com".
Also please let us know the exact version of Oxygen you are using.
Using just the lines you sent us, the behavior is as expected.
Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 24
- Joined: Thu Jan 07, 2021 10:44 am
Re: Format and Indent problem
Post by DanOvergaard »
Hello Mircea,
Thanks for your reply
I just fixed the problem by recreating the full template line by line, so I can't provide a example any longer.
The strange part was that it was bounded to the "text" in this one template as no other templates was effected - I even could copy the content of the template to a new XSLT filen and there it also behaved strangely.
Anyway the problem has gone, so the case is closed
Regards,
Dan
Thanks for your reply
I just fixed the problem by recreating the full template line by line, so I can't provide a example any longer.
The strange part was that it was bounded to the "text" in this one template as no other templates was effected - I even could copy the content of the template to a new XSLT filen and there it also behaved strangely.
Anyway the problem has gone, so the case is closed
Regards,
Dan
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