> You need to set preserveWhiteSpace(true) or
> something similar to your XML parser (Xerces, MSXML...)
> and force it not to do pretty printing.

Or, even better, change this line:

getElementsbyTagName.item(0).getFirstChild().getValue()

into:

getElementsbyTagName("MyElement").item(0).getElementsbyTagName("MyOtherElement").item(0).getValue()

In other words reference elements with getElementsbyTagName(), not with 
getFirstChild().

Hope it helps,
Milan

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to