Thread: XML organization and reusability
-
December 18th, 2020, 15:06 #1
XML organization and reusability
Here I am with another of my questions: is there a way to put a part of a class in a separate file?
I tried this without any success:
First file
<?xml version="1.0" encoding="utf-8"?>
<root>
<windowclass name="myName" mergerule="replace"></root>
<includefile source="secondFile.xml" /></windowclass>
Second file
<sheetdata>
<close_charsheet /></sheetdata>
I've tried even using this kind of second file
<?xml version="1.0" encoding="utf-8"?>
<root>
<sheetdata></root>
<close_charsheet /></sheetdata>
PS Is this the right place for this kind of questions?
-
December 18th, 2020, 15:26 #2Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
December 18th, 2020, 15:37 #3
Ty, I thought there was a better place
-
December 18th, 2020, 16:31 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,562
You can't embed includefile tags within other tags; they must be at the top level of the file.
Regards,
JPG
-
December 18th, 2020, 16:51 #5
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks