realbasic-nug
[Top] [All Lists]

Re: Is there a way to get xml pretty printed in RB?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Is there a way to get xml pretty printed in RB?
From: Ken Jordan <jordan at digi-net dot com>
Date: Fri, 28 Jul 2006 13:59:05 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Organization: Digi-Net Technologies Inc.
References: <8FA3DB02-4C61-43BA-8C20-7B9654FB98D7 at gatorgraphics dot com>
Kevin Windham wrote:

I have a class that outputs my prefs file as basic xml using the xmldocument class. The output is kind of hard to read though since there are no returns anywhere. Is there a function or process I can use in RB to pretty print the xml without doing it by hand with my own code?

Thanks,
Kevin

Look here...

http://support.realsoftware.com/listarchives/realbasic-nug/2006-05/msg00633.html

Ken

_______________________________________________
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>


From  Fri 28 Jul 2006 11:58:46 -0600
Return-Path: <realbasic-nug-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id 9805E8CD969; Fri, 28 Jul 2006 10:59:09 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on realxserve.local
X-Spam-Level: X-Spam-Status: No, score=-2.5 required=4.5 tests=AWL,BAYES_00,NO_REAL_NAME autolearn=no version=3.1.1
Received: from lists.realsoftware.com (lists.realsoftware.com [209.198.132.125])
        by xmail.realsoftware.com (Postfix) with ESMTP id D1F158CD962;
        Fri, 28 Jul 2006 10:59:08 -0700 (PDT)
Received: from lists.realsoftware.com (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP
        id 1778013D6AD9; Fri, 28 Jul 2006 12:59:00 -0500 (CDT)
X-Original-To: realbasic-nug at lists dot realsoftware dot com
Delivered-To: realbasic-nug at lists dot realsoftware dot com
Received: from swarthymail-a5.dreamhost.com (sd-green-bigip-176.dreamhost.com
        [208.97.132.176])
        by lists.realsoftware.com (Postfix) with ESMTP id A0DF913D6ACA
        for <realbasic-nug at lists dot realsoftware dot com>;
        Fri, 28 Jul 2006 12:58:53 -0500 (CDT)
Received: from [66.116.103.197] (unknown [66.116.103.197])
        by swarthymail-a5.dreamhost.com (Postfix) with ESMTP id 6A21F109EAF
        for <realbasic-nug at lists dot realsoftware dot com>;
        Fri, 28 Jul 2006 10:58:53 -0700 (PDT)
Date: Fri, 28 Jul 2006 11:58:46 -0600
From: joe at strout dot net
To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
In-Reply-To: <200607281700 dot k6SH0Hli026878 at ms-smtp-01 dot southeast dot rr 
dot com>
X-Mailer: VerEx Email Gateway
Content-type: text/plain;
Content-transfer-encoding: 7bit
Message-Id: <20060728175853 dot 6A21F109EAF at swarthymail-a5 dot dreamhost dot 
com>
Subject: RE: RBScript
X-BeenThere: realbasic-nug at lists dot realsoftware dot com
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Sender: realbasic-nug-bounces at lists dot realsoftware dot com
Errors-To: realbasic-nug-bounces at lists dot realsoftware dot com

On Jul 28, 2006, at 17:00 UTC, Walter Purvis wrote:

Ah, well, you would certainly know :-)

I guess I just leaped to that conclusion, speculating that RBScript is like
VBScript (in ASP templates), that it would be the basis for templates that
could be compiled at runtime, etc.

But that was all just speculation in a vacuum, and you would know better.

Not necessarily.  Remember, I don't work for RS anymore, and I'm just 
speculating too.  But I do know, from my current project, that you don't need 
to use RBScript to make a web app.  (Though I can vaguely imagine some 
situations where it might be useful, depending on how you like to work.)

Best,
- Joe

--
Joe Strout -- joe at strout dot net
Verified Express, LLC     "Making the Internet a Better Place"
http://www.verex.com/

_______________________________________________
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>