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] Using UBL in the right way?


Another similar way would be with unix shell (or equivalent) scripts and
xslt processor/Schematron. An in-directory/out-directory cascade of scripts could be used, each with its own set of xslt
processor/Schematron reusable functions.
Then the effort can be concentrated on writing the Schematron.
The Schematron scripts return values which can be used in the shell scripts
to direct flow and to validate and transformations can be performed with more xslt
(hopefully xslt 2.0 /xpath 2.0 will improve the options here).

Steve

----- Original Message -----
From: <david.lyon@computergrid.net>
To: <roshan@netcore.co.in>
Cc: <ubl-dev@lists.oasis-open.org>
Sent: Thursday, October 07, 2004 2:14 AM
Subject: Re: [ubl-dev] Using UBL in the right way?


> Hi Roshan,
>
> We use perl and xpath to generate and process the documents
> as we find that very straightforward.
>
> Perl is very commandline or process oriented, runs on everything
> with little configuration and is quite easy to maintain when
> written with enough documentation.
>
> If you must use java, I suggest you look at their xpath
> implementation and using that.
>
> If you wish to see some sample scripts, let me know via
> the list what documents you wish to process and I'll post
> some sample perl scripts.
>
> Normally in business, each document has it's own handler
> script, and sometimes each customer/supplier might have
> a special script per document.
>
> Best Regards
>
> David
>
> Quoting Roshan <roshan@netcore.co.in>:
>
> > Hello,
> >
> >       We are trying to use UBL to interface a process/workflow engine
> > with business applications such as CRM, Accounting etc. We will build
> > adapters for the business applications that will understand and
> > process UBL documents.
> >
> > Now, my questions are
> > 1. Is this the right way to use UBL and what benefits can I reap from
> > using UBL in this scenario?
> >
> > 2. Our process modeller will generate xpdl files which will then be run
> > by the process engine. What is the best way to have the process engine
> > generate UBL documents?
> >
> > If we are not using UBL in the right manner, are there any suggestions
> > on a better way to use UBL ?
> >
> > Reading and writing UBL documents can get quite complicated because of
> > the number of dependencies between the schemas. I have heard that XML
> > Data Binding greatly reduces the amount of work. Does anyone have an
> > opinion on this? Here is an article I found that describes XML Data
> > Binding with JaxB and UBL.
> > http://sys-con.com/story/print.cfm?storyid=37553.
> >
> > I work for a company called Netcore Solutions in India and we have
> > posted before to this mailing list.
> >
> > Thanks,
> > Roshan Nair.
> >
> >
> >
> > ----------------------------------------------------------
> > Netcore's New Website
> > http://www.netcore.co.in
> > ----------------------------------------------------------
> >
>
>
>
>
> -------------------------------------------------------
>
>



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