Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
7ef28af3
Commit
7ef28af3
authored
Dec 17, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UniXML: support for XInclude (see eterbug #6304)
parent
e6fabab1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
UniXML.cc
src/Various/UniXML.cc
+7
-0
No files found.
src/Various/UniXML.cc
View file @
7ef28af3
...
...
@@ -34,6 +34,7 @@
#include "UniSetTypes.h"
#include "UniXML.h"
#include "Exceptions.h"
#include <libxml/xinclude.h>
using
namespace
UniSetTypes
;
using
namespace
std
;
...
...
@@ -91,6 +92,12 @@ void UniXML::open(const string _filename)
doc
=
xmlParseFile
(
_filename
.
c_str
());
if
(
doc
==
NULL
)
throw
NameNotFound
(
"UniXML(open): NotFound file="
+
_filename
);
// Support for XInclude (see eterbug #6304)
// main tag must to have follow property: xmlns:xi="http://www.w3.org/2001/XInclude"
//For include: <xi:include href="test2.xml"/>
xmlXIncludeProcess
(
doc
);
cur
=
getFirstNode
();
filename
=
_filename
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment