Skip to main content
Solved

FME - CitySuite

  • February 28, 2025
  • 2 replies
  • 33 views

lovatoe
Contributor
Forum|alt.badge.img+4

Hello am new to FME I in the process of Automating the import of invoices and G/L transactions.  Our CitySuite by Harris.  Is the anyone who is or who has been involved  with the integration of these.  My biggest hurdle at the moment is the format of dollar amounts in XML.  I have tried using the xquery  formula but then the XML Templater fails. Any assistance would be appreciated.  

Best answer by donalmateer

Hi ​@lovatoe,

Upon further investigation - you should be able to use the XQuerty function fn:format-number to format the dollar amounts.
A non XQuery method would be to use a StringFormatter with .2f to format the dollar amount before the XMLTemplater.

Hope this helps!

View original
Did this help you find an answer to your question?

2 replies

donalmateer
Safer
Forum|alt.badge.img+5

Hi ​@lovatoe,

Thank you posting on the community. A good starting point would be to look the following tutorial series on the FME Support Center.
Tutorial: Getting Started with XML

XML (Extensible Markup Language)

 

This might help with the issue at hand. In the meantime I will look into your current hurdle and try find a solution.

Thanks!


donalmateer
Safer
Forum|alt.badge.img+5
  • Safer
  • Best Answer
  • March 5, 2025

Hi ​@lovatoe,

Upon further investigation - you should be able to use the XQuerty function fn:format-number to format the dollar amounts.
A non XQuery method would be to use a StringFormatter with .2f to format the dollar amount before the XMLTemplater.

Hope this helps!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings