I have a set of xml files in folder which has the below field.
<mm:sessionID>157.235.206.12900397BE4:A</mm:sessionID>,
I need to update this field regularly with new session id, which I have it from a login file.
Can anyone tell me how to add a new value in <mm:sessionID> field in xml files
under the folder("/usr/home/automation/Sanity/xml/) using perl script?
Here is what I have
Thanks
varma
Last edited by radoulov; 04-12-2011 at 08:12 AM..
Reason: Code tags, please!
I need to know the way. I have got parsing down some nodes. But I was unable to get the child node perfectly. If you have code please send it. It will be very useful for me. (0 Replies)
I'm trying to write a perl script that I can run as a cron job in root of my web server that will look for .shtml files get their last modified date and replace it in the sitemap_test.xml file. the problem is the substitution doesn't work and when I print to MYFILE it adds the lastmod to the end of... (3 Replies)
Hi All,
I have some data which needs to be saved in the xml file format.Can you guys please let me know how to do this using perl script.
NOTE: the template of the xml file shall be depending on validation of the data done for some requirements. Basically to summarise, the fields in the xml... (5 Replies)
Hi every one,
Please excuse me if any grammatical mistakes is there.
I have multiple xml files in one directory, I need to create multiple XML files into one XML file.example files like this</p>
file1:bvr.xml
... (0 Replies)
Hello,
I have a requirement to extract the value from multiple xml node and print out the values to new file to compare.
Would be done using either awk/perl or some unix script.
For example sample input file:
.....
.....
<factories xmi:type="resources.jdbc:DataSource"... (2 Replies)
Hi Everyone,
I'm new here and I was checking this old post:
/shell-programming-and-scripting/180669-splitting-file-into-several-smaller-files-using-perl.html
(cannot paste link because of lack of points)
I need to do something like this but understand very little of perl.
I also check... (4 Replies)
I have a VBA that creates a new directory folder and creates a new text file in that directory. I am trying to run a perl script from the VBA and have created a batch file that gets called from the VBA. That bat file uses a shell file to run a script. When the batch file is called I get the error... (0 Replies)
Hello, I need to get few values from a XML file and output needs to be written in another file with pipe delimited format. The Header & Footer of the Pipe Delimited file will be constant.
The below is my sample XML file. I need to pull the values in between the XML tags <Operator_info to... (15 Replies)
Discussion started by: karthi1305561
15 Replies
LEARN ABOUT DEBIAN
mdoc-validate
mdoc-validate(1) General Commands Manual mdoc-validate(1)NAME
mdoc validate - Validate XML documents against a schema
SYNOPSIS
mdoc validate [OPTIONS]* PATHS+
DESCRIPTION
mdoc validate validates the specified PATHS against a specified format schema.
OPTIONS --format=FORMAT
The documentation format to validate PATHS against. Supported formats include: ecma.
See the FORMATS section below for more information about these formats.
The default format (if none is specified) is ecma.
-h, -?, --help
Display a help message and exit.
FORMATS
The following documentation formats are supported:
ecma
The Mono ECMA Documentation Format validates all output generated by mdoc-update(1) against an XML schema, including the index.xml,
ns-*.xml, and NamespaceName/TypeName.xml files.
See mdoc(5) for details about this file format.
EXAMPLES
To validate the mdoc-update(1) output stored within a directory (and all documentation within that directory, recursively), use:
mdoc validate /path/to/ecma/docs
MAILING LISTS
Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
WEB SITE
Visit http://www.mono-project.com/mdoc for details
mdoc-validate(1)