Thread: FG support for CDATA?
-
September 18th, 2012, 03:18 #1
FG support for CDATA?
I notice that the scripts I'm working with have "<" instead of "<", which makes sence, since the scripts are directly embedded into an XML document. However, I really, really hate reading that.
Does anyone know of FG supports the use of the CDATA XML tag to embed text content? I could test it, but I'd rather know for certain that it's actually supported (as opposed to "it seems to work") before I start embedding scripts with CDATA tags."A ship in harbor is safe, but that is not what ships are built for." - John Shedd
"Why is it every time we need to get somewhere, I get waylaid by jackassery?" - Dr. Thaddeus Venture
-- CA (Pacific time zone) --
-
September 18th, 2012, 05:07 #2
Lesser Deity
- Join Date
- Mar 2006
- Location
- Arkansas
- Posts
- 7,398
No, FG doesn't support CDATA.
-
September 18th, 2012, 05:42 #3
Thanks, Griogre... that's what I figured.
*grumble*"A ship in harbor is safe, but that is not what ships are built for." - John Shedd
"Why is it every time we need to get somewhere, I get waylaid by jackassery?" - Dr. Thaddeus Venture
-- CA (Pacific time zone) --
-
September 18th, 2012, 08:00 #4
Better to put that code into separate lua files and include them with the <script> tag.
Former SW ruleset / Deadlands extension author. Now I just wanna play a few games. And maybe hack. A little.
-
September 17th, 2020, 08:31 #5
- Join Date
- Aug 2019
- Location
- Australia
- Posts
- 31
For what it's worth, Lua code in CDATA appears to be supported in 3.3. However, FG Unity does not appear to recognise it so, yeah, not really supported.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks