60 |
|
ext::Handle<xml::Document> document(xml::Parse(siteMap)); |
61 |
|
ext::Handle<xml::Node> list(*document/"page"/"section"/"list"); |
62 |
|
|
63 |
< |
comment = *document/"comment()"; |
63 |
> |
comment = ext::String(*document/"comment()"); |
64 |
|
|
65 |
|
oldMap(pages, list); |
66 |
|
} |
72 |
|
for (xml::NodeSet::Iterator node(nodes.Begin()); node != nodes.End(); |
73 |
|
++node) |
74 |
|
{ |
75 |
< |
string url(**node/"link"/"@address"), title(**node/"link"); |
75 |
> |
string url(ext::String(**node/"link"/"@address")), |
76 |
> |
title(ext::String(**node/"link")); |
77 |
|
Page page(url, title); |
78 |
|
ext::Handle<xml::Node> list(**node/"list"); |
79 |
|
|
91 |
|
for (xml::NodeSet::Iterator node(nodes.Begin()); node != nodes.End(); |
92 |
|
++node) |
93 |
|
{ |
94 |
< |
string address(**node/"address"); |
95 |
< |
string port(**node/"port"); |
94 |
> |
string address(ext::String(**node/"address")); |
95 |
> |
string port(ext::String(**node/"port")); |
96 |
|
|
97 |
|
if (!port.empty()) |
98 |
|
{ |
99 |
|
address += ':' + port; |
100 |
|
} |
101 |
|
|
102 |
< |
string path(**node/"path"), title(**node/"title"); |
102 |
> |
string path(ext::String(**node/"path")), |
103 |
> |
title(ext::String(**node/"title")); |
104 |
|
Page page(address, path, title); |
105 |
|
Matcher matcher; |
106 |
|
|