nokogiri.org Archives - 06 April 2013, Saturday

  • @kmuto NokogiriですとNokogiri::XML::ReaderがDOMほど重くなSAXより扱い易いJavaのStAX的なpull parserなんですが、これでもないです?

    nokogiri.org 25 Mar '13, 1pm

    static VALUE reader_attribute(VALUE self, VALUE name) { xmlTextReaderPtr reader; xmlChar *value ; VALUE rb_value; Data_Get_Struct(self, xmlTextReader, reader); if(NIL_P(name)) return Qnil; name = StringValue(name) ; value = xmlTextReaderGetAttribute(reader, (xmlChar*)StringValuePtr(na...

  • やっとここまできた #devdo

    nokogiri.org 27 Oct '12, 6am

    Because Nokogiri needs to be compiled and dynamically linked against both libxml2 and libxslt , it has gained a reputation for being complicated to install. Let’s wrassle this little myth to the ground, shall we? Ubuntu / Debian Ubuntu doesn’t come with the Ruby development packages t...

  • Nokogiri

    nokogiri.org 19 May '12, 6am

    static VALUE add_namespace_definition(VALUE self, VALUE prefix, VALUE href) { xmlNodePtr node, namespacee; xmlNsPtr ns; Data_Get_Struct(self, xmlNode, node); namespacee = node ; ns = xmlSearchNs( node->doc, node, (const xmlChar *)(NIL_P(prefix) ? NULL : StringValuePtr(prefix)) ); if(!...

    Related:
    1. Nokogiri nokogiri.org 14 May '12, 1am
    2. nokogiri rubygems.org 14 May '12, 8pm
  • Nokogiri

    nokogiri.org 14 May '12, 1am

    Nokogiri builder can be used for building XML and HTML documents. Synopsis: builder = Nokogiri::XML::Builder.new do |xml| xml.root { xml.products { xml.widget { xml.id_ "10" xml.name "Awesome widget" } } } end puts builder.to_xml Will output: <?xml version="1.0"?> <root> <products> <w...

    Related:
    1. nokogiri rubygems.org 14 May '12, 8pm
    2. Nokogiri nokogiri.org 19 May '12, 6am
    3. Nokogiri nokogiri.org 03 May '12, 5am
  • Nokogiri

    nokogiri.org 03 May '12, 5am

    Nokogiri::CSS::Tokenizer::ScanError Nokogiri::Decorators Nokogiri::Decorators::Slop Nokogiri::EncodingHandler Nokogiri::HTML Nokogiri::HTML::Builder Nokogiri::HTML::Document Nokogiri::HTML::Document::EncodingReader Nokogiri::HTML::Document::EncodingReader::JumpSAXHandler Nokogiri::HTM...

    Related:
    1. Nokogiri nokogiri.org 14 May '12, 1am
    2. nokogiri rubygems.org 14 May '12, 8pm
  • Nokogiri

    nokogiri.org 12 Apr '12, 12pm

    nokogiri.org github.com/tenderlove/nokogiri/wikis github.com/tenderlove/nokogiri/tree/master groups.google.com/group/nokogiri-talk github.com/tenderlove/nokogiri/issues DESCRIPTION: Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri’s many features is the ability to ...

  • Nokogiri

    nokogiri.org 05 Mar '12, 5pm

    Parsing an HTML / XML Document From a String We’ve tried to make this easy on you. Really! We’re here to make your life easier. html_doc = Nokogiri::HTML("<html><body><h1>Mr. Belvedere Fan Club</h1></body></html>") xml_doc = Nokogiri::XML("<root><aliens><alien><name>Alf</name></alien>...