similar to: how can i get attribute values from xml using libxml

Displaying 20 results from an estimated 300 matches similar to: "how can i get attribute values from xml using libxml"

2009 Jun 02
9
XML::LibXML::Reader
is there anybody who knows how we can get child values using libxml (Reader class) def xml_import_to_brands require''xml'' reader = XML::Reader.file(''c:/brands.xml'') . . .
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
2009 Aug 06
1
Separate App an DB servers , Scabality and rails
Hi , what will be if my site traffic became huge , can i separate db server and add 3 or more app server using rails framework. i think designing my site using rails and put it in EC2 servers. what do you think about this system? Will be work or not?
2012 Sep 09
1
Sum of column from another df based of row values of df1
Dear All, I need to sum a column from another dataframe based on the row values of one dataframe. I am stuck in a loop trying to accomplish it and at current speed it will take more than 80 hours to complete. Needless to say I am looking for a more elegant/quicker solution. Really need some help here. Here is the issue: I have a dataframe CALL (the dput of head is given below) which has close to
2017 Nov 01
1
Creating Tag
i want to tag categories to its menuname. i have a csv containing menu item name and in other csv i have a column containing some strings, i want to pick that strings from categories and look into menu items if any menu item containing that string i want to create a new column next to menu item name flagged as 1 otherwise 0 and the only condition is once a menu item flagged as 1 i don't need
2010 Oct 24
3
ZFS with STK raid card w battery
We have Sun STK RAID cards in our x4170 servers. These are battery backed with 256mb cache. What is the recommended ZFS configuration for these cards? Right now, I have created a one-to-one logical volume to disk mapping on the RAID card (one disk == one volume on RAID card). Then, I mirror them using ZFS. No hardware mirror. What I am a little confused with is if it is better to not do any
2002 Jun 18
1
ssh-keygen hangs with empty prngd.conf - bug ?
Hi, I use openssh-2.9p2 on an i386 LynxOS system. Since LynxOS does not have support for /dev/[u]random, I installed openssh with prngd support. It so happened by accident on installation that prngd.conf got truncated to zero size. With prngd running as such, ssh-keygen just hangs. I notice similar case with sshd, ssh, ... as all these depend on prngd for random number. SMMEstack# /usr/sbin/sshd
2009 Jun 22
5
has_many through , or habtm , using form
i think there ara two ways of relate products and categories , basically i want to fix one product(e.g hp dv7....) to some categories (notebook,17"notebooks...) i made a table named categorization(incuding category_id,product_id fields) then in models i write these codes below class Product < ActiveRecord::Base has_many :categories, :through => :categorizations
2009 Jan 15
1
variable scope is making my head hurt
I''m trying to add a "node type" variable that can be interpolated into source values. In this, my latest attempt, $nodetype always ends up as "base": # manifests/nodes $nodetype = "base" node "base" { include postfix ...snip... } node "www01", "www02", ... , "www10" inherits "base" { $nodetype
2020 Apr 28
0
[PATCH v3 45/75] x86/dumpstack/64: Handle #VC exception stacks
From: Joerg Roedel <jroedel at suse.de> Make the stack unwinder aware of the IST stacks for the #VC exception handler. Signed-off-by: Joerg Roedel <jroedel at suse.de> --- arch/x86/include/asm/cpu_entry_area.h | 1 + arch/x86/include/asm/sev-es.h | 13 ++++++++ arch/x86/include/asm/stacktrace.h | 4 +++ arch/x86/kernel/dumpstack_64.c | 47
2007 Nov 16
0
ZFS mirror and sun STK 2540 FC array
Hi all, we have just bought a sun X2200M2 (4GB / 2 opteron 2214 / 2 disks 250GB SATA2, solaris 10 update 4) and a sun STK 2540 FC array (8 disks SAS 146 GB, 1 raid controller). The server is attached to the array with a single 4 Gb Fibre Channel link. I want to make a mirror using ZFS with this array. I have created 2 volumes on the array in RAID0 (stripe of 128 KB) presented to the host
1998 Feb 25
1
R-beta: Mac version
Colin Farrow <C.Farrow@geology.gla.ac.uk> writes: > Peter, > > Cautiously sticking my neck above the water line here. I have been > wondering about the Mac version for a while now. I may be able to get > an MSc IT student to work on this as a project for about 3 months > June-Sept. Before putting up the proposal some idea of the scale of the > task would be useful. Do
2009 Aug 27
5
Transform data for repeated measures
I have a dataset that I'm trying to rearrange for a repeated measures analysis: It looks like: patient basefev1 fev11h fev12h fev13h fev14h fev15h fev16h fev17h fev18h drug 201 2.46 2.68 2.76 2.50 2.30 2.14 2.40 2.33 2.20 a 202 3.50 3.95 3.65 2.93 2.53 3.04 3.37 3.14 2.62 a 203 1.96 2.28 2.34 2.29 2.43 2.06 2.18 2.28 2.29 a
2006 Apr 12
2
Location of match?
Is it possible with Ferret to find the location of the matches in a document? For example imagine I have 100 documents and I search with the phrase "bob~0.5" and that returns 3 matching documents. How can I then find all locations in a specific document where it matched "bob~0.5". What I need is something like an array that contains the start index and length for each
2008 Jan 11
0
Behaviour of standard error estimates in lmRob and the like
I am looking at MM-estimates for some interlab comparison work. The usual situation in this particular context is a modest number of results from very expensive methods with abnormally well-characterised performance, so for once we have good "variance" estimates (which can differ substantially for good reason) from most labs. But there remains room for human error or unexpected chemistry
2006 Apr 12
1
testing tokenizers
Hi, is there a way to test tokenizers? I mean, I want to give input stream and see the output tokens. AND is there a way to see an indexed document''s index tokens? Which words in the document are used to index this document? Thanks in advance Onur
2014 Jan 13
1
Fwd: HA cluster - strange communication between nodes
Hi, For a testing purposes I'm trying to create two node HA environment for running some service (openvpn and haproxy). I installed two CentOS 6.4 KVM guests. I was able to create a cluster and some resources. I followed the document https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Configuring_the_Red_Hat_High_Availability_Add-On_with_Pacemaker/index.html
1998 Apr 01
0
R-tk mailing list
This is to announce that Martin Maechler has set up a new mailing list with the purpose of investigating the possibility to use Tcl/Tk with R. As you may know, Tcl is a scripting language and Tk is its GUI toolkit. In the context of R, the main attractions are - portability X/Win3.1/Win32/Mac - ease of implementation (people say...) - nice GUI model of Tk - possibility of making language
1999 Aug 04
0
Problem with samba under RH6.0 dropping data
I just upgraded my server from RH5 to RH6. I am seeing two problems that may be related. 1. When I do an smbtar I get errors on some of the files: My command line: # smbtar -v -s schroon -x "D$" -d gt -p z -u backup -t /usr/tmp/a.tar The error message: Error reading file \gt\STk-dist\Demos\Html-Demos\Images\backward.gif. Got 0 bytes Didn't get entire file. size=714, nread=0
2007 Apr 18
31
[PATCH 00/28] Updates for firstfloor paravirt-ops patches
Hi Andi, This is a set of updates for the firstfloor patch queue. Quick rundown: revert-mm-x86_64-mm-account-for-module-percpu-space-separately-from-kernel-percpu.patch separate-module-percpu-space.patch Update the module percpu accounting patch fix-ff-allow-percpu-variables-to-be-page-aligned.patch Make sure the percpu memory allocation is page-aligned