XGFUPDATE(1) General Commands Manual XGFUPDATE(1)NAME
xgfupdate - updates an Xgridfit program file to the latest version.
SYNOPSIS
xgfupdate file
DESCRIPTION
Xgfupdate is a utility that updates an Xgridfit program file so that it validates against the current xgridfit.rnc schema. Xgfupdate out-
puts the updated file to stdout. To capture the output in a file, use this syntax:
$xgfupdate [options] infile > outfile
OPTIONS -h Display a help message and exit.
-v 1|2 Choose a mode in which to run Xgfupdate. "1" updates an Xgridfit program so that it will validate against the 2.0 schema. "2"
updates an Xgridfit program from version 1.x or 2.0 to version 2.1 by adding the Xgridfit namespace; it also revises XInclude
elements to be aware of the Xgridfit namespace.
FILES
/usr/share/xml/xgridfit/util/xgf-update.xsl
/usr/share/xml/xgridfit/util/xgf-add-namespace.xsl XSLT scripts that do the updating.
/usr/share/xml/xgridfit/util/add-blanks.sed
A Sed script that does some formatting of the output.
SEE ALSO xgridfit(1).
AUTHOR
Xgfupdate was written by Peter Baker <psb6m@virginia.edu>.
This manual page was written by Peter Baker
2009-12-18 XGFUPDATE(1)
Check Out this Related Man Page
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)
I have a configuration file that when a certain script runs in updates. I want to use sed and can't seem to get the syntax right.
A line from the configuration file looks like:
DATE=20040909 12:00:10
When the script is run I want to change the date and time, i.e. removing the previous... (7 Replies)
Hi I am trying to use sed command as part of my script but it is not doing what I wanted it to do.....I have an xml file where there are instances I get "Holding1" and I want them to be changed to "Holding"...in my script I used it this way....
#! /usr/bin/sh
set -x
if
then
CNT_HLDING=`grep... (6 Replies)
Hi All,
I'm executing the statement defined below
sed 's/${GETUID}/${NEW}/g' test.xml > newTest.xml
mv newTest.xml test.xml
The value of GETUID is 123456789101
The value of NEW is 120607161020
The test.xml file is not updating with the new value.
Thanks (9 Replies)
I have an xml file:
<AutoData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Table1>
<Data1 10 </Data1>
<Data2 20 </Data2>
<Data3 40 </Data3>
<Table1>
</AutoData>
and I have to remove the portion xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" only.
I tried using sed... (10 Replies)
Hi.. i've seach something about my problem in this forum before this post, and i've found something similar .. but i can't adapte to my case...
I'm not a sed or in general script programmer... so i need your help... (and sorry for bad english :-( )
i must extract from a html page like this (the... (7 Replies)
Can someone help me "port" this to AIX sed?
sed '/nas/{n;s/true/false/}'
I know it doesn't like the ; but i don't know how else to do it.... never had to sed on an AIX box :D (7 Replies)
Hi ,
I have this record as output of my script but i want it to filter more so as not to display those records/lines that has lesser than 10.
here is the sample record:
Feb 24 abraham 60.191.95.78 = 2
Feb 24 andrea 60.191.95.78 = 2
Feb 24 page 60.191.95.78 = 2
Feb 24... (9 Replies)
Hi again!
Sed is very difficult to understand for me... :(
I have a file like this
And I'm looking for this result
I found sed '$!N;s/\n/ /' => Put Line1 and Line2 together, Line3 and Line4...
I tried |sed '$!N;s/\n*\n/ /' but it didn't work...
Thanks for your help
PS:And... (6 Replies)
Hi All,
I'm looking for some expert help on sed/script to work out the best way to transform one xml format into another however there are a few complexities around translation.
The extra complexities are to:
1) take the start and stop time (YYYYMMDDHHMMSS) and convert to start time to unix... (8 Replies)
Hi, I'm a newbie to sed and learning about sed 1 liners and captures. I was wondering if someone could help me with the code below:
http://i51.tinypic.com/2eg4kdd.png
So that's taking a URL and splitting it into URL,TLD & Filename. Any help on how I can do this is much appreciated.
... (6 Replies)
I use many different machines at work, each with different versions of o/s's and installed applications. Sed in vi is particularly inconvenient in the sense that sometimes it will accept the "\r" as a carriage return, sometimes not. Same thing with "\n". For instance, if I have a list of hosts... (7 Replies)
Hi ! I'm working into my first bash script to make some xml modification and it's going to make me crazy lol .. so I decide to try into this forum to take some ideas from people that really know about this!
This is my situation I've and xml file with a lots of positional values with another tags... (9 Replies)
hi, please help me with the below
1)i have a file like below with data
389096
389097
389098
..and i need some thing like below
'389096','ZZ1111'
'389097','ZZ1111'
'389098','ZZ1111'
2)i have a file like below with data
8300003225
8300003223
8300006494 (7 Replies)
Hi!
I have a problem with a script and I think Sed could resolve it, but I don't know how to do....
I have a plenty lines like that one
I would like to know how to find the attribut which is 2 fields before (with ":" as separator). :wall:
Someone how to know how to do it?
Thank you! (6 Replies)
Hi again
I have an xml file and want to remove the leading white space as it causes me issues later in my script
I see sed is possible but cant seem to get it to work
I tried
sed 's/^ *//' file.xml
output
<xn:VsDataContainer id="1U104799" modifier="update">
... (10 Replies)