Results 1 to 7 of 7

Thread: [C4:AC] - Forum problem with XML files

  1. #1
    Senethro
    King Senethro's Avatar
    Join Date
    17 Jul 2004
    Location
    Hemah knows.
    Posts
    1,780
    Country
    This is Senethro's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    12:24

    [C4:AC] - Forum problem with XML files

    I tried to copy and paste a section of an XML file for discussion but the forum software interprets the tags as formatting and messes the display up horribly.

    Any suggestions?

  2. #2
    Zoid
    Apolyton Sage No. 6 Zoid's Avatar
    Join Date
    07 Jan 2002
    Location
    Land of teh Vikingz
    Posts
    9,899
    Country
    This is Zoid's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    13:24
    You can use the "code" tag I think. Or attaching it.
    I love being beaten by women - Lorizael

  3. #3
    Zoid
    Apolyton Sage No. 6 Zoid's Avatar
    Join Date
    07 Jan 2002
    Location
    Land of teh Vikingz
    Posts
    9,899
    Country
    This is Zoid's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    13:24
    Testing:

    Code:
    [!-- Sid Meier's Civilization 4 --]
    [!-- Copyright Firaxis Games 2005 --]
    [!-- --]
    [!-- Global Defines Schema --]
    [Schema xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes"]
    	[ElementType name="DefineName" content="textOnly"/]
    	[ElementType name="iDefineIntVal" content="textOnly" dt:type="int"/]
    	[ElementType name="fDefineFloatVal" content="textOnly"/]
    	[ElementType name="DefineTextVal" content="textOnly"/]
    	[ElementType name="Define" content="eltOnly"]
    		[element type="DefineName"/]
    		[element type="iDefineIntVal" minOccurs="0"/]
    		[element type="fDefineFloatVal" minOccurs="0"/]
    		[element type="DefineTextVal" minOccurs="0"/]
    	[/ElementType]
    	[ElementType name="Civ4Defines" content="eltOnly"]
    		[element type="Define" minOccurs="0" maxOccurs="*"/]
    	[/ElementType]
    [/Schema]
    Last edited by Zoid; April 18, 2006 at 07:42.
    I love being beaten by women - Lorizael

  4. #4
    GeoModder
    Deity GeoModder's Avatar
    Join Date
    18 Jan 2004
    Location
    amongst equals.
    Posts
    12,956
    Country
    This is GeoModder's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    13:24
    Nope, doesn't work. The only solution seems to be replacing the "<" and ">" tags with another character.
    He who knows others is wise.
    He who knows himself is enlightened.
    -- Lao Tsu

    SMAC(X) Marsscenario

  5. #5
    Zoid
    Apolyton Sage No. 6 Zoid's Avatar
    Join Date
    07 Jan 2002
    Location
    Land of teh Vikingz
    Posts
    9,899
    Country
    This is Zoid's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    13:24
    So it seems. Thank God for "search and replace" in Wordpad
    I love being beaten by women - Lorizael

  6. #6
    GeoModder
    Deity GeoModder's Avatar
    Join Date
    18 Jan 2004
    Location
    amongst equals.
    Posts
    12,956
    Country
    This is GeoModder's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    13:24
    He who knows others is wise.
    He who knows himself is enlightened.
    -- Lao Tsu

    SMAC(X) Marsscenario

  7. #7
    MMC
    King MMC's Avatar
    Join Date
    30 Mar 2006
    Location
    of the wet little isle known as Britain
    Posts
    1,205
    Country
    This is MMC's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    11:24
    heh... there is actually another tag a bit like the 'code' tag.

    It's called the 'xml' tag.

    Unfortunately, I think it either needs to be activated by an admin, or vBulletin doesn't support it.

    In the meantime, there is 1 way to solve the problem:
    Use HTML special characters (remove the spaces to make them work)
    '& lt;' = <
    '& gt;' = >

    Code:
    <test>
        <blah>
            XML is fun!
        </blah>
    &lt/blah>
    Ceeforee v0.1 - The Unofficial Civ 4 Editor -= Something no Civ Modder should ever be without =- Last Updated: 27/03/2009
    "Just because I'm paranoid doesn't mean there's no conspiracy"

Similar Threads

  1. Display of graphics files on the forum.
    By techumseh in forum Civilization I and Civilization II
    Replies: 11
    Last Post: September 11, 2010, 21:16
  2. Hotmail and .sav files - anyone else with this problem?
    By MrWhereItsAt in forum Civ3 Multiplaying
    Replies: 5
    Last Post: December 29, 2004, 15:13
  3. Should the Civ3 files forum have multiple sections
    By Jaguar Warrior in forum Apolyton/Community-Archive
    Replies: 4
    Last Post: November 1, 2002, 17:41
  4. What´s wrong with the Civ3 files forum?
    By BeBro in forum Apolyton/Community-Archive
    Replies: 2
    Last Post: July 22, 2002, 09:24
  5. files forum and end date
    By johncmcleod in forum Civilization III
    Replies: 5
    Last Post: January 30, 2002, 15:32

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Bookmarks

Posting Permissions