Displaying 20 results from an estimated 2000 matches similar to: "Display XML file, with some formatting."
2006 Jun 13
4
Ruby app to rails?
Hi.
Im am considering porting an c++ application to Ruby, and me company
would also like to have an web-version of this particular application.
If say there is an XML validator in the app. Then can Ruby and RoR share
this in an easy way, so i wouldnt have to maintain 2 branches of the
same XML validator.
Best Regards.
Lasse Thomsen
--
Posted via http://www.ruby-forum.com/.
2013 Jan 29
2
converting XML document to table or dataframe
I am a relatively new user to R, and I am trying to learn more about
converting data in an XML document into "2-dimensional format" such as a
table or array. I might eventually wish to export this data into a
relational database such as SQL, and/or to work with this data within the R
package.
My sample XML document is located at "
2006 Apr 28
8
Rails magic for MySQL -> XML file -> MySQL and back again ??
Greetings!
My little app collects data from the user, persists it in about a dozen tables during the session, writes out / saves an XML file that''s downloaded to the user''s PC when they''re done, then clears the db of all data entered, and deletes the XML file from the server.
Now I need to allow the user to upload the same XML file they created earlier and put it back
2006 Aug 16
1
XSLT support
Anybody got any experience using this XSLT processor?
http://raa.ruby-lang.org/project/ruby-xslt/
I need one. Are there alternatives?
Thanks,
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060816/b66b934a/attachment.html
2006 May 31
2
Rails Bug when loading required files for API?
Hello,
I have seen some odd behaviour of my Web Services code plus some
''similar'' postings to this list, so I believe this may be a bug in
Rails. But I''m failry new to RoR, so maybe I''m doing something wrong.
I''ll explain:
I have a WS API defined, communicating with a remote system that
expects a stucture:
When defined like this (all
2006 Mar 10
8
XML Databinding frameworks
Are there any XML databinding frameworks available for Ruby / Rails, such as
Castor or JaXB for Java?
Also are there framework such as Apache Axis for WebServices for Rails or
Ruby?
Regards,
Harm de Laat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060310/3cf0cfd3/attachment.html
2002 Mar 12
3
failsafe against "stupid" / careless users
I'm admin on a samba PDC with 150 users, and as normal users they are quit
"stupid". This means that they ofte deletes something that shouldnt have
been deleted. And I find it anoying to restore their files from tapebackup.
So would it be possible to get samba to "move" files instead of deleting
them? This way I could allocate a disk to store deleted files for a periode
of
2010 Mar 24
6
dispatch.cgi, dispatch.fcgi, dispatch.rb not present in Public folder
I''m doing a series of ruby on rails tutorials and it got to a part
where i need to edit the following files that should be automatically
inside the public folder: dispatch.cgi,dispatch.fcgi,dispatch.rb but I
have none of these inside my public folder. Is there a reason for
this? And how can i change it so they are back
The only files in my public folder at present are
404.html 500.html
2004 May 21
6
VoicePulse SIP
Dear Sirs,
Anybody ever tried running SIP up against Voicepulse? On their
http://connect.voicepulse.com they claim they support both SIP and IAX, but
I can't seem to get SIP running. I have as mentioned before on this list -
huge problems getting any timing devices running on some of my machines, so
IAX is not really an option right now. If I try I get a "Service
Unavailable"
2006 Jun 29
7
Mongrel says it works, but it doesn''t
Hello, I came to know of mongrel by pure chance, it interrested me cause
webrick never worked and instantrails for rails was very slow. the problem
with webrick is/was is that it says just this:
>ruby script/server
c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character class
has `-'' without escape
c:/ruby/lib/ruby/site_ruby/1.8/rexml/entity.rb:21: warning: character
2001 Aug 16
1
Deadlock occurring while opening documents in Notes R5
Version is cvs checkout today at approx 0900 CET.
Running on a debian/unstable box with dist-upgrade as of 0830 CET
today, and with no windows installed.
Problem can easily be reproduced, and deadloc happens everytime
I do this. Open database, everything is fine, open document..
wait a few seconds and wine hangs.
output from wine:
-- err:win32:_EnterSysLevel (0x4075062c, level 2): Holding
2006 Feb 20
4
Samba 3 + Exchange 5.5
Hi Everybody,
I've been asked to upgrade an old NT4 server with a new server running
Debian/Samba. I've got no problem with migrating the old server, but I do
have one "unknown". The company mail run on an Exchange server that is
most likely part of the NT4 network. Has anybody tried this setup? I did
look in documentation and google and found precious little - which to me
2008 Oct 15
5
REXML vs libxml
Hi all,
I''ve been looking at the performance of my fb app and one glaring issue
seems to be with the parsing speed of rexml in processing the results. Has
anyone looked into porting the facebooker parser from rexml to libxml? If
not, any reason I shouldn''t try?
Thanks!
Yu-Shan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Oct 27
3
rake spec:rcov failing
Running rails 1.2.3, rcov (0.8.0.2), rspec trunk (2865) -
When running rake spec:rcov, I''m getting the following:
Finished in 245.717813 seconds
856 examples, 0 failures, 48 pending
/usr/local/lib/ruby/1.8/rexml/text.rb:292:in `normalize'': private
method `gsub'' called for 0:Fixnum (NoMethodError)
from /usr/local/lib/ruby/1.8/rexml/element.rb:1084:in
2006 Feb 01
4
REXML::ParseException - but the feed IS valid
I am using Ruby feedparser and when I try to parse this feed:
http://feeds.feedburner.com/Mobilecrunch
I get an error:
REXML::ParseException: Declarations can only occur in the doctype
declaration.
This feed does validate at feedvalidator.org. Any idea why it would raise
an exception?
Thanks,
eduard
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Mar 23
7
redirection in format.json ...
I have presently a render :json which modify the current page
if @request.save
format.html { redirect_to(@request) }
format.json { render :json => { :result => ''success'', :request
=> request_path(@request) } }
....
but I would like rather to redirect to an index page
I wrote this but it doesn''t redirect ...
format.json {
2001 May 02
3
Weird graphical glitches while running notes.
My system is a debian/unstable box. I'm running daily cvs snapshots of
wine and Lotus Notes R5.07.
The problem is that it seems like wine isn't getting the redraw messages
from the application or wine isn't sending the redraw messages to the
application. So I get large areas of the program blank/black/see through
to old gfx. It especially occurs with frames/framsets in notes.
For
2007 Dec 10
1
Question re: RWinEdt conflicting with my WinEdt
Hi,
This is a question regarding the RWinEdt package for R. I have WinEdt
5.5, RWinEdt 1.7-9, and R 2.6.0 on WindowsXP.
Somehow my configuration or start up files between RWinEdt and WinEdt
are getting confused. Usually when I open either one, the last files I
was working on *with that program* are opened automatically. So if I
last used mydoc.tex in WinEdt and myprogram.R in RWinEdt those
2005 Apr 13
1
How to plot Contour with NA in dataframe
Dear friends,
I am trying to produce Contour Plot with R, but there are some NA
in my data matrix. After I ran the following R script, I got the error
message:"no proper `z' matrix specified". Does anybody know how to plot
contour chart with R for the non-strict matrix?
Thank you in advance!!!
2013 Apr 12
1
Problem with handling of attributes in xmlToList in XML package
Hello all,
I have a problem with the way attributes are dealt with in the
function xmlToList(), and I haven't been able to figure it out for
days now.
Say I have a document (produced by nmap) like this:
> mydoc <- '<host starttime="1365204834" endtime="1365205860"><status state="up" reason="echo-reply"