Download NHK English news podcast automatically. XML Parser "spxml" is used. This application requires mpod mother board. See also http://mbed.org/users/geodenx/notebook/mpod/
Dependencies: BlinkLed HTTPClient EthernetInterface FatFileSystemCpp MSCFileSystem spxml mbed-rtos mbed
Fork of mpod_nhk_english by
Download NHK English news podcast automatically.
XML Parser "spxml" is used.
This application requires mpod mother board.
See also http://mbed.org/users/geodenx/notebook/mpod/
Diff: spxml/spcanonxml.hpp
- Revision:
- 8:a9541e8897f5
- Parent:
- 7:ad9fcf0e1bc5
--- a/spxml/spcanonxml.hpp Sat Sep 01 04:09:48 2012 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,38 +0,0 @@ -/* - * Copyright 2007 Stephen Liu - * For license terms, see the file COPYING along with this library. - */ - -#ifndef __spcanonxml_hpp__ -#define __spcanonxml_hpp__ - -class SP_XmlNode; -class SP_XmlStringBuffer; -class SP_XmlDocDeclNode; -class SP_XmlDocTypeNode; - -/// XML Canonical, defined by James Clark. -class SP_CanonXmlBuffer { -public: - SP_CanonXmlBuffer( const SP_XmlNode * node ); - ~SP_CanonXmlBuffer(); - - const char * getBuffer() const; - int getSize() const; - -private: - SP_CanonXmlBuffer( SP_CanonXmlBuffer & ); - SP_CanonXmlBuffer & operator=( SP_CanonXmlBuffer & ); - - static void dump( const SP_XmlNode * node, - SP_XmlStringBuffer * buffer ); - static void dumpElement( const SP_XmlNode * node, - SP_XmlStringBuffer * buffer ); - - static void canonEncode( const char * value, - SP_XmlStringBuffer * buffer ); - - SP_XmlStringBuffer * mBuffer; -}; - -#endif