Message from discussion
xml selectors, network
Date: Mon, 10 Sep 2012 02:28:27 -0700 (PDT)
From: maarten.koopm...@gmail.com
To: golang-nuts@googlegroups.com
Message-Id: <1dc18c18-0dd3-41a9-a1f8-1ab0e939b963@googlegroups.com>
Subject: xml selectors, network
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----=_Part_579_20593369.1347269307664"
------=_Part_579_20593369.1347269307664
Content-Type: multipart/alternative;
boundary="----=_Part_580_32353376.1347269307664"
------=_Part_580_32353376.1347269307664
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Hi,
Coming from Scala I am looking at Go to port a custom WebDAV daemon I've
written.
However... this will require parsing HTTP headers and xml documents
(POSTed). HTTP looks ok from what I see, but what I've read from XML with
Go's libraries seem to require 1) files and 2) document-to-struct mappings.
I'd really be looking for something that allows me to select a part of a
document or tag/attribute as with Scala's \ and \\ functions (which
resemble XPath). Any such thing in Go?
--Maarten
------=_Part_580_32353376.1347269307664
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi,<div><br></div><div>Coming from Scala I am looking at Go to port a custom WebDAV daemon I've written.</div><div><br></div><div>However... this will require parsing HTTP headers and xml documents (POSTed). HTTP looks ok from what I see, but what I've read from XML with Go's libraries seem to require 1) files and 2) document-to-struct mappings.</div><div><br></div><div>I'd really be looking for something that allows me to select a part of a document or tag/attribute as with Scala's \ and \\ functions (which resemble XPath). Any such thing in Go?</div><div><br></div><div>--Maarten</div>
------=_Part_580_32353376.1347269307664--
------=_Part_579_20593369.1347269307664--