Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Literal tab character in XML input to FrameMaker

Community Expert ,
Nov 29, 2021 Nov 29, 2021

I am pretty sure I asked this before but I can't find the thread. I am using XSLT to transform XML to a FrameMaker table on import. I want a literal tab character at the end of the cells in one of the columns. Here is a snippet of my XSLT:

frameexpert_0-1638199932180.pngexpand image

When the file opens in FrameMaker, I don't get the tab character:

frameexpert_1-1638200012162.pngexpand image

If I substitute any other character for testing, it comes over. Any help will be appreciated.

TOPICS
Publishing , Scripting , Structured
559
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 2 Correct answers

Adobe Employee , Nov 29, 2021 Nov 29, 2021
Translate
Community Expert , Nov 29, 2021 Nov 29, 2021

To complete THIS post, here is the solution. In the [Preferences] section of maker.ini, change this

RemoveExtraWhiteSpacesOnXMLImport=On

to this

RemoveExtraWhiteSpacesOnXMLImport=Off

Translate
Adobe Employee ,
Nov 29, 2021 Nov 29, 2021

What happens, if you try  instead of 	 ?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2021 Nov 29, 2021

My XML editor (Oxygen) reports it as an illegal XML character.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 29, 2021 Nov 29, 2021

Of course, right.

What about this: <xsl:text xml:space="preserve">(actual tab character)</xsl:text>

While (actual tab character) would be a "real" tab (0009)?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 29, 2021 Nov 29, 2021
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2021 Nov 29, 2021

So funny that you found that! I couldn't find it so that is why I reposted. But yes, that worked fine. Thank you Stefan!

frameexpert_0-1638202843047.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2021 Nov 29, 2021

To complete THIS post, here is the solution. In the [Preferences] section of maker.ini, change this

RemoveExtraWhiteSpacesOnXMLImport=On

to this

RemoveExtraWhiteSpacesOnXMLImport=Off

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Nov 29, 2021 Nov 29, 2021

Funny enough, it was given at the top of "Related conversations" 🙂

 

StefanGentz_0-1638203599752.pngexpand image

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 29, 2021 Nov 29, 2021
LATEST

Oops! I need to pay more attention 🙂

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines