preserve vertical white space in XML?

2005-07-08 Thread Sivakatirswami
I always use extra line breaks in my XML docs and .XHTML docs... for readability. But, if you create an XML Tree from one of these, transform some data in a node and then put revXMLText(tCurrTree) into tNewFile to get that data back out, Rev's XML libraries have wiped out all the cr's.

Re: preserve vertical white space in XML?

2005-07-09 Thread Mark Smith
I noticed this too - the revXMLText function does not put any end of line delimiters between tags, though of course it preserves them with in node contents. For simple cases (and I think this would cover the case given), put revXMLText(treeID) into theXML replace "><" with ">" & cr & "<" in th

Re: preserve vertical white space in XML?

2005-07-09 Thread Ken Ray
> Is there a way to preserve the single cr's in the original? Otherwise > I have to a) live with it b) open them in BBEdit and run a format > function to get them back to a readable state--each child node on > it's own line... One alternative is to use my Transcript-based XML Library which will p

Re: preserve vertical white space in XML?

2005-07-09 Thread Terry Judd
Actually you can maintain at least some formatting by passing 'true' as a(n undocumented) third parameter to the revXMLText function... put revXMLText(treeID,,true) HTH Terry... I noticed this too - the revXMLText function does not put any end of line delimiters between tags, though of cour

Re: preserve vertical white space in XML?

2005-07-09 Thread Mark Smith
Well I'll be...how on earth did you find that out? Mark On 10 Jul 2005, at 00:45, Terry Judd wrote: Actually you can maintain at least some formatting by passing 'true' as a(n undocumented) third parameter to the revXMLText function... put revXMLText(treeID,,true) HTH Terry... _

Re: preserve vertical white space in XML?

2005-07-09 Thread Sivakatirswami
Great! that does help... yes, all cr's retained.. thanks Where is this documented? skts On Jul 09, 2005, at 1:45 PM, Terry Judd wrote: Actually you can maintain at least some formatting by passing 'true' as a(n undocumented) third parameter to the revXMLText function... put revXMLText

Re: preserve vertical white space in XML?

2005-07-10 Thread Terry Judd
On Sunday, July 10, 2005, at 12:56 PM, [EMAIL PROTECTED] wrote: From: Mark Smith <[EMAIL PROTECTED]> Date: Sun Jul 10, 2005 10:46:37 AM Australia/Melbourne To: How to use Revolution Subject: Re: preserve vertical white space in XML? Reply-To: How to use Revolution Well I'

Re: preserve vertical white space in XML?

2005-07-11 Thread Sivakatirswami
Ken... just a thought... you might sell more software if you had a full demo that timed out... even if you only gave it 24 hours or 72 hours... I generally always want to know what I'm getting. and since the standard ediiton of your XML library is locked... I can't see the scripts. skts

Re: preserve vertical white space in XML?

2005-07-12 Thread Ken Ray
> Ken... just a thought... you might sell more software if you had a > full demo that timed out... even if you only gave it 24 hours or 72 > hours... > > I generally always want to know what I'm getting. and since the > standard ediiton of your XML library is locked... I can't see the > scripts.

Re: preserve vertical white space in XML?

2005-07-13 Thread Sivakatirswami
Look forward to it... I've already put a request in to our software acquisitions... you should see a new customer soon. Since you are working on upgrading... I would like to see some parameter(s) allow for input and output of quotes and apostrophes that did not "escape" quotes or apostroph

Re: preserve vertical white space in XML?

2005-07-13 Thread Terry Judd
From: Sivakatirswami <[EMAIL PROTECTED]> Date: 13 July 2005 3:36:42 PM To: How to use Revolution Subject: Re: preserve vertical white space in XML? Reply-To: How to use Revolution Look forward to it... I've already put a request in to our software acquisitions... you shoul

Re: preserve vertical white space in XML?

2005-07-13 Thread Ken Ray
On 7/13/05 12:36 AM, "Sivakatirswami" <[EMAIL PROTECTED]> wrote: > Look forward to it... I've already put a request in to our software > acquisitions... you should see a new customer soon. > > Since you are working on upgrading... > > I would like to see some parameter(s) allow for input and ou