[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Sun's XML Classes
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? Maybe I'm missing something? Here's an excerpt: billTo.appendChild(btCoName); billTo.appendChild(new TextNode("\n")); btCoName.appendChild(doc.createTextNode(btCoNameFld.toString())); billTo.appendChild(btAdd1); billTo.appendChild(new TextNode("\n")); btAdd1.appendChild(doc.createTextNode(btAdd1Fld.toString())); billTo.appendChild(btAdd2); billTo.appendChild(new TextNode("\n")); btAdd2.appendChild(doc.createTextNode(btAdd2Fld.toString())); billTo.appendChild(btCity); billTo.appendChild(new TextNode("\n")); btCity.appendChild(doc.createTextNode(btCityFld.toString())); billTo.appendChild(btState); billTo.appendChild(new TextNode("\n")); btState.appendChild(doc.createTextNode(btStateFld.toString())); billTo.appendChild(btZip); billTo.appendChild(new TextNode("\n")); btZip.appendChild(doc.createTextNode(btZipFld.toString())); billTo.appendChild(new TextNode("\n")); Rob Williams RobCo Incorporated 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...)
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|