Find Jobs
Hire Freelancers

XML Processing: xmlstarlet expression to find entries in one file and copy it to another

$10-30 AUD

已完成
已发布超过 5 年前

$10-30 AUD

货到付款
I need a shell script to do some XML processing, using xmlstarlet. I have 2 xml files. I need to copy some elements from one file to the other. Both files are the same kind. I want to find the following in [login to view URL]: Under <glyf>, find this entire element: <TTGlyph name="{0}" [... other attributes] > [... content] </TTGlyph> Where {0} would be a list of strings to iterate a search for each string. And then copy and replace in [login to view URL] where the same element occurs. Then repeat the same operation under <gvar>: <glyphVariations glyph="{0}"> [… content] </glyphVariations>
项目 ID: 18119070

关于此项目

1条提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi. As I understand, you would like a bash shell script that will replace some of the TTGlyph and glyphVariations in [login to view URL] with the versions in [login to view URL] with the same name, and xmlstarlet (xml) is an acceptable command to use. To make this replacement, I can deliver a bash shell script using an xsl transform. The script would take three parameters: the [login to view URL], the [login to view URL], and (optionally) a string containing a subset of the glyph names separated by commas with no spaces. (If the glyph names are not specified, then all glyphs that are in both [login to view URL] and [login to view URL] will be replaced.) The output will write to "[login to view URL]" if the first parameter is "[login to view URL]". Have I understood correctly? Does this sound acceptable? Please let me know if you need changes.
$35 AUD 在1天之内
5.0 (15条评论)
4.8
4.8

关于客户

AUSTRALIA的国旗
Waterways, Australia
5.0
1
付款方式已验证
会员自11月 8, 2018起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。