Skip to content
Snippets Groups Projects
XMLScanner.cpp 67 KiB
Newer Older
Khaled Noaman's avatar
Khaled Noaman committed
//  Most equal signs can have white space around them, so this little guy
//  just makes the calling code cleaner by eating whitespace.
bool XMLScanner::scanEq()
{
    fReaderMgr.skipPastSpaces();
    if (fReaderMgr.skippedChar(chEqual))
    {
        fReaderMgr.skipPastSpaces();
        return true;
    }
    return false;
Khaled Noaman's avatar
Khaled Noaman committed

unsigned int
XMLScanner::scanUpToWSOr(XMLBuffer& toFill, const XMLCh chEndChar)
Khaled Noaman's avatar
Khaled Noaman committed
    fReaderMgr.getUpToCharOrWS(toFill, chEndChar);
    return toFill.getLen();
Tinny Ng's avatar
Tinny Ng committed
XERCES_CPP_NAMESPACE_END