Lengkap

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

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 need to clarify {0} in:
<TTGlyph name="{0}" [... other attributes] >

I meant {0} would be a string, which would be from a list of strings that this script needs to iterate through for both type of elements.

Kemahiran: Regular Expressions, Skrip Kekerang, XML, XSLT

Lihat lagi: grep between xml tags, sed xml tag extract, how to read xml file in unix shell script, xmlstarlet examples, bash parse xml, linux xml parser, xmlstarlet ed, xmlstarlet extract element value, thumb drive autorun file copy, progress bar file copy example, visual basic net file copy changes, best language simple file copy script, expression engine file upload, vbnet file copy date modified, file copy large file copy changes vista, vb6 display progress bar file copy finish, file copy blocker, xml flash script count entries, vbnet wait file copy, wmv file copy hard drive

Tentang Majikan:
( 0 ulasan ) Hawthorn, Australia

ID Projek: #18119070

Dianugerahkan kepada:

grammal

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 Lagi

$35 AUD dalam sehari
(12 Ulasan)
4.8

2 pekerja bebas membida secara purata $32 untuk pekerjaan ini

evonsystems7

Hi, Thank you for giving me a chance to bid on your project. i am a serious bidder here and i have already worked on a similar project before and can deliver as u have mentioned I have got Rich experience in Jooml Lagi

$28 AUD dalam 7 hari
(0 Ulasan)
0.0