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
3
votes
1 answer

Unable to convert string to XElement

I am creating a xml file, but am unable to convert the string in the tag
13
How do I convert it to an XElement item? I want to avoid using Linq, XmlDoc if possible...
Chubaku
  • 33
  • 4
2
votes
1 answer

OpenXML c++/cli

I want to create a .docx document (Word 2007 and 2010) with OpenXML in C++/CLI I use this code for generate the document: WordprocessingDocument^ wordDoc = WordprocessingDocument::Create("C:\\...\MyFile.docx",…
wanton
  • 23
  • 3
1
vote
0 answers

How to encode special characters into link in xdoc

We have xdoc documentation for our Java library. It links to Javadoc and shows code examples on how to use the library. Some of our links to the Javadoc use special characters like parenthesis for methods. Javadoc is generated from standard javadoc…
rveach
  • 2,081
  • 15
  • 25
1
vote
1 answer

How to get all namespaces of xml document for correct XPath evaluating?

I try to evaluate simple xpath "//pr:Name" for this xml Coffee but I get xml file in run-time i.e. I can't fill…
1
vote
1 answer

How to Retain the indent of an XDocument between a load and save?

I have a XDocument that is formatted like this: This is text After load and save it changes to the below format: This is text How do I retain the…
Niveditha
  • 31
  • 2
1
vote
1 answer

How to iterate XML by using XDocument in .Net

I have a big XML file where I am taking small snippet by using ReadFrom() and then I will get xmlsnippet which contains leaf, sas, kir tags at different positions (sometimes leaf at top compare to kir or viceversa). Now the thing is I am using three…
peter
  • 8,158
  • 21
  • 66
  • 119
1
vote
1 answer

Read XML Attribute VBA

I am trying to get the attribute of a single node in VBA, but can't manage it using DOM The XML looks like following:
David
  • 169
  • 4
  • 16
1
vote
2 answers

Comparative advantages of xdoc and apt formats

What are the relative merits of the xdoc and apt formats for writing websites of Maven projects? Is one more expressive than the other? Has one got better tool support than the other?
lindelof
  • 34,556
  • 31
  • 99
  • 140
0
votes
2 answers

What is a good XDOC (or C# equivalent) style of program/plug-in for SQL Server?

I'm looking for a way to properly comment my stored procedure code so that I can extract the information into useful documentation ala something like XDOC (or C# equivalent). Something that's preferably lightweight would be ideal.
Orion Adrian
  • 19,053
  • 13
  • 51
  • 67
0
votes
0 answers

Deserializing hefty XML doc into c# objects

I've been banging my head against the wall looking for how to deserialize this sample doc
0
votes
1 answer

How to use For loop inside XElement

I try to create an XML document from a recieved List which T is the type of the list. so, the problem is when I try to use a for loop inside XElement I get errors. My idea is ccreating an XML Document contains elements based on the T…
XDev
  • 125
  • 1
  • 8
0
votes
1 answer

Read Parts of an Xml File trough Stream instead of only one

So I've been working on a old piece of code for a project. I've managed to optimize it for 64bit usage. But there's only 1 issue. When using the XmlSerializer.Deserialize It breaks because the input text/Deserialized data is TOO BIG.…
Endless
  • 25
  • 5
0
votes
0 answers

Add space for formatting before Xelement in XML file usin C#

I am trying to add one XElement to an XML file where element is already present in a specific format(see the line 2 where space is present before the Student element), however when i add the Xelement, how could i add a space before the Xelement ?…
usr021986
  • 3,421
  • 14
  • 53
  • 64
0
votes
1 answer

Is there any way to extract charts from excel and convert them to image format using java?

I am working on an application that generates a xdoc output with a series of charts and tables, whose data comes from a given excel file. Currently I have been able to generate the necessary charts and tables managing the data with Apache Poi and…
0
votes
1 answer

Skip element with getElementsByTagName if it doesn't exist

I have a script that parses an XML file looking for certain attributes. However, when I try to define an attribute that doesnt exist, it throws an error. What is the best way to resolve this? For example, this code looks for all works given by an…
1
2 3