The Azure Heights Forum


Post New Topic  New Poll  Post A Reply
my profile | search | faq | forum home
  next oldest topic   next newest topic
» The Azure Heights Forum   » The Courtyard   » Karp Park   » XML Scripting Help

UBBFriend: Email this page to someone!    
Author Topic: XML Scripting Help
IceHawk78
NOBODY IMPORTANT
Member # 1699

Member Rated:
posted 02-11-2005 02:51 PM      Profile for IceHawk78   Author's Homepage   Email IceHawk78   Send New Private Message      Edit/Delete Post  Reply With Quote 
Alrighty, I know this forum's filled with geeks and shit, so I need someone who can either tell me how to write an XML script to do this or just to generate the script for me:

code:
 
input XML1;
write XML1 -> XML3;
for (int i=0; i<XML2.numlines; i++)
for (int j=0; j<XML3.numlines; j++)
if (XML2.line(i).variable1 < XML3.line(j).variable1)
{
write XML2.line(i) between XML3.line(j-1) and XML3.line(j);
break;
}

Basically, I just don't know what the syntax for doing that with XML would be.
From: Ohio | Registered: Apr 2001  |  IP: Logged
Lark84
My skeleton is made of creamy nougat.
Member # 1186

Member Rated:
posted 02-11-2005 03:09 PM      Profile for Lark84     Send New Private Message      Edit/Delete Post  Reply With Quote 
I can't help you.

With that out of the way, on to a question which popped up in my head while reading this.

Isn't XML designed to be whatever the person writing it decides it to be?

code:
<plants>
<fruit> Apple </fruit>
<vegetable> Cucumber </vegetable>
</plants>

In other words, does such a thing as "XML scripting" exist? Does one not need to define which particular XML "dialect" (I'm sure there's a more appropriate word) one is using?

Does XML even do things like for and ifs? Is it not just a data structuring language?

Sorry for not being able to help out...

Registered: Nov 2000  |  IP: Logged
MewtwoSama
Asshole
Member # 12

Member Rated:
posted 02-11-2005 03:11 PM      Profile for MewtwoSama   Author's Homepage   Email MewtwoSama   Send New Private Message      Edit/Delete Post  Reply With Quote 
In today's Macguyver, Mac takes on Chinese conspiracists

- - - - -
Hade ni ikuze!

From: Abyss of Evil | Registered: Feb 2000  |  IP: Logged
Mr. K
Racist
Member # 2

Member Rated:
posted 02-11-2005 09:04 PM      Profile for Mr. K   Author's Homepage   Email Mr. K   Send New Private Message      Edit/Delete Post  Reply With Quote 
he defeats them with a candy bar, some butt hair, and a melon
From: Cinnabar Island | Registered: Feb 2000  |  IP: Logged


All times are ET (US)  
Post New Topic  New Poll  Post A Reply Close Topic    Move Topic    Delete Topic next oldest topic   next newest topic
Printer-friendly view of this topic
Hop To:


Contact Us | Azure Heights Pokémon Laboratory

© 2000-2019, Maximum Penetration Industries.

Karpe Diem


The views and opinions expressed on this page are strictly those of the author(s). The contents and links have not been reviewed or approved by the University of Miami.