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: SV: [ubl-dev] Simple ODF/XForms (OOo2/SO8) for UBL 1.0Invoice


Obviously a labour saver for things like XForms localization
and even for customization (*) would be to generate the
XForms with XSLT from the UBL schemata. I've tried this
before quite successfully. The end result is rather too
bland and generic though so a two step process of
first generating basic XForms then improving them
manually perhaps or if you're adventurous of delegating
the look and to CSS stylesheets with just the generated
XForms, either would be a good idea I think. * - this helps
customisers who, if supplied with the XSLT could probably
get a good result even after customisation. Likewise with
minor versions I would hope.

I have had problems with this coping with changable
namespaces when writing the XSLT. Maybe XSLT 2 would
be a good option. Maybe you won't get a problem. I was
thinking of one XSLT stylesheet for all the UBL Docs/schemata
(which might work with customisations and minor versions too)
but at worst it might be you need to manually change the
namespaces in the XSLT stylesheets. Perhaps there is a way to
not have to include the namespaces in the XSLT.

All the best


>>> Bryan Rasmussen <brs@itst.dk> 23/12/05 09:07:48 >>>
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 <file:///c:/invoice.xml>  so they could be changed
to something like file:///home/invoice.xml <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 <mailto:stephen_green@seventhproject.co.uk>  
To: ubl-dev@lists.oasis-open.org <mailto: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]