XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Perl and XML on the Command Line
Subject: xml starlet
Date: 2006-09-25 11:56:16
From: daczkowski
Response to: Thanks

I'm new at xmlstarlet. I'm running under windows XP.
I used the following line to edit the value of @filename attribute.
xml ed -u "/KLAMATH/ENCODESESSION/MEDIAOUTPUT/FILEMEDIA/@filepath" -v c:/wd_tel2 eos3dr1_device0_drc1500.prj


The output indicates that the attribute value has changed. However the original file did not change. How do I save my changes that I made via the xml ed commmand?


Can you help or direct me to some info?


Thanks


No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938