Questions tagged [xdoc]

An 'xdoc' is an XML document conforming to a small and simple set of tags. Xdoc was the primary documentation format in Apache Maven v1. Maven v2 largely replaced this by Apt, but xdoc is still supported.

38 questions
0
votes
0 answers

I want reg ex pattern for xpath

I am using reg ex pattern which does not support below xpath.currently getting null value against this xpath. I am using xpath which has default namespaces and value is achieved when i change the xpath format but in this case, I am unable to get the…
pank24oct
  • 1
  • 1
0
votes
1 answer

Add multiple child nodes to xml using xpath

I have a xml like below 2016-06-01 13:15:36 BBEX PROCESSINVOICE
0
votes
2 answers

Getting the contents of an XML element using XDoc in C#

I'm using the xignite API to get real time currency exchange data. When I use my query string: http://globalcurrencies.xignite.com/xGlobalCurrencies.xml/GetRealTimeRate?Symbol=GBPEUR&_token=[mytoken] I get the following:
0
votes
1 answer

loading odt file (document template) using freemarker. how to generate odt file to pdf

getting this exception : fr.opensagres.xdocreport.core.XDocReportException: java.lang.NoSuchMethodError: freemarker.template.Configuration.setTagSyntax(I)V at…
user3865046
  • 59
  • 3
  • 9
-1
votes
1 answer

Multiple table same fields LINQ

I have to take the same values from multiple source and so I used Concat but I have large number of fields and couple of more sources too. IEnumerable partsList = (from parts in xml.XPathSelectElements("//APS/P") …
A Coder
  • 3,039
  • 7
  • 58
  • 129
-1
votes
2 answers

LINQ/XML: Get the attribut value if the attribut name contains a certain key word

Since I am not very familiar with LINQ and xDocument, I struggle to implement the following: I have a XML file which looks like
Confucius
  • 37
  • 5
-1
votes
1 answer

xml child element node or attribute value

I have a xml schema with nested xml elements and following is the small piece of that demo
-1
votes
2 answers

Using LINQ to query XDocument, how to get specific values?

I'm trying to refactor the following - which works, but if I start to get more elements in the XML it'll get unmanageable : HttpResponseMessage response = await httpClient.GetAsync("https://uri/products.xml"); string responseAsString = await…
norbert
  • 335
  • 1
  • 7
  • 19
1 2
3