Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Hydra Core Library Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

rwsf::XmlUtils

Group:  XML Related

Local Index

Members

Header File

#include <rwsf/core/XmlUtils.h>

Description

rwsf::XmlUtils is a utility class used primarily internally. However, it may be useful for its string processing helper functions.

In particular, this class can perform character set conversions between a non-UTF-8 character encoding and UTF-8, using its convertCharset() function. For more information, Chapter 20, "Internationalizing Your Services," in the HydraExpress Web Service Development Guide

Public Member Functions

static std::string   
stripWhiteSpaceAndNewlines(const std::string& str,
    rwsf::stdstripType toStrip = rwsf::both);
static std::string 
getPrefix(const std::string& qName);
static void        
getPrefixAndLocalName(const std::string& qName,
    std::string& prefix, std::string& lname );
static std::string   
changeName(rwsf::XmlName name, std::string element);
static rwsf::DateTime
convertISODateStringToDateTime(const std::string& anISODateStr);
static std::string
convertDateTimeToISOString(const rwsf::DateTime& dt,
    const std::string& format = ISO8601Format);
static std::string            
convertCharset(const std::string& buffer, 
    const std::string& from, const std::string& to);
static bool          
isWhiteSpace(const char c);
static bool  
compareAttributeSet(const rwsf::XmlAttributeSet& a1,
                    const rwsf::XmlAttributeSet& a2);
static bool  
compareAttributeSet(const rwsf::XmlAttributeSet& a1,
                    const rwsf::XmlAttributeSet& a2,\
                    std::string& compareInfo);
static bool
compareXml(const std::string& xml1, 
           const std::string& xml2,
           std::string& compareInfo,
           bool ignoreWhitespace);


Previous fileTop of DocumentContentsIndex pageNext file

©2004-2007 Copyright Quovadx, Inc. All Rights Reserved.
Quovadx and Rogue Wave are registered trademarks and HydraSDO is a trademark of Quovadx, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.