Questions tagged [staxmate]
7 questions
2
votes
1 answer
Writing out an element with staxmate api
I am using staxmate to write out an xml document. I want to write out xml elements with a prefix/namespace like "pre:elem". I can construct this manually as "pre" + ":" + "elem" and pass it on to the addElement method of staxmate api. But, is there…

abhi
- 23
- 3
1
vote
3 answers
i could not find org.codehaus.staxmate.dom package
I use netbeans 6.9 I want to use org.codehaus.staxmate.dom package but in does not exist. How can I add this package?

sahar
- 569
- 7
- 16
- 29
0
votes
2 answers
How to create Dom objects parsing an XML with Stax
I have some difficulties to parse an XML using Stax in order to create org.w3c.dom.Document objects for parts of the XML tree.
Ex.:
child 1
child 2
child 3
=> I would…

user512345
- 21
- 3
0
votes
2 answers
Indentation issues with Staxmate API
I am using Staxmate API to generate XML file. After reading the tutorial: http://staxmate.codehaus.org/Tutorial I tried making the changes in my code. At last I added the call
doc.setIndentation("\n ", 1, 1);
Which causes the newly generated XML…

thequark
- 726
- 1
- 7
- 17
0
votes
1 answer
Staxmate Round Trip XML processing
I have an xml file (potentially large) which I would like to process and update with the derived information.
I would like to use staxmate to do this if possible.
I have found documentation on reading and writing
…

phreed
- 1,759
- 1
- 15
- 30
0
votes
2 answers
not able to see data in stax Events while debugging
I Started working on Stax Parser for past three months. I used to see data or text in the stax events while debugging. This used to help me a lot while working on my task. But from past 2days,there is weird behavior. When i debugged the project, i…

Vishwa
- 117
- 1
- 2
- 12
0
votes
1 answer