Displaying 20 results from an estimated 298 matches for "xpath".
Did you mean:
path
2017 Oct 27
0
[PATCH v11 7/8] mllib: add XPath helper xpath_get_nodes
This function will allow more OCaml-ish processing of XPath queries
with multiple results.
---
common/mltools/xpath_helpers.ml | 9 +++++++
common/mltools/xpath_helpers.mli | 4 +++
v2v/output_libvirt.ml | 11 ++------
v2v/test-harness/v2v_test_harness.ml | 51 +++++++++++-------------------------
4 files changed, 30 insertions(+)...
2017 Apr 04
1
Re: [PATCH v5 09/10] mllib: add XPath helper xpath_get_nodes()
On Thursday, 23 March 2017 10:02:47 CEST Cédric Bosdonnat wrote:
> This function will allow more OCAML-ish processing of xpath queries
> with multiple results.
s/OCAML/OCaml/
s/xpath/XPath/
> ---
> mllib/xpath_helpers.ml | 9 +++++++++
> mllib/xpath_helpers.mli | 4 ++++
> 2 files changed, 13 insertions(+)
>
> diff --git a/mllib/xpath_helpers.ml b/mllib/xpath_helpers.ml
> index 8648596a4..f1215...
2009 Jun 10
2
add variable in xpath
hi ,
i cant succeed add variable in xpath (libxml)
brand = "037"
xpath = "//Root/Stk[@Category=''601'' and @Brand=#{brand}]"
stack = node.find(xpath)
i used #{brand} but doesnt work
2017 Oct 29
2
A query language for LLVM IR (XPath)
...trumenting
existing code. A lot of nested loops and if checks.
Maybe all of this could be avoided by employing a query language. Since
an LLVM module can be seen as a sort of tree with attributes, I think
that reusing an existing query language for XML would be appropriate.
In particular I choose XPath [1] since it's more expressive than, say,
CSS selectors (e.g., you can move from the current element to the
parent).
Therefore, in a spare night, I took pugixml [2], a lightweight XML parser
with XPath support, stripped away everything was XML-specific and
adapted it so that it could query an...
2017 Oct 31
2
A query language for LLVM IR (XPath)
As much as I'm not a fan of most XML things, this application of XPath is *inspired*.
This would be a great testing/query tool for tests.
It would also be a great way to prototype passes.
Looking forward to seeing something like this in llvm/tools/ !
Cheers
> On 1 Nov 2017, at 04:00, Sean Silva via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
>...
2010 Jan 06
0
[PATCH] Converter: Fixes to Xen metadata conversion
...nconfigure_hvs called without default_dom argument")
unless defined($default_dom);
- # Get a list of source HV specific metadata nodes
- my @nodeinfo = _find_hv_metadata($dom);
-
- for(my $i = 0; $i < $#nodeinfo; $i += 2) {
- my $node = $nodeinfo[$i];
- my $xpath = $nodeinfo[$i + 1]->[0];
- my $required = $nodeinfo[$i + 1]->[1];
-
- # Look for a replacement in the defaults
- my ($default) = $default_dom->findnodes($xpath);
- if(defined($default)) {
- if($node->isa('XML::DOM::Attr')) {
-...
2010 May 17
3
Writing a properly-formed custom type (configxml)
...and.
After studying the wiki, several unofficial pages, various mailing list entries, and the operation of the "iptables" type as found on the net, I have created a custom type, lovingly named ``configxml''''.
It updates attributes on the first element matching a supplied XPath in a given XML file. The first use case is configuring Atlassian JIRA to use Postgres ..
The custom type:
- Detects the need to update attribute values
- Updates attribute values
- Pretty prints to the log, ex. when run with ``puppetd -dtv''''
- Solves today''s immediate ne...
2013 Feb 26
1
[LLVMdev] Cross compile LLVM using gcc (powerpc and x86)
...pt/pluto-targets/i386-rootfs//usr/bin --with-default-sysroot --with-gnu-ld=i586-unknown-linux-gnu-ld --with-gnu-as=i586-unknown-linux-gnu-as --with-gnu-ar=i586-unknown-linux-gnu-ar --disable-bootstrap -disable-optimized --disable-multilib --enable-checking --disable-shared --enable-languages=c,c++
XPATH=/opt/pluto-targets/i386-rootfs/
CROSS=i586-unknown-linux-gnu
export LDFLAGS := --sysroot=$(XPATH) -L$(XPATH)/lib -L$(XPATH)/usr/lib -L$(XPATH)/usr/local/lib -L/lib -L/usr/lib
export CFLAGS := --sysroot=$(XPATH) -I=/include -I=/usr/include -I=/usr/local/include
export CPPFLAGS := $(CFLAGS)
export CX...
2006 Dec 08
1
XML, XPATH in Centos?
What built in utilities are there that can evaluate XML XPath statements in
CentOS?
Its needed to grab certain info from <a href="some.html">some</a> from a
page with a python, perl or shell script.
Hints on what to use would be appreciated.
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http:...
2016 Dec 06
2
rvest
Estimados
Hace un tiempo que no uso rvest, corrí un código viejo, anda sin problemas, escribo el nuevo y hay algo que me olvide.
Básicamente desde el navegador de internet selecciono el xpath, copio y pego este en R, pero me sale el siguiente error.
> text <- Pagina.R %>%
+ html_nodes(xpath='//*[@id="content"]/p')%>%
+ html_text()
> text
character(0)
Miré mi código viejo junto con el sitio que funciona, pero le hice una mod...
2017 Mar 23
0
[PATCH v5 09/10] mllib: add XPath helper xpath_get_nodes()
This function will allow more OCAML-ish processing of xpath queries
with multiple results.
---
mllib/xpath_helpers.ml | 9 +++++++++
mllib/xpath_helpers.mli | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/mllib/xpath_helpers.ml b/mllib/xpath_helpers.ml
index 8648596a4..f12156f45 100644
--- a/mllib/xpath_helpers.ml
+++ b/mllib/xpath_helpers.ml
@@...
2017 Sep 12
0
[PATCH v8 6/7] mllib: add XPath helper xpath_get_nodes()
This function will allow more OCaml-ish processing of XPath queries
with multiple results.
---
mllib/xpath_helpers.ml | 9 +++++++++
mllib/xpath_helpers.mli | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/mllib/xpath_helpers.ml b/mllib/xpath_helpers.ml
index e6185bf3d..eb655e1fe 100644
--- a/mllib/xpath_helpers.ml
+++ b/mllib/xpath_helpers.ml
@@...
2017 Sep 18
0
[PATCH v9 5/7] mllib: add XPath helper xpath_get_nodes()
This function will allow more OCaml-ish processing of XPath queries
with multiple results.
---
mllib/xpath_helpers.ml | 9 +++++++++
mllib/xpath_helpers.mli | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/mllib/xpath_helpers.ml b/mllib/xpath_helpers.ml
index e6185bf3d..eb655e1fe 100644
--- a/mllib/xpath_helpers.ml
+++ b/mllib/xpath_helpers.ml
@@...
2017 Sep 20
0
[PATCH v10 5/6] mllib: add XPath helper xpath_get_nodes()
This function will allow more OCaml-ish processing of XPath queries
with multiple results.
---
mllib/xpath_helpers.ml | 9 +++++++++
mllib/xpath_helpers.mli | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/mllib/xpath_helpers.ml b/mllib/xpath_helpers.ml
index e6185bf3d..eb655e1fe 100644
--- a/mllib/xpath_helpers.ml
+++ b/mllib/xpath_helpers.ml
@@...
2017 Oct 05
0
[PATCH v11 5/6] mllib: add XPath helper xpath_get_nodes()
This function will allow more OCaml-ish processing of XPath queries
with multiple results.
---
common/mltools/xpath_helpers.ml | 9 +++++++++
common/mltools/xpath_helpers.mli | 4 ++++
2 files changed, 13 insertions(+)
diff --git a/common/mltools/xpath_helpers.ml b/common/mltools/xpath_helpers.ml
index 05fad89a4..a79733486 100644
--- a/common/mltools/xpa...
2007 Feb 07
2
Quick XPath question (REXML)
...t;//tr[starts_with(@id,
''xdgDataRow_grid_container_'')]"]
shouldn''t just_rows contain _all_ of the <tr> elements whose id
attributes start_with "xdgDataRow_grid_container_"?
It''s only getting the first one. Do I need to add something to the
XPath to pull all of the <tr> elements under the root?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this gro...
2015 Nov 12
1
[PATCH] inspector: --xpath: Copy node to new document (RHBZ#1281577).
'virt-inspector --xpath' can segfault.
When run under valgrind, it shows this error:
==2254== Invalid free() / delete / delete[] / realloc()
==2254== at 0x4C29D6A: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==2254== by 0x53BA198: xmlFreeNodeList (tree.c:3690)
==2254== by 0x53B9F65: xmlF...
2006 Jul 24
15
XML Question
I''ve got an XML file which is pretty well structured. I need to retrieve
specific elements from that file to fill out empty HTML elements on a page.
I think what I need is xPath? Or - is that overkill? Is there some easier
way to locate an XML element?
What I have in mind is pulling the XML file using Ajax, then xPath to get
the bits I need.
Am I on the right path and does prototype have an xPath capability?
Sam
_______________________________________________
Rai...
2006 Jan 20
4
REST API''s and querying a graph of objects
Hey all,
I am wondering if anyone has given thought to using REST / XPath as
querying mechanism. That way you could have a URL that actually maps
to a collection of records (objects, really) that meet a certain
criteria and that are sorted a certain way.
Mike Pence
2012 Dec 28
0
How to apply XPath query on XML nodes separately?
Dear R experts,
I try to extract certain child nodes from an XML document and construct a
table in which the parent node names are the columns and the child id
values, joined in a list, are the cell content.
If I first apply an XPath query to extract all above parent nodes, then
iterate over those nodes and again apply a XPath query to select their
child nodes, I get *ALL* matching child nodes of the whole document, *not*
just those of the currently queried parent.
I know, this is because I prefix my XPath Query with // and app...