realbasic-nug
[Top] [All Lists]

Re: Printing, Reports etc ? with DB apps

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Printing, Reports etc ? with DB apps
From: Youri <lystes at free dot fr>
Date: Fri, 29 Dec 2006 23:11:33 +0100
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <24537018 dot 2409001167342683043 dot JavaMail dot tomkatze at ps21zhb>


Hi Shawn,

My (little) experience with XML/XSL dates back to when FileMaker
released a version (7 I think), and it still hurt ;-)

I have read Mark's Choate's Book (very good) but the XML part, ... hem, I didn't make it throught. It seems to me that either I am totally XML allergic (most probably), or that the XML class in RB is the most difficult thing to approach.

Cheers,


Youri



shawngiese at bluemail dot ch wrote:
I haven't released an application to do this but you should be able to 1) dump whatever you want to print into XML 2) run that against a simple (ha ha, no really it is simple but it doesn't sound like it) XSL template to convert it to HTML
3) save the file and open it with the default web browser
4) and if you really want to get fancy, add a pretty CSS file to wherever you output the html file to make it snazzy.

There is an example in Choate's book "REALbasic Cross-Platform Application Development" about how to do this in a command line application (available from Amazon as a PDF or from Safari Online (http://safari.oreilly.com/). Well, the example needed a couple of fixes but it does work :)

Shawn



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>