diff --git a/src/pedro/pedrodom.cpp b/src/pedro/pedrodom.cpp
index 4cb176a52973f72fb3dd3b7bde320ae4bceaa7ad..1131e66b8272cdc383092bc03b3acae71712ec84 100644 (file)
--- a/src/pedro/pedrodom.cpp
+++ b/src/pedro/pedrodom.cpp
* Authors:
* Bob Jamison
*
- * Copyright (C) 2005-2007 Bob Jamison
+ * Copyright (C) 2005-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
elem->attributes = attributes;
elem->namespaces = namespaces;
- std::vector<Element *>::iterator iter;
+ ElementList::iterator iter;
for (iter = children.begin(); iter != children.end() ; iter++)
{
elem->addChild((*iter)->clone());
DOMString Element::getTagAttribute(const DOMString &tagName, const DOMString &attrName)
{
- std::vector<Element *>elems = findElements(tagName);
+ ElementList elems = findElements(tagName);
if (elems.size() <1)
return "";
DOMString res = elems[0]->getAttribute(attrName);
DOMString Element::getTagValue(const DOMString &tagName)
{
- std::vector<Element *>elems = findElements(tagName);
+ ElementList elems = findElements(tagName);
if (elems.size() <1)
return "";
DOMString res = elems[0]->getValue();
}
-void Parser::error(char *fmt, ...)
+void Parser::error(char const *fmt, ...)
{
long lineNr;
long colNr;