[Home] [By Thread] [By Date] [Recent Entries]

  • From: Rob Williams <rob@r...>
  • To: "'xml-dev@i...'" <xml-dev@i...>
  • Date: Mon, 30 Nov 1998 14:42:29 -0800

What do you mean by helper methods? You mean taking Jack's suggestion and
just writing a little method that is going to wrap the newline and post the
field value all in one fell swoop? That does look good; I mainly wanted to
see what seasoned vets of this stuff were doing before I started rewriting.

Thanks,

R

-----Original Message-----
From: David Brownell [mailto:db@E...]
Sent: Monday, November 30, 1998 1:00 PM
To: Rob Williams
Cc: xml-dev@i...
Subject: Re: Sun's XML Classes


Rob Williams wrote:
> 
> I downloaded the Early Access of the Sun classes and they work ok, so far
> for what I've wanted to do with them. My question is, has anyone else
found
> that you end up writing a lot of ugly code to get simple things done?

That's basically what you get from using the W3C APIs directly.  Some of
what you're doing is more or less pretty-printing ... which the next
version will do for you automatically.

Also, as noted, helper methods are not only Your Good Friends but are
generally good style anyway!

- Dave

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following
message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member