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

Export non-breaking hyphen to XML

New Here ,
Jul 06, 2011 Jul 06, 2011

Hi,

Using (still) Framemaker 8, Structured. I have documents that use the non-breaking hyphen. I would like to save these to XML, then use XSLT to translate the documents to a new form. When I encounter the non-breaking hyphen I would like to translate the non-break hyphen to a reagular hyphen.

What code(s) should I be looking for in the regular expression?

Thanks,

- m

TOPICS
Structured
829
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
Advocate ,
Jul 07, 2011 Jul 07, 2011
LATEST

Matt,

If you talk about regular expressions I assume you want to post-process the XML using XSLT 2.0?

Anyway, the non-breaking hyphen (entered as Esc - h) is a valid Unicode character and should appear in your XML as character ‑ – at least it does so using FrameMaker 9.

- Michael

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