diff options
Diffstat (limited to 'src/KM_xml.h')
| -rw-r--r-- | src/KM_xml.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/KM_xml.h b/src/KM_xml.h index 0f8ba3c..0c84e56 100644 --- a/src/KM_xml.h +++ b/src/KM_xml.h @@ -1,5 +1,5 @@ /* -Copyright (c) 2005-2011, John Hurst +Copyright (c) 2005-2015, John Hurst All rights reserved. Redistribution and use in source and binary forms, with or without @@ -41,9 +41,6 @@ namespace Kumu { class XMLElement; - // Return true if the given string contains an XML document (or the start of one). - bool StringIsXML(const char* document, ui32_t len = 0); - // struct NVPair { @@ -109,6 +106,10 @@ namespace Kumu bool ParseString(const ByteString& document); bool ParseString(const std::string& document); + bool ParseFirstFromString(const char* document, ui32_t doc_len); + bool ParseFirstFromString(const ByteString& document); + bool ParseFirstFromString(const std::string& document); + // building void SetName(const char* name); void SetBody(const std::string& value); |
