Re: XML

Armin Roehrl <[email protected]>
Newsgroups gmane.comp.lang.ruby.german
Organization Approximity GmbH
Message-ID <[email protected]>
> Hab ich mir auch schon angeguckt, ist aber nicht das was ich suche.
hast du das hier gesehen?
http://www.germane-software.com/software/rexml/docs/tutorial.html
>
> [variable Variablen]
>
> > Sorry, kannst du mir da bitte ein Beispiel mailen, da ich PHP nicht
> > kenne und nicht ganz verstehe was du hier meinst.
>
> In PHP könnte man sowas machen:
> $var1 = "variable";
> $$var1 = "Eine Variable";
> echo $variable; //Output = "Eine Variable";

Das hier verwirrt mich, zuviele $s :-)

Das schaut aus wie ein Hash.
irb(main):002:0> h={ 'key' =>  'value' }
{"key"=>"value"}
irb(main):003:0> h['key']
"value"
irb(main):004:0> p h['key']
"value"
nil
irb(main):005:0>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.