Avnish Pundir wrote :
> 
> I am having problem while printing edited XML documents. I have a XML
> document which is already indented properly with spaces. Now I am parsing
> the document and adding a few new child nodes to it. But when I print the
> document, indentation doesn't work out properly.
> ...
> I am getting this output
> <Inventory_Attributes>
>  <Products>
>   <Product name="my_product">
>    <Version>A</Version>
>    <Version>B</Version>
>    <Version>C</Version>
>   <Version>Newly_added_product</Version>
>   </Product>
>  </Products>
> </Inventory_Attributes>
> 

Seems to be a bug in Xalan because indentation is not really applied in this 
case. Please report it in the bugzilla. I'll provide a patch for it.

-Pavani

-- 

Pavani Mukthipudi
Sun Microsystems, Inc.

Phone: 91-80-2298989/87390

Reply via email to