  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | JDOM | Hi
Can someone explain how the method chaining for replacing parts of
documents works in JDOM 1.0. The code below doesn 't work as the results
returned from the XPath.selectNodes indicates the I am having some XPath trouble and I can 't seem to find good answers after searching the internet so I am hoping that someone here has a good idea. I have a document that looks like
<Test >
<Forwarding to the list.
-jh-
Hi Flavio.
You wrote
> recently converted an app fro terminal-mode to JSP (In teminal mode
> everything runs ok).
> Everything works well in JSP until trying to get the returned XML.
> I cI recently converted an app fro terminal-mode to JSP (In teminal mode
everything runs ok).
Everything works well in JSP until trying to get the returned XML.
I couldn 't find anything about this..In jdom 1.0 one of the overloaded methods Element.setContent() returns
Parent instead of Element. It looks strange. Can anyone tell me why?
--
Bill Leng
Is there a way to validate schemas using JDOM? I used XML-Spy to create
a basic schema from a SQL Server database and then used JDOM to heavily
modify it. I would like to be able to verify thatHi
I am trying jdom 1.0 and found that XMLOutputter now manipulates \n and
\r. This behaviour I believe is a bug because I can not get exactly
what I put in. The actual manipulation code is But I bet writing a simple Filter and using getDescendants(Filter) would -)
Brad
Mike Brenner writes
> This does not work like say getElementById in an
> xml svg file which searches allThe original email went to @(protected) Forwarding so it 'll make it
to the list proper.
-jh-
Myron Uecker wrote
> I created a brand new XML document added a root element with two
> namespaces xmlns "... " and xmlns xsi "... ". I then added several more
> elements and sub-elements. On Hello list
Mainly for the purpose of learning the Java Security API I have
experimented with implementing XML Signature for JDOM. I really do
not have very much in terms of code at this point Hi everyone
FYI I plan on writing in to cancel JSR-102 with the following explanation
"Withdrawn at the request of the submitter. The project was completed
under the open source developmenHI
I need to develop a tree view structure in applet.
The data for tree view is from an XML file.
The tree view should allow dynamic updating of the nodes either adding a child node or dele <html > <body >
<p >Thanks Jason we 'll effectively pop the champagne and if you 'll be in France I 'll be happy to share it with you! <br >
We 'll port quickly all our stuff to this new and final release.Young Matthew wrote
>hej
>
>Exactly. We have child documents that get included which should have a certain
>ISO encoding but don 't. Then the default takes over and the swedish characters
>bOn Friday 10 September 2004 08 24 Young Matthew wrote
> hej
>
> Regarding the default encoding I more thinking on the front end and not
> with printing. In other words before parsing a documenIf you get a document with mixed Shift_JIS and Latin-1 content you don 't
have many output choices. UTF-8 UTF-16 UCS-2 etc. Your best bet is
usually UTF-8. That 's why XML parsers assume it byhej
Exactly. We have child documents that get included which should have a certain
ISO encoding but don 't. Then the default takes over and the swedish characters
bomb the parser.
Simplest tYoung Matthew wrote
> hej
>
> Regarding the default encoding I more thinking on the front end and not with
> printing. In other words before parsing a document it would be cool if I could
>hej
Regarding the default encoding I more thinking on the front end and not with
printing. In other words before parsing a document it would be cool if I could
shift the encoding to someother t > How can the original encoding in a document be accessed via JDOM? Don 't see
> any method calls concerning the encoding setting except with the output
> formatter.
Sadly you can 't because SAX dmorning
How can the original encoding in a document be accessed via JDOM? Don 't see
any method calls concerning the encoding setting except with the output
formatter.
Also is there are way Hi everyone
I 'm happy to report that I 've just posted the JDOM 1.0 release. Since I
don 't want to make you wait any longer (ahem) here 's the quick link
http //www.jdom.org/dist/binary/jdom > The reason a "Node " interface is of so much iterest to me is that I can
> then have JDOM-related type-safety in my own code that utilizes JDOM 's
> classes you may not see the reason for it withinHi
I wonder how one adds an entity to a document type I want something like this
<!DOCTYPE blabla SYSTEM "first.DTD " [ <!ENTITY % extension SYSTEM "second.dtd " > %extension ] >
I didn 't Any idea how long before 1.0 goes out.
I have updated my local code to 1.0 format and all testing is complete and
OK. I can either send the 1.0 compatible code to my cvs server or load the
0.9 I think I miss something in the docs...
I 'm trying to build an XML that has a node wich has multiple children with
the same name as follows
<def >
<listed-item >
<number > </number >
> > - There is no common base class for all objects in the document model. This
> > means that serialization and equality methods have to be written somewhat
> > piecemeal. I 'm sure that you 've coThompson Bryan B. wrote
> Hello
>
> I appear to be unable to post through I recently subscribed. The problem
> may be with my email
> address (thompsonbry@(protected) vs bryan.b.thompson@(protected) |
|
 |