Thanks! that did the trick!

Sid

Kenneth Kawamoto wrote:
<name first={firstName} last={lastName} />

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Sidney de Koning wrote:
Hi List

A short question about XML. When i create XML in Flash i say:

var xmlString:XML = <employee ssn="789-789-7890"> <name first="Mary" last="Roe"/> <address> <street>99 Broad St.</street> <city>Newton</city> <state>MA</state> <zip>01234</zip> </address> </employee> </employees>;

How do i place variables within that XML? for instance i want the first attribute to be a variable called firstName in the name node?

when i compile i get errors: 1086: Syntax error: expecting semicolon before xmltagstartend.

Please advice/help,

Sidney

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to