[GB.XML]
* BUG : XmlDocument.Content (and similar) now works correctly. git-svn-id: svn://localhost/gambas/trunk@4697 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
513015d055
commit
d9b20c0948
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ wstring Document::Virtual::getContent(bool indent)
|
||||||
}
|
}
|
||||||
|
|
||||||
void Document::setContent(wstring str)
|
void Document::setContent(wstring str)
|
||||||
{/*
|
{
|
||||||
unsigned int i, pos = 0, len = 0, lines = 0;
|
unsigned int i, pos = 0, len = 0, lines = 0;
|
||||||
wstring prolog, s;
|
wstring prolog, s;
|
||||||
for (i = 0; i < str.length(); i++)//On cherche le prologue XML
|
for (i = 0; i < str.length(); i++)//On cherche le prologue XML
|
||||||
|
@ -75,7 +75,7 @@ void Document::setContent(wstring str)
|
||||||
delete elements;
|
delete elements;
|
||||||
|
|
||||||
if(!root) throw HTMLParseException(0, 0, L"somewhere", L"No valid root element found.");
|
if(!root) throw HTMLParseException(0, 0, L"somewhere", L"No valid root element found.");
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Element* Document::createElement(wstring tagName)
|
Element* Document::createElement(wstring tagName)
|
||||||
|
|
Loading…
Reference in a new issue