:13 AM
To: Struts Users Mailing List
Subject: Xml utilities
I am trying to develop some classes used for XML parsing or generating
purposes. But I think it is difficult to abstract to write a common
utility since each XML document is different, and to parse that
document, we should have a different pars
On 2/22/07, Zhang, Larry (L.) <[EMAIL PROTECTED]> wrote:
I am trying to develop some classes used for XML parsing or generating
purposes. But I think it is difficult to abstract to write a common
utility since each XML document is different, and to parse that
document, we should have a different
beans and you can call getter methods to extract the data.
In case your schema changes, you have to just run the tool again.
/Ashwani
-Original Message-
From: Zhang, Larry (L.) [mailto:[EMAIL PROTECTED]
Sent: Friday, February 23, 2007 3:13 AM
To: Struts Users Mailing List
Subject
PROTECTED]
> Sent: Thursday, February 22, 2007 4:48 PM
> To: Struts Users Mailing List
> Subject: Re: Xml utilities
>
> I think what you have to do is create your own
> generic XML utility class
>
> that is specific to your XML schema, that uses
> dom4j, or digester or
>
Isn't this kind of off topic?
Oh well . . . I understand your writing a higher level API class for you
developers to use. So, your not exactly looking for suggestions about the XML
api you will use inside your utility. But in the off topic spirit, I'll just go
ahead and recommend a powerful
I agree with you Dale. DTD or XSD files enforce schema once you define
it, based on your problem domain. I think Zhnag's wants to create
generic Java classes to parse XML files. He is trying to create XML
library or XmlUtils class for his project, so all developers can us it.
Andrew Pliszka
Andrew Pliszka wrote:
When I talk about generic schema I am mean domain specific schema
How is that different from a DTD?
Pretty much any xml format that you intend to use heavily should be well
defined enough for you to generate one, and then you can easily have the
parsers validate anythin
]
Sent: Thursday, February 22, 2007 4:47 PM
To: Struts Users Mailing List
Subject: Re: Xml utilities
Hi Zhang,
I am not sure if i got your question correct. But, if you want some
already existing XML parsers then DOM and SAX Parsers are the ones
which
are used extensively. Again, i might
PROTECTED]
Sent: Thursday, February 22, 2007 4:48 PM
To: Struts Users Mailing List
Subject: Re: Xml utilities
I think what you have to do is create your own generic XML utility class
that is specific to your XML schema, that uses dom4j, or digester or
XMLBeans as XML engine. You will have to create
, February 22, 2007 4:47 PM
To: Struts Users Mailing List
Subject: Re: Xml utilities
Hi Zhang,
I am not sure if i got your question correct. But, if you want some
already existing XML parsers then DOM and SAX Parsers are the ones which
are used extensively. Again, i might be missing more efficient
PM
To: Struts Users Mailing List
Subject: Re: Xml utilities
Hi Zhang,
I am not sure if i got your question correct. But, if you want some
already existing XML parsers then DOM and SAX Parsers are the ones which
are used extensively. Again, i might be missing more efficient ones
Hi Zhang,
I am not sure if i got your question correct. But, if you want some
already existing XML parsers then DOM and SAX Parsers are the ones which
are used extensively. Again, i might be missing more efficient ones.
I am trying to develop some classes used for XML parsing or generating
purposes. But I think it is difficult to abstract to write a common
utility since each XML document is different, and to parse that
document, we should have a different parser. So the question is what
utility class will look lik
13 matches
Mail list logo