Find Jobs
Hire Freelancers

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

$10-30 AUD

Dokončeno
Zveřejněno před více než 5 roky

$10-30 AUD

Zaplaceno při doručení
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>
IČ projektu: 18119070

O projektu

1 nabídka
Vzdálený projekt
Aktivní před 5 roky

Chcete si vydělat nějaké peníze?

Výhody podávání nabídek na Freelancer

Stanovte si rozpočet a časový rámec
Získejte za svou práci zaplaceno
Načrtněte svůj návrh
Registrace a podávání nabídek je zdarma
Uděleno:
Avatar uživatele
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 v 1 dni
5,0 (15 recenze)
4,8
4,8

O klientovi

Pochází z AUSTRALIA
Waterways, Australia
5,0
1
Ověřená platební metoda
Členem od lis 8, 2018

Ověření klienta

Díky! Poslali jsme vám e-mailem odkaz pro získání kreditu zdarma.
Při odesílání e-mailu se něco pokazilo. Zkuste to prosím znovu.
Registrovaných uživatelů Zveřejněných projektů
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Načítání náhledu
Bylo uděleno povolení ke geolokaci.
Vaše doba přihlášení vypršela a byli jste odhlášeni. Přihlaste se znovu.