|
by: Sebastian Petzelberger |
last post by:
Hi group,
please give me an example of a xpath with regex or
better a link with examples.
Thanks in advance,
Sebastian
|
by: Bart |
last post by:
Hello,
I am real new to using LIBXML and have a question about XPATH
evaluations. The question may show a real ignorance of the LIBXML
structure, don't so assume I know what I am talking about.
I am trying to use the XPATH functions to pull the data for individual
data elements. The order of the elements whose value I must find are
not necessarily contiguous in the XML document. So walking the tree
will not work.
|
by: Kathy Burke |
last post by:
Hi again,
I'm using the following xpath (works in visualizer) with a
SelectSingleNode("xpath") statement.
//Station/(WI])]/@order
Problem is I get an error "expression passed to this method should
result in a NodeSet". Of course, that (sort of) makes sense to me now (I
suppose just an attribute couldn't be a nodeset, but how would I go
|
by: ree32 |
last post by:
When I import an xml document in Visual studio and Genereate as schema
from it, and create a dataset from it, it adds this line into to the
root element of my xml file -
"xmlns="http://tempuri.org/nameOfRoot.xsd"
I have no idea what its pointing to & what is tempuri.org?
So when this tag is in my xml tag my xpath query never works.
But when I delete it work fine.
|
by: David Thielen |
last post by:
Hi;
I am sure I am missing something here but I cannot figure it out. Below I
have a program and I cannot figure out why the xpath selects that throw an
exception fail. From what I know they should work.
Also the second nav.OuterXml appears to also be wrong to me.
Can someone explain to me why this does not work? (This is an example from a
program we have where xpath can be entered in two parts so we have to be able
|
|
by: Gnic |
last post by:
Hi ,
I have an XmlDocument instance, I want to find a node in the xml, but I
don't know it's path until runtime, for example
<aaa>
<bbb name="x"/>
<aaa attr="y">
<ccc>sometext</ccc>
</aaa>
|
by: Tim Hallwyl |
last post by:
Hi, there!
As I understand the XPaht recommendation, the context node is a node;
not a node-list, not XPath object -- but a single node.
Now, the WS-BPEL 2.0 specification allows an XML simple type value to be
the context of an XPath expression, by converting it to an XPath object
-- either boolean, string or float.
I do not see how this is possible, but I would like your thoughts on it.
|
by: pompair |
last post by:
Hello,
I'm making a quiz game for fun. I have an xml file like this:
<?xml version="1.0" encoding="utf-8" ?>
<results>
<index>99</index>
<answers>11</answers>
<questions>
<question id="1">
|
by: John Krukoff |
last post by:
On Wed, 2008-09-03 at 13:36 -0700, bruce wrote:
Well, you could just do the test (and the count!) in the xpath
expression:
count( //tr/td )
It sounds like you're not familiar with xpath? I would recommend the
O'Reilly XSLT book, it has an excellent introduction to xpath in chapter
3.
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|