[LIP] generating xml tags with a period(.) in generating xml tags with a period(.) in the tag name

"Usha Murali" <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
Hi all,
 In ruby language, while  generating xml tags with a period(.) in
the tag name as given below, the xml builder gives me error, without
the period it works fine Could
anyone suggest me the solution. My rxml file is as follows:

xml.instruct! :xml, :version=>"1.0",
:encoding=>"UTF-8"
xml.methodResponse do
   xml.param do
     xml.Date.iso8601(@date.strftime("%Y-%m-%dT%H:%M:%S"))
     end
 end

TIA

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.