Questions tagged [node-set]
76 questions
2
votes
1 answer
How to refer to source XML while walking a nodeset?
I have the following XSLT stylesheet (simplified):

michael.hor257k
- 113,275
- 6
- 33
- 51
2
votes
0 answers
xslt apply-templates on node-set
I have to use XSL 1.0 and I have an xslt variable containing a result tree fragment. I want to apply template styles to that variable.

Robini
- 377
- 1
- 3
- 14
2
votes
1 answer
How do I sum() values from nodes created in a XSLT variable
I'm having trouble with sum'ing up values in a variable.
XSLT Source
…

miracules
- 686
- 7
- 25
2
votes
2 answers
How can make an XSLT Javascript extension function return a node-set?
Is there a simple way to have an extension function in XSLT 1.0 written in javascript return a node-set?
I could create a new java class for this, but I would rather just put some code in the script itself.
When this can be done in another scripting…

Maestro13
- 3,656
- 8
- 42
- 72
1
vote
2 answers
build node-set variable from result tree fragment using
Is it possible to create a node-set variable from an rtf using xsl:choose (for use in MSXML engine)?
I have the following construct:

Maestro13
- 3,656
- 8
- 42
- 72
1
vote
0 answers
OpcUaServer - Unable to create nodes imported from Euromap77 Nodeset XML file
I'm trying to import an standard Euromap77 Nodeset from an XML file on a Asp.Net application (https://www.euromap.org/euromap77), using OPCFoundation.NetStandard.Opc.Ua Nuget Packages (version 1.4.368.53)
I found a guide that explains how to import…

Dr. Roggia
- 1,095
- 3
- 16
- 40
1
vote
0 answers
Compiling Server Application OPC UA
I´ve compiled an information model and created a .csproj and .xml file with the UA_Modeler. Afterward I´ve tried to start a server with two different approaches:
1.)
Following these…

Yeap
- 51
- 4
1
vote
2 answers
XSLT generic template to generate lists in HTML
I would like to write some generic templates to transform collections of nodes into HTML lists. Each element of the collection should correspond to one list item. Ideally I would write
along with a…

wyleyr
- 13
- 2
1
vote
1 answer
Parsing XML with Several Nodesets Using R
I have an xml file with a lot of children and sub-children (I may be using the wrong terminology here). I've dug around StackOverflow looking for sample of something this complex, but my tries with the XML package and the xml2 package are not…

Marianne
- 37
- 4
1
vote
1 answer
R - rvest (webscraping) with unclosed xml nodes, here: problem with html_nodes("br")
I used rvest to extract one part of a webpage (EDIT: this webpage) with this code:
library('rvest')
webpage <- read_html(url("https://www.tandfonline.com/action/journalInformation?show=editorialBoard&journalCode=ceas20"))
people <- webpage %>%
…

anpami
- 760
- 5
- 17
1
vote
1 answer
is it possible to nest dynamic node-sets in xslt?
I'd like to know if it is possible to nest dynamic node sets in XSLT and if so, how to select them using xPath. This is part of a bigger task. I'm only showing the part that I'm stuck on.
This is my XSLT:
…

spide
- 21
- 3
1
vote
3 answers
XSLT: sum of tree fragment will always return 0 !
I am stuck with a problem which seems stupid but I cannot find out the solution... With XLST, I need to sum a list of values calculated by a template. So I stored these values in a tree structure (a list of "Number" elements contained in a root…

Julien
- 43
- 1
- 9
1
vote
2 answers
XPath problem, getting "expression must evaluate to a node-set." error
I'm having trouble retrieving a single node by its explicit XPath that I have already found by other ways. I have node and I can get its XPath, but when I try to retrieve that same node again this time via node.XPath it gives the "expression must…

Snives
- 1,226
- 11
- 21
1
vote
2 answers
XSLT Duplicating node & all child nodes & attributes with new values
Good day ....
I am trying to duplicate nodes with updated/new element text and/or attribute values.
My input XML file:
Delta
800
…

Lorentz
- 181
- 1
- 3
- 13
1
vote
1 answer
Remove nodes from nodeset when nodeset length is more than 1
I have an xml like
I have to remove where Name is "ABC" only when where Name is "XYZ" is also present (or where Name is "ABC" is not…

SMA_JAVA
- 471
- 4
- 9
- 18