Skip to main content
Participating Frequently
July 6, 2011
Question

Export non-breaking hyphen to XML

  • July 6, 2011
  • 1 reply
  • 864 views

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

This topic has been closed for replies.

1 reply

Michael_Müller-Hillebrand
Legend
July 7, 2011

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