(unknown)
[email protected] Tue, 14 Sep 2004 10:34:31 +0200
| Newsgroups | gmane.text.xml.o-xml |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I have just downloaded oxml, thus I am a real oxml-newbie (please forgive me if the question had been posted already plenty of times (I tried to "grep" the archive but could not find any hints)) I just tried the first example chapter-1.oml which failed because the variable dynamic is not defined. I actually expected this example to fail and thought it would be a good idea (as a starter) to enhance this file by introducing a parameter dynamic to the program and set this paramter via the -Ddynamic=FOO command line option. This is how the example looks like after including the parameter to the program: ///////////////////////////////////////////////////////////////////////////////////// coffee this is a coffee bean href="style.xsl" type="text/xsl" leading and trailing whitespace might otherwise have been removed here is some mixed static and content. ///////////////////////////////////////////////////////////////////////////////////// and this is what the oxml interpreter thinks about it: /tmp/oxml# java -jar objectbox-1.0.2.jar -Ddynamic="hallo" chapter-1.oml Tue Sep 14 10:19:45 CEST 2004 warning: unhandled o:XML element: param Tue Sep 14 10:19:45 CEST 2004 error: in program: file:/tmp/oxml/chapter-1.oml Tue Sep 14 10:19:45 CEST 2004 error: undefined variable: dynamic Besides warning about the "unhandled o:XML element: param" there is no difference compared to the execution of the original chapter-1.oml. My question is: why is the parameter 'dynamic' not recognized by the oxml interpreter ? In other words: what is wrong with '' ? Thanks a lot in advance for your help. best regards, Christian -- email (private): [email protected] -- http://adserver.freenet.de/click.ng/site=fn&prod=chetools&kat=rub&tbl=webmail&ppos=1&TransactionID=1095150871333514&rgtg=256 _______________________________________________ o-xml mailing list o-xml-zRfLyl9bSvv/[email protected] http://lists.pingdynasty.com/mailman/listinfo/o-xml