Re: [xml] namespace problem

2010-01-04 Thread Andreas Wagner
Fuck ur are absolutely right Emmanuel... that was my mistake. I have to use xmlFirstElement(cur) I didnt know that the first node of a text-node is "\n". Someone has to write it down somewhere ;-) I have a book about libxml und i searched google and this page, but didnt find an explanation like

Re: [xml] namespace problem

2010-01-04 Thread Emmanuel Rodriguez
On Mon, Jan 4, 2010 at 9:00 PM, Andreas Wagner wrote: > The parent of the param Node where i should be is definitively parameter > and the child must be param and i am in the correct line ( cur->line). > Be careful because if you have text between the parent element and the child element then you

Re: [xml] namespace problem

2010-01-04 Thread Andreas Wagner
The parent of the param Node where i should be is definitively parameter and the child must be param and i am in the correct line ( cur->line). 2010/1/4 Rob Richards > Andreas Wagner wrote: > >> >> >> 2010/1/4 Liam R E Quin mailto:l...@holoweb.net>> >> >> >>On Mon, 2010-01-04 at 17:35 +0100,

Re: [xml] namespace problem

2010-01-04 Thread Emmanuel Rodriguez
On Mon, Jan 4, 2010 at 8:27 PM, Andreas Wagner wrote: > > > 2010/1/4 Liam R E Quin > > On Mon, 2010-01-04 at 17:35 +0100, Andreas Wagner wrote: >> >> > <- these >> > attributes ... but i cant ...strange ... the line above works >> >> > do u have an idea what can be wrong? >> >> Note that

Re: [xml] namespace problem

2010-01-04 Thread Rob Richards
Andreas Wagner wrote: 2010/1/4 Liam R E Quin mailto:l...@holoweb.net>> On Mon, 2010-01-04 at 17:35 +0100, Andreas Wagner wrote: > <- these > attributes ... but i cant ...strange ... the line above works > do u have an idea what can be wrong? Note that unprefi

Re: [xml] namespace problem

2010-01-04 Thread Andreas Wagner
2010/1/4 Liam R E Quin > On Mon, 2010-01-04 at 17:35 +0100, Andreas Wagner wrote: > > > <- these > > attributes ... but i cant ...strange ... the line above works > > > do u have an idea what can be wrong? > > Note that unprefixed attributes are not in any namespace. > I know, but i remo

[xml] Strange behavior

2010-01-04 Thread Andreas Wagner
Hi Gabriel, what happens when u delete the elements (just for testing). Do you get the same "strange" output as before? Regards ___ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml

Re: [xml] namespace problem

2010-01-04 Thread Liam R E Quin
On Mon, 2010-01-04 at 17:35 +0100, Andreas Wagner wrote: > <- these > attributes ... but i cant ...strange ... the line above works > do u have an idea what can be wrong? Note that unprefixed attributes are not in any namespace. > The problem is that there are namespace (as you can see)

[xml] Strange behavior

2010-01-04 Thread Gabriel Duarte
-- Forwarded message -- From: Gabriel Duarte Date: Sat, Jan 2, 2010 at 6:54 PM Subject: Strange behavior To: xml@gnome.org Hello! I'm new to libxml, following the instructions and reading examples I could parse a XML file perfectly, but now I got a problem I can't solve by my sel

Re: [xml] xmlTextReaderLocalName returns #text

2010-01-04 Thread Csaba Raduly
On Sat, Jan 2, 2010 at 7:07 PM, Michael Andersson wrote: > Hi! > I'm having trubble reading my xml file when they contain newline characters. > The problem is that when I call xmlTextReaderLocalName it returns #text > instead of the element name. This is what my xml file looks like: > > > -126 >

Re: [xml] namespace problem

2010-01-04 Thread Andreas Wagner
hmm now i deleted the body in the example and the namespace just want to read <- these attributes ... but i cant ...strange ... the line above works do u have an idea what can be wrong? 2010/1/4 Andreas Wagner > Hi, > > thx for ur example. The example works, but not my file. An

Re: [xml] namespace problem

2010-01-04 Thread Andreas Wagner
Hi, thx for ur example. The example works, but not my file. An example of a real file could be: