Hello
On xmlbeans.apache.org it says that XMLBeans provide
quote
It provides a familiar Java object-based view of XML data without losing
access to the original, native XML structure
/quote
I am using XMLBeans on a xml structure that is signed with a hash value so
*nothing* must change
I think you need to parse a valid source document first. Then you can
get access to the underlying XmlObject.
Regards,
From: Nicolai Odum [mailto:[EMAIL PROTECTED]
Sent: 15 September 2008 14:32
To: user@xmlbeans.apache.org
Subject: Very simple question (I
@xmlbeans.apache.org
cc
Subject
RE: Very simple question (I think)
I think you need to parse a valid source document first. Then you can get
access to the underlying XmlObject.
Regards,
From: Nicolai Odum [mailto:[EMAIL PROTECTED]
Sent: 15 September 2008 14:32
To: user@xmlbeans.apache.org
Subject: Very
= xmlObject.getDomNode().getFirstChild();
assertEquals(test,rootnode.getNodeName());
}
From: Nicolai Odum [mailto:[EMAIL PROTECTED]
Sent: 15 September 2008 14:41
To: user@xmlbeans.apache.org
Subject: RE: Very simple question (I think)
Sorry bad example
It's
rootnode = xmlObject.getDomNode().getFirstChild();
assertEquals(test,rootnode.getNodeName());
}
From: Nicolai Odum [mailto:[EMAIL PROTECTED]
Sent: 15 September 2008 14:41
To: user@xmlbeans.apache.org
Subject: RE: Very simple question (I think)
Sorry bad example
]
15-09-2008 15:58
Please respond to
user@xmlbeans.apache.org
To
user@xmlbeans.apache.org
cc
Subject
RE: Very simple question (I think)
I just ran the following Junit test with no problems...
public void test() throws XmlException, IOException{
String xmltext = new String
@xmlbeans.apache.org
cc
Subject
RE: Very simple question (I think)
try parse.toString();
From: Nicolai Odum [mailto:[EMAIL PROTECTED]
Sent: 15 September 2008 15:09
To: user@xmlbeans.apache.org
Subject: RE: Very simple question (I think)
I will try again :-)
Sorry for my pore english skills
RE: Very simple question (I think)
try parse.toString();
--
*From:* Nicolai Odum [mailto:[EMAIL PROTECTED] *
Sent:* 15 September 2008 15:09*
To:* [EMAIL PROTECTED]
Subject:* RE: Very simple question (I think)
I will try again :-)
Sorry for my pore
From: Jacob Danner [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2008 8:27 AM
To: user@xmlbeans.apache.org
Subject: Re: Very simple question (I think)
For XML to be equivalent, things like namespace prefixes, whitespace*,
etc can
9 matches
Mail list logo