Re: Testing conformity of xml data (tidy)

2008-01-29 Thread Andre Garzia
Tidy is everywhere! :-D On 1/29/08, Peter Alcibiades <[EMAIL PROTECTED]> wrote: > Availability of tidy. > > It and its docs are installed on my copy of Debian and I don't recall having > done it. But even if not part of the base distribution, which it might not > be in stuff like PCLinux or Vec

Re: Testing conformity of xml data

2008-01-29 Thread Malte Brill
Sarah wrote: > Rev's XML library can give a text representation of an > XML tree using revXMLtext, but it is not formatted and appears all on > one line. Just to share something nice (and as a reminder to mySelf) revXmlText has an undocumented third parameter. if you use put revXMLText(tId,,

Testing conformity of xml data (tidy)

2008-01-29 Thread Peter Alcibiades
Availability of tidy. It and its docs are installed on my copy of Debian and I don't recall having done it. But even if not part of the base distribution, which it might not be in stuff like PCLinux or Vector or Zenwalk or the one cd distros, its going to be a simple download from the reposito

Re: Testing conformity of xml data

2008-01-28 Thread Sarah Reichelt
> check "tidy" unix program. Tidy is a popular unix tool that every host > out there will have installed. Even your MacOS X bundles it. It is > used by a lot of toolkits. You can use a combination of tidy and > shell() call to test your XML. Andre's mention of tidy made me wonder if it could be u

Re: Testing conformity of xml data

2008-01-27 Thread Andre Garzia
Jbv, check if your Win2k server has tidy installed. If it doesn't have but you're allowed to install it then go to http://tidy.sourceforge.net they have win2k binaries there. :-) there's also TidyLib if you want to coin yourself an external :-D Cheers andre On 1/27/08, jbv <[EMAIL PROTECTED]>

Re: Testing conformity of xml data

2008-01-27 Thread jbv
Andre, Thanks a lot for the cool tip. However, one detail I forgot to mention in my previous post : my Rev cgi script will run on a win 2K server... JB > Jbv, > > check "tidy" unix program. Tidy is a popular unix tool that every host > out there will have installed. Even your MacOS X bundles i

Re: Testing conformity of xml data

2008-01-27 Thread Andre Garzia
Jbv, check "tidy" unix program. Tidy is a popular unix tool that every host out there will have installed. Even your MacOS X bundles it. It is used by a lot of toolkits. You can use a combination of tidy and shell() call to test your XML. Andre On 1/27/08, jbv <[EMAIL PROTECTED]> wrote: > Hi fol

Testing conformity of xml data

2008-01-27 Thread jbv
Hi folks, Is there a function somewhere that could help me test conformity of xml data (basically finding and removing unclosed tags, or tags being closed without being opened) by a Rev cgi script before it's sent back to the end-user browser for heavy xml processing via js functions ? I'm using R