[SAMPLE] update new URI

This commit is contained in:
Edouard DUPIN 2018-10-09 23:03:07 +02:00
parent 0087c41321
commit 3826dfb41a
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ File to read: "read.xml"
Reading a file is done like this:
@snippet read.cpp exml_sample_read_file
The file naming is manage by @ref etk::FSNode that provide "DATA:" start string for internal application asset. You can use external path like "./plop/file.xml" too.
The file naming is manage by @ref etk::FSNode that provide "DATA:///" start string for internal application asset. You can use external path like "./plop/file.xml" too.
Read an XML Stream {#exml_tutorial_read_stream}

View File

@ -17,7 +17,7 @@ static void readFromFile() {
exml::Document doc;
//! [exml_sample_declare_doc]
//! [exml_sample_read_file]
bool retParse = doc.load("DATA:read.xml");
bool retParse = doc.load("DATA:///read.xml");
//! [exml_sample_read_file]
TEST_INFO("parse ret = " << retParse);
TEST_INFO("Debug display of the tree:");
@ -56,7 +56,7 @@ static void readFromString2() {
static void readFull() {
exml::Document doc;
TEST_INFO("parse");
bool retParse = doc.load("DATA:read.xml");
bool retParse = doc.load("DATA:///read.xml");
TEST_INFO("parse ret = " << retParse);
TEST_INFO("Debug display of the tree:");
doc.display();