  | 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 | Hhmm I don 't know of anything in a DTD that will allow that. Seems like
a java method is the way to go.
-----Original Message-----
From jdom-interest-bounces@(protected)
[mailto jdom-interest-bounces@Hi!
let 's suppose that we have this xml
...
<name >name1 </name >
<name >name2 </name >
...
<name >nameN </name >
Is there a ddt rule that forces to don 't have duplicate value of name?
or i must write a fui know that jdom doesn 't validate the xml but i can use the function
build of the class SAXBuilder...i have solved the question in this way
code
SAXBuilder builder new SAXBuilder()
builder.seHi
Please see here http //www.topxml.com/tutorials/main.asp?id jdom&page 17.
Regards
Grzegorz
2007/10/1 NP <nicola.padovano@(protected) >
>
> Hi all!
> I 've written a XML database but now i haveHi -
I 'm not entirely clear on what you 're asking. Sounds like you already
have the DTD created and now you are trying to validate against it? If
you are not allowing duplicate <name > elements theHi all!
I 've written a XML database but now i have the need to validate it. For
example this XML must have one tag (and only one) called <name >. So i
can write a dtd grammar to do this work.
But my
Ramaraj S
Senior Engineer| Virtusa
No 1 & 2 Tiru-vi-ka industrial estate
Ekkattuthangal Guindy Chennai- 600032 India
Hi Rolf thanks for your help. It works now. The different namespaces are intentional (though the XML is not from me). The children of "Post " are again in other namespaces e.g. Dublin Core.
Best -PTo run a Saxon transformation against a JDOM source document you can use
the JAXP transformation API. This allows
transformer.setParameter(name value)
To run the transform supply a Source obtainHi
Sorry if this is a stupid question? I was wondering if it is possible to
pass a parameter to a stylesheet through this transformer class. I 'm using
the SaxonB8.9 xslt processor.
Yours
Clint Rehello together
I got a strange problem with getChildren(). i get the following xml inputstream by a http GET request
<?xml version "1.0 " encoding "UTF-8 "? >
<rdf RDF xmlns rdf "http //www.w3.org/19Per the Javadocs of getFormat()
/**
* Returns the current format in use by the outputter. Note the
* Format object returned is a clone of the one used internally.
*/
(It 's aThere is only one officially built JDOM 1.0 JAR and it wasn 't compiled
with Java 5. Having two different JARs implies someone was doing
something "interesting ". I recommend using the regular JDOM answering to myself
two possibile solutions
1. we must get the reference to the format of the XMLOutputter then
setting the indent line-separator parameters and finally set the format
e.g.
XMLOHi!
I have to indent my xml document so i write
XMLOutputter serializer new XMLOutputter()
serializer.getFormat().setIndent( " ")
serializer.getFormat().setLineSeparator( "\n ")
....
serializer
Hello everybody.
I have the following problem with two different jdom.jar files
I have downloadet the jakarta slide webdavclient api.
I want to use the webdav protocoll to store files from a webbasWell here 's the source of the complaint
In Document.java
public List getContent() { }
public Document setContent(Collection newContent) { }
The JDOM programming contract is you can pass in
Hello
I 'm trying to compile a class which will become a web service I 'm using
Netbeans 5.5 and when i try to compile the following code
"
@(protected)
public Document getUserTrainingPlan(@What 's "NIO "?
-----Original Message-----
From jdom-interest-bounces@(protected)
[mailto jdom-interest-bounces@(protected)] On Behalf Of Tatu Saloranta
Sent Monday September 17 2007 3 08 PM
To New CeRegarding being user/use-case - driven I agree I wouldn 't want generics
support be added just for the sake it getting added. But optimally
people who code new features would do that to scratch theirI am all set to introduce Generics introduce Retrotranslator maybe
switch the build system to maven (maybe it is also time to switch to
Subversion).
As soon as those with the power have made the decOn 11/09/2007 Tatu Saloranta <cowtowncoder@(protected) > wrote
> The main practical question would be how to
> branch things in the source control system and related
> question of version numbering sc > Did I write JDK 4 instead of JDK 1.4?
>
> The way Sun numerate their products confuses me (e.g. solaris
> 9 vs sunos 5.9).
All the evidence suggests that it confuses Sun too.
(But actually it 'Did I write JDK 4 instead of JDK 1.4?
The way Sun numerate their products confuses me
(e.g. solaris 9 vs sunos 5.9).
This email and any files transmitted with it are confidential and intended solelyI think that in the end "he who codes wins ". So as long as someone is willing to do the gruntwork for changing APIs appropriately gets the buy-in from others he/she/they should be able to pursue "bDespite extended discussions on the subject in the past...
If there is a vote on moving jdom to jdk 5 for the sake of generics I
would vote yes.
I cannot quite recall what I did some months ago wSorry for reposting the entry several times. I tried to find the problem
with this list....
Retrotranslator is a tool that is able to "translate " JDK 1.5 code with
generics into 1.4 code without ge
Le 4 oct. 05 ? 22 02 David Patterson a ?crit
> had a problem trying to use the SAXBuilder to process an XML file
> that uses namespaces and has XML Schema validation and uses an
> EntityResoHi
I have created a small patch that adds support for Retrotranslator.
To use the patch it is also necessary to add three jars from
Retrotranslator to a directory called "retrotranslator ".
They cHmm didn 't work the last time so I try again.
Regards
Johannes Schneider
-------- Original Message --------
Subject Retrotranslator patch
Date Wed 05 Sep 2007 22 58 45 +0200
From Johannes S |
|
 |