[sword-cvs] sword/include utilxml.h,1.1,1.2

sword@www.crosswire.org sword@www.crosswire.org
Tue, 27 May 2003 18:53:02 -0700


Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv20826/include

Modified Files:
	utilxml.h 
Log Message:


Index: utilxml.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/utilxml.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** utilxml.h	26 May 2003 04:32:45 -0000	1.1
--- utilxml.h	28 May 2003 01:53:00 -0000	1.2
***************
*** 62,70 ****
  	const ListString getAttributeNames() const;
  	const char *getAttribute(const char *attribName) const;
! 	const char *setAttribute(const char *attribName, const char *attribValue) {
! 		if (!parsed)
! 			parse();
! 		attributes[attribName] = attribValue;
! 	}
  	const char *toString() const;
  	inline operator const char *() const { return toString(); }
--- 62,66 ----
  	const ListString getAttributeNames() const;
  	const char *getAttribute(const char *attribName) const;
! 	const char *setAttribute(const char *attribName, const char *attribValue);
  	const char *toString() const;
  	inline operator const char *() const { return toString(); }