This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: this is the ultimate stupid question, but i have to ask...


> turning xml into a string representation.

well, the way i've always done it (shock-horror)

String s = "";

s += xmlDoc.getDocumentElement();

to work, you have to use += , cant just do s = xmlDoc.getDocumentElement();
I know there's some other ways hidden in our code somewhere using streams
but this strange way works for me so I keep using it ;)

dP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]