Matt,

This has actually changed a little bit lately, when we introduced the standard format for binary and text documents:

  http://www.orbeon.com/ois/doc/reference-formats

The parsing of lines by the URL generator was never documented, so we took the liberty to remove it from that processor. The rationale was that it seemed a litte arbitrary to handle text files this way: after all, somebody may want the document unparsed, somebody may want to parse it as a CSV file, etc., which would mean that many options would be needed. So we chose to make the URL generator generates plain "standard" binary and text formats. This is the bad news ;-)

BUT if you look at the Employees example, you will see how to connect the URL generator to a custom processor based on the Java processor (i.e. compiled on the fly), ParseLines.java. The processor has about 20 lines of useful code, so it is really simple, and it generates a document of the format Matt is showing here. This is the good news.

So Matt, if you have to upgrade to Presentation Server 2.6 or later, it will be trivial to achieve the same result you have now out of the box, but you will have to make a little change.

-Erik

Matt Allen wrote:
Hi Adam;

We use delimited files to XML all the time in our OIS (was OXF) app.

A file that looks like this:

a,b,c,d

Will look like

<lines>
        <line>a,b,c,d</..>
</..>

When read into XPL land. Doing simple XSL on that is dead easy. When it
comes time to write code, drop me a line and I'd be happy to help out.


-Matt

Matt Allen
Client Services Director - 0413 777 771
River Dynamics
Winner, Outstanding Australian Product Innovation
- 2004 iAwards
Winner, Innovation In Claims Management - 2003 Australasian Claims Expo -----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam Tauno
Williams
Sent: Wednesday, December 08, 2004 8:03 AM
To: [EMAIL PROTECTED]
Subject: Re: [orbeon-user] Orbeon suitability



Right, "as soon as" bieng an important clause!  We've looked pretty hard
and not found much;

We have been disappointed by what we have found so far as well.

It appears to support both LDAP and JDBC?  (From looking at the
examples).

Yes, it does :-)


Excellent.

Just two more questions before I start poking it for real.

1.) Is the a "file input" processor/event.  Has anyone worked on an
ability to read delimited files, turning them into XML documents?  This
was one of the very nice features of BIE (unfortunately the rest of that
package kind of stinks).

2.) Do people have good like with the POI/Excel-file-generator?  We've
also had notoriously bad results with these things.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user






-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to