Questions tagged [node-set]

76 questions
0
votes
1 answer

How to create XSL nodeset from string

I can not create a XSL nodeset from a string. I can create a nodeset from a Result Tree Fragment. This stylesheet shows both attempts.
DSHCS
  • 11
  • 1
  • 3
0
votes
1 answer

xmlXPathCompOpEval: function node-set not found

I'm implementing several libraries(libxslt, libxml2, libexslt) for XSLT Processing in my program. I included the header files and .so files to link the libraries to the program, and found out that the linking worked well. Below is the code using…
BcFlower
  • 25
  • 3
0
votes
0 answers

R: Extract data from specific XML nodeset

I am trying to extract some values from an XML file. This XML contains multiple 'spreekbeurten' (speaches) from members of the parliament. Each 'spreekbeurt' has a speaker (member of parliament) and 'partij' (party of the member). It could be that…
bbilal
  • 211
  • 1
  • 2
  • 8
0
votes
0 answers

How to import nodeset xml file to opc ua server?

I'm trying to develop opc ua client. I have node set files (euromap 77 standards) and i want to have test opc server in my computer so i can develop and test my client application. I have found many opc server demo application but they all simulated…
Cozdemir
  • 177
  • 2
  • 19
0
votes
1 answer

Using node-set with Antenna House XSL-FO XSLT

I would like to use node-set() in Antenna House so I can access preceding-siblings in a sorted list. (I'm trying to follow this example: [using preceding-sibling with with xsl:sort) I'm not sure what the syntax is for declaring the namespace to…
Caroline
  • 167
  • 1
  • 11
0
votes
1 answer
0
votes
0 answers

Call Template inside preceding-sibling

I am a pretty newbie to XSLT (using XSLT 1.0). Couple of questions: I am currently working on a scenario which requires me to invoke a call template from inside a preceding-sibling iteration Is there a way to achieve this? How can I convert a…
0
votes
1 answer

XSLT 1.0 - How to compare two node-set values

Compare two node-sets and get a new one with unique values only result To be specific create nodeset3 where value is in nodeset1 but not in nodeset2 (so basically nodeset3=nodeset1-nodeset2 in set theory). This is node set 1 with some…
Sid
  • 30
  • 1
  • 6
0
votes
1 answer

Returning only nodes by constraint

I have a legacy wddx file (and may have to do this often) that I want to write some XSL for that will get me a count of the number of "top-level" nodes that have a child node with a certain attribute that in turn has a child node with a text value…
Mike Craig
  • 25
  • 2
  • 5
0
votes
2 answers

XSLT - Iterate through node-set

I have a xml like this: <root><row><col name="COL_NAME_1">col_value_1</col>;</row></root> <root><row><col…
MaciejG
  • 3
  • 4
0
votes
1 answer

Xpointer: is it possible to select an empty node-set?

Question I have an XInclude that includes a node-set resulting from the specified xpointer attribute's expression. Is it possible to select, with the xpointer, an empty node-set, so to not include anything? Issue The reason is that my xincluded &…
Kamafeather
  • 8,663
  • 14
  • 69
  • 99
0
votes
1 answer

remove from xsl nodeset

Say you have a document like this: one two three You then use xsl to create a nodeset of B nodes
user898465
  • 944
  • 1
  • 12
  • 23
0
votes
1 answer

xslt filter variable node-set using input

I'm having trouble with, what I believe, is an inability to filter a variable node-set. I have a variable which is populated with a node-set from a collection of documents and I'd like to echo the input and add the variable nodes if those nodes…
rocketboy2000
  • 119
  • 1
  • 11
0
votes
1 answer

Group dynamically generated nodeset

I am having trouble dynamically grouping with XSLT. My problem is complicated (I think) in part because the nodeset I'm trying to transform is dynamically generated from the apache xalan/sql extension. I closely followed the example on the…
0
votes
1 answer

xslt get node-set text with key function

Is it possible to access the textnode of a node-set with a key function in xslt 1.0? I have following code: name1 name2
nh_
  • 299
  • 5
  • 25