⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (334 Bytes)
Bug #11909
» prova5.rb
pierisimone (Simone Pieri)
, 12/28/2015 03:36 PM
require
'libxml'
puts
"Child
#{
Process
.
pid
}
"
initstring
=
"<iso_3166_2_entries><iso_3166_country>kkkkk</iso_3166_country></iso_3166_2_entries>"
parser
=
LibXML
::
XML
::
Parser
.
string
(
initstring
,
:encoding
=>
LibXML
::
XML
::
Encoding
::
UTF_8
)
xp
=
parser
.
parse
node
=
xp
.
find
(
'./iso_3166_country'
).
first
puts
node
.
content
puts
"finito ..."
« Previous
1
2
3
…
7
Next »
(1-1/7)
Loading...