1 /******************************************************************************
2 * Copyright (C) 2002, International Business Machines Corporation and
3 * others. All Rights Reserved.
4 ******************************************************************************/
23 #include "ChildName.h"
24 #include "DOMPrintFormatTarget.h"
26 //#define UOPTION_TXT UOPTION_DEF("txt", 't', UOPT_NO_ARG)
27 //#define UOPTION_RES UOPTION_DEF("res", 'r', UOPT_NO_ARG)
33 void ErrorReport(DOM_Node
& towrite
, int ErrorType
);
34 void Check(DOM_Node
&document
);
35 ostream
& operator<<(ostream
& target
, const DOMString
& toWrite
);
36 ostream
& operator<<(ostream
& target
, DOM_Node
& toWrite
);
37 XMLFormatter
& operator<< (XMLFormatter
& strm
, const DOMString
& s
);
38 char* CreateTxtName(const char* arg
, const char* Dir
);
39 char* CreateFile(const char* arg
, const char* Dir
);
40 DOMString
CheckIntvector(DOMString attributeVal
, DOM_Node document
);
41 void CheckInt(DOMString attributeVal
, DOM_Node document
);
42 void CheckBin(DOMString attributeVal
, DOM_Node document
);
43 unsigned int GetCNodeNum(DOM_Node document
);
44 ChildName
* CheckNameDuplicate(DOM_Node document
, ChildName
* cn
);
45 DOMString
getAttributeKey(DOM_Node CNode
);
46 void DelChildName(ChildName
* cn
);
47 void CheckEscape(DOM_NamedNodeMap attributes
, DOMString attributeVal
, int item_num
);