ipvalxml

ipvalxml

<?xml version="1.0" encoding="UTF8" ?>
- test progs.TagSpecial
	test PI - ?A	- P
	test CDATA	- C	normal and one with NO data
	test Comment	- X	normal and one with NO data
	test progs.DocType	- X
- progs.TagSpeical in ipsgml and ipformat
- data
	<> & and no ; in 10-12 chrs
	UTF8 ?? input switch and/or poss check XML for encoding ??
	? check entities
- Check DOCTYPE, comment etc do NOT have Alone tags '/'
- supercede flag...
- outque ?? default ??


int	preserveComments = NO;

int	TagSpecial[SORTOUT_maxTags];  // is CDATA, PI, Comment, progs.DocType 

void	sort_out_attributes (fipchar *, fipchar *, int);
void	write_out_tags (fipchar *, int);

before pBig is zapped
	// do it 
	sprintf (bess, "%s%d", IPF_TMP, fpid);
	write_out_tags (bess, addFipHdr);

	ipvalxml

Keywords for AA parameter file are :
	; comment line
	outque:	output queue for the new file.
		(same as input switch -o)
	dest:	Destination (as in sys/USERS)
	extra-fiphdr:	more fixed Fip Hdr fields to add to the file (before any new
matched additions)
	script:	script to run against the New file.		default: none
	newname: name of the output file.
		(same as input switch -O)
		

Where sections of progs.FipHdr fields are required or changes to the output style,
use keywords : fixed, partial, combie, optional, repeat, newdate and/or style.
(see The progs.SysAdmin manual for more information).
 
	They are normally specified :
		fixed:QZ	1234543
		partial:QT	ST,3,2,U,<,>
		combie:QY	ep|na,(0000000)a 
		option:QE	ep,11,7,s
		repeat:QK	XK,-,3  
	or	repeat:QP	PK,,4,#X
		style:QS	XN,%.03d


Input Parameters are (all optional) :
Either
	-1 : path/filename for single shot		default: spooled
		The input file is NOT deleted
		If this does NOT start with a '/', it is assumed relative to the current
path.
Or
	-i : input queue				default: spool/2valxml
		If this does NOT start with a '/', it is assumed under spool.
Other switches
	-D : display tags				default: do not
		only in single shot mode
	-h : extra progs.FipHdr information to add		default: none
	-H : do NOT add a progs.FipHdr to the output file	default: use the fiphdr off the
incoming file
	-l : do NOT log files in			default: log
	-o : output queue				default: spool/2go
		If this does NOT start with a '/', it is assumed under spool.
	-O : output filename for single shot files	default: input file is overwritten
		This can be in progs.FipSeq and can be just the filename or path and name.
	-w : file wait for files arriving across a network.	def: 8 secs
	-z : default parameter file in tables/setup	default: tables/setup/VALXML
	-v : print version number and exit

---NOTES---

Version Control
;000e	20nov01 original version

© progs.FingerPost Ltd. 2008 and years before
Topic revision: r1 - 21 Jan 2005 - 14:51:59 - TWikiGuest
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback