<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: xpath with splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/xpath-with-splunk/m-p/12556#M952</link>
    <description>&lt;P&gt;Phython lib is located &lt;A href="http://lxml.de/"&gt;http://lxml.de/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jan 2013 20:45:54 GMT</pubDate>
    <dc:creator>hvandenb</dc:creator>
    <dc:date>2013-01-15T20:45:54Z</dc:date>
    <item>
      <title>xpath with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/xpath-with-splunk/m-p/12553#M949</link>
      <description>&lt;P&gt;How compliant is the xpath command with the real xpath?  Is there a specific xpath library used?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 07:37:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/xpath-with-splunk/m-p/12553#M949</guid>
      <dc:creator>bfaber</dc:creator>
      <dc:date>2010-04-29T07:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: xpath with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/xpath-with-splunk/m-p/12554#M950</link>
      <description>&lt;P&gt;The Splunk &lt;CODE&gt;xpath&lt;/CODE&gt; search command uses the Python &lt;CODE&gt;lxml&lt;/CODE&gt; library &lt;A href="http://codespeak.net/lxml/" rel="nofollow"&gt;http://codespeak.net/lxml/&lt;/A&gt; that is packaged and shipped with the Splunk Python installation. According to its own FAQ &lt;A href="http://codespeak.net/lxml/FAQ.html#what-standards-does-lxml-implement" rel="nofollow"&gt;http://codespeak.net/lxml/FAQ.html#what-standards-does-lxml-implement&lt;/A&gt; it uses Gnome &lt;CODE&gt;libxml2&lt;/CODE&gt; and &lt;CODE&gt;libxslt&lt;/CODE&gt;. I believe these are considered among the most standards-compliant implementations available.&lt;/P&gt;

&lt;P&gt;The search command itself is a relatively simple wrapper script that is in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/bin/xpath.py&lt;/CODE&gt;. It is possible to replace or add a different parser by writing a similar script around it. See: &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/Aboutcustomsearchcommands" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/SearchReference/Aboutcustomsearchcommands&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 09:40:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/xpath-with-splunk/m-p/12554#M950</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-04-29T09:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: xpath with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/xpath-with-splunk/m-p/12555#M951</link>
      <description>&lt;P&gt;Wow, great answer!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Apr 2010 09:48:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/xpath-with-splunk/m-p/12555#M951</guid>
      <dc:creator>Justin_Grant</dc:creator>
      <dc:date>2010-04-29T09:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: xpath with splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/xpath-with-splunk/m-p/12556#M952</link>
      <description>&lt;P&gt;Phython lib is located &lt;A href="http://lxml.de/"&gt;http://lxml.de/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2013 20:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/xpath-with-splunk/m-p/12556#M952</guid>
      <dc:creator>hvandenb</dc:creator>
      <dc:date>2013-01-15T20:45:54Z</dc:date>
    </item>
  </channel>
</rss>

