Hi Ralf, I didn't quite catch your idea. How can I have two different target on the build.xml one for the cd and one for the website..... Do you have an example of xlst task working? Thanks, Diego.
Ralf Bokelberg wrote: > Doesn't ant have a xlst task too? > Other than that you could embed the complete xml into a class. > > var x:XML = '<?xml version="1.0" encoding="utf-8"?> > <appsettings> > <add key="backgroundColor" value="0x999999"/> > <add key="menuBackground" value="0xCCCCCC"/> > </appsettings>'; > > Cheers, > Ralf. > > On 3/12/06, *Diego Guebel* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > my xml file seems like this: > <?xml version="1.0" encoding="utf-8"?> > <appsettings> > <add key="backgroundColor" value="0x999999"/> > <add key="menuBackground" value="0xCCCCCC"/> > </appsettings> > > What I want to do is: parse this xml if it is possible and write a > class > when compiling with static vars like this: > > class Example > { > public static var backgroundColor = 0x999999; > public static var menuBackground = 0xCCCCCC; > } > > or as an object: > {key: "backgroundColor ", value: "0x999999"}, etc > > thanks, diego > > > John Giotta wrote: > > Mmm.. well UML to AS2 is sort of the same except I don't think your > > XML file is UML. > > > > _______________________________________________ > > osflash mailing list > > [email protected] <mailto:[email protected]> > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > > _______________________________________________ > osflash mailing list > [email protected] <mailto:[email protected]> > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > ------------------------------------------------------------------------ > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
