15 it != value.
end();++it)
41 std::string::size_type pos = 0;
43 pos = result.
find(
"&");
46 while(pos != std::string::npos)
49 result.
begin()+pos+5);
51 result.
begin()+pos+4);
53 result.
begin()+pos+3);
64 pos = result.
find(
"&", pos+4);
96 return "<![CDATA[" + input +
"]]>";
ossimString substitute(const ossimString &searchKey, const ossimString &replacementValue, bool replaceAll=false) const
Substitutes searchKey string with replacementValue and returns a string.
std::string::const_iterator const_iterator
static bool containsSpecialXmlCharacters(const ossimString &value)
const ossimXmlString & assign(const ossimString &s)
std::string::iterator end()
std::string::iterator begin()
static ossimString wrapCDataIfNeeded(const ossimString &input)
static ossimString wrapCData(const ossimString &input)
std::string & replace(std::string::size_type pos, std::string::size_type n, const std::string &s)
Replaces a substring of *this with the string s.
std::string::size_type find(const std::string &s, std::string::size_type pos=0) const
Searches for s as a substring of *this, beginning at character pos of *this.