在文本文件中替换书签

发布于 2025-01-27 20:34:24 字数 502 浏览 3 评论 0原文

我们有很多电子邮件需要使用数据库中存储的数据进行代码生成。电子邮件的主体存储在XML文件中(可以移至JSON或表格)。我喜欢使用某种书签(使用其相应的表/字段名称创建),然后填充它们。

例如:

*Good day:
This is the initial communication to a <<**order_no**>>, please ensure the communication 
is consistent through this thread.

Please find herein links to business requirements for: <<**project_name**>>
BR # <<**br_no**>>
PRJ # <<**project_no**>>*
  1. 如何读取XML文件?
  2. 我如何操纵文字?

谢谢你!

We have a bunch of emails that need to be code-generate using data stored in database. Body for emails are stored in an XML file (could be moved to json or table). I like to use some sort of bookmarks (created using their corresponding table/field name) and then populate them.

For example:

*Good day:
This is the initial communication to a <<**order_no**>>, please ensure the communication 
is consistent through this thread.

Please find herein links to business requirements for: <<**project_name**>>
BR # <<**br_no**>>
PRJ # <<**project_no**>>*
  1. How do I read the XML file?
  2. How do I manipulate the text?

Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文