Parsing special node tags with Nokogiri

Eredalera

New Member
List itemI am trying to parse this node and try to remove it using the following code:\[code\]@doc = Nokogiri::XML(open('Web.config'))@doc.search('system.serviceModel').each do |node| puts nodeend<system.serviceModel> <services> <service name="" </service> </services></system.serviceModel>\[/code\]Doesn't seem to work using this special tag with a dot in the middle. It works with other types of plain nodes.
 
Back
Top