OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [ubl-dev] Simple ODF/XForms (OOo2/SO8) for UBL 1.0 Invoice

You can also look at adding CAM into the mix.  The new version we're
working on that supports DROOLS includes the ability to take an XML
instance - filter it - then call an XSLT step to produce final display.

This would allow you to develop a context driven system that merged data
and form layout - with the appropriate text overlays - and then feed
that into the xslt to render to XForm.  You could also use the CAM  on
the backend to display errors to the user - thereby reducing the
complexity in coding to the XForm itself. 
We can perhaps prototype something small to demo the concepts... 

-------- Original Message --------
Subject: Re: [ubl-dev] Simple ODF/XForms (OOo2/SO8) for UBL 1.0 Invoice
From: "Stephen Green" <stephen_green@seventhproject.co.uk>
Date: Fri, December 23, 2005 9:55 am
To: "Bryan Rasmussen" <brs@itst.dk>
Cc: <ubl-dev@lists.oasis-open.org>


Note too that I've used a fragment of the 
'genericode' (www.genericode.org) XML
as an internal instance in the form to
provide the codelist values for a currency
combo box. This could, I think, be used
in other XForms and with other codelists.

All the best

Stephen Green

 ----- Original Message ----- 
 From: Bryan Rasmussen 
 To: 'Stephen Green' 
 Cc: ubl-dev@lists.oasis-open.org 
 Sent: Friday, December 23, 2005 9:07 AM
 Subject: SV: [ubl-dev] Simple ODF/XForms (OOo2/SO8) for UBL 1.0 Invoice

 Hi Stephen

 I'm supposed to be taking over from Micah Dubinko on the mapping of UBL
to Xforms via OO, so it could be that I'll have some questions,
additions to this over the next coming time. I suppose the two points
you mention below: the need to have more than 10 lines, and to strip
out empty content are the most obviously important. Any other things
you see as being important to add to the solution. 

 Bryan Rasmussen
   -----Oprindelig meddelelse-----
   Fra: Stephen Green [mailto:stephen_green@seventhproject.co.uk]
   Sendt: 22. december 2005 14:13
   Til: ubl-dev@lists.oasis-open.org
   Emne: Re: [ubl-dev] Simple ODF/XForms (OOo2/SO8) for UBL 1.0 Invoice 

   Please note that if you open these forms
   from the web archive they will need the
   filename extensions changing to .odt

   Also, if you have unix/linux you'll need to
   change the target filepath/url for the submission
   and the same change for the linked file of the
   readonly form. At present both point to
   file:///c:/invoice.xml so they could be changed
   to something like file:///home/invoice.xml (not
   quite sure if this is correct).

   It should be possible to create a simple UBL 1.0
   Invoice with one form (saved locally) then use
   the other form to read it (from where it is saved)
   and convert it to pdf (OpenOffice 2 and Star
   Office 8 have this facility). Then either or both
   as appropriate could be sent say by email (for
   micro/small businesses this might be OK - please
   don't blame me if it isn't) as attachments and/or
   imported somehow into a finance system or 
   spreadsheet (perhaps with an office product
   macro, say). Note that the first form, if used to
   directly create a pdf, will in OOo2/SO8, produce
   a form that can be edited before printing and this
   would be unacceptably risky for sending as an
   Invoice. Again, please accept that the use of the
   forms is at users own risk.

   All the best

   Stephen Green

   PS Really loved Juha's UBL greeting customisation!

   Peace and Goodwill to all -
   And y'all Love the Almighty back with all you've got!

     ----- Original Message ----- 
     From: Stephen Green 
     To: ubl-dev@lists.oasis-open.org 
     Sent: Wednesday, December 21, 2005 7:07 PM
     Subject: [ubl-dev] Simple ODF/XForms (OOo2/SO8) for UBL 1.0 Invoice


     Just in time for the holidays I've produced
     (for 'Open Source Academy' but anyone can 
     use them if you do so at your own risk) a
     couple of forms, one for input, the other for
     reading and exporting to PDF, to produce
     crude but possible useful UBL 1.0 invoices.
     They would probably suit a micro business
     and illustrate the ODF/XForms combination
     used in OpenOffice 2 and StarOffice 8.
     Please forgive the ultra-simplicity (there are
     just 10 lines and I couldn't yet find a way to
     not output lines when they are void of data).

     I'd welcome feedback so I can improve these
     (again as part of some open source work).

     I hope the archive can accept the attachments,
     sorry if this doesn't work - please ignore this
     email then and I'll try another way later.

     All the best and happy holidays.

     Stephen Green


     This publicly archived list supports open discussion on
implementing the UBL OASIS Standard. To minimize spam in the
     archives, you must subscribe before posting.

     [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
     Alternately, using email: list-[un]subscribe@lists.oasis-open.org
     List archives: http://lists.oasis-open.org/archives/ubl-dev/
     Committee homepage: http://www.oasis-open.org/committees/ubl/
     List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
     Join OASIS: http://www.oasis-open.org/join/ 

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]