WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

 « Return to Thread: http://xmlbeans.apache.org/documentation/tutorial_getstarted.html - really confusing documentation

http://xmlbeans.apache.org/documentation/tutorial_getstarted.html - really confusing documentation

by Jason Berk-3 :: Rate this Message:

| View in Thread

http://xmlbeans.apache.org/documentation/tutorial_getstarted.html

java -cp
tutorials\gettingstarted\classes;%XMLBEANS_HOME%\lib\xbean.jar;tutorials
\gettingstarted\lib\easypo.jar
    POUpdater tutorials\gettingstarted\instances\easypo.xml "a new item"
5.0 20.00 6

The output should look like the instance output above, but with the
following added as the last <line-item> element, immediately before the
<shipper> element.

<line-item>
    <description>Backyard Astronomer's Guide, The</description>
    <per-unit-ounces>5.0</per-unit-ounces>
    <price>49.95</price>
    <quantity>2</quantity>
</line-item>

Shouldn't that line item be (using the values passed in on the command
line?):

<line-item>
    <description>a new item</description>
    <per-unit-ounces>5.0</per-unit-ounces>
    <price>20.00</price>
    <quantity>6</quantity>
</line-item>

Jason Berk


This is a transmission from Purdue Federal Credit Union (Purdue Federal) and is intended solely for its authorized recipient(s), and may contain information that is confidential and or legally privileged. If you are not an addressee, or the employee or agent responsible for delivering it to an addressee, you are hereby notified that any use, dissemination, distribution, publication or copying of the information contained in this email is strictly prohibited. If you have received this transmission in error, please notify us by telephoning (765)497-3328 or returning the email. You are then instructed to delete the information from your computer. Thank you for your cooperation.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@...
For additional commands, e-mail: user-help@...

 « Return to Thread: http://xmlbeans.apache.org/documentation/tutorial_getstarted.html - really confusing documentation