You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Ram Sriram <sr...@rstech.net> on 2005/04/29 20:44:36 UTC
XML
Hi,
I am not sure if this is the right group to pose this question to. If it
is not, I apologize and would appreciate if someone could point me to
the right place for an answer.
I have XML as a org.w3c.dom.Document that I construct in Java. At
runtime, I need to save this as a file. Could someone tell me how to do
that.
Thanks...Ram
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: XML
Posted by Ram Sriram <sr...@rstech.net>.
Thanks Mark.
Mark Leone wrote:
> You're right that this is not the proper forum for this question. I
> don't know any XML forums off-hand, but I found this with google
>
> http://www.tek-tips.com/threadminder.cfm?pid=426
>
> You should get apache Axis and look at the class XMLUtils. It has a
> static method documentToStream() that looks like it will do what you
> want. Just download Axis and place axis.jar somewhere in your
> classpath and you should have access to the above metod. Lots of other
> useful utility methods in this class. Find the javadoc for Axis at the
> Apache Axis site under Documentation --> Documentaiton for Axis
> Developers.
>
> -Mark
>
> Ram Sriram wrote:
>
>> Hi,
>>
>> I am not sure if this is the right group to pose this question to. If
>> it is not, I apologize and would appreciate if someone could point me
>> to the right place for an answer.
>>
>> I have XML as a org.w3c.dom.Document that I construct in Java. At
>> runtime, I need to save this as a file. Could someone tell me how to
>> do that.
>>
>> Thanks...Ram
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
Re: XML
Posted by Mark Leone <mi...@cox.net>.
You're right that this is not the proper forum for this question. I
don't know any XML forums off-hand, but I found this with google
http://www.tek-tips.com/threadminder.cfm?pid=426
You should get apache Axis and look at the class XMLUtils. It has a
static method documentToStream() that looks like it will do what you
want. Just download Axis and place axis.jar somewhere in your classpath
and you should have access to the above metod. Lots of other useful
utility methods in this class. Find the javadoc for Axis at the Apache
Axis site under Documentation --> Documentaiton for Axis Developers.
-Mark
Ram Sriram wrote:
> Hi,
>
> I am not sure if this is the right group to pose this question to. If
> it is not, I apologize and would appreciate if someone could point me
> to the right place for an answer.
>
> I have XML as a org.w3c.dom.Document that I construct in Java. At
> runtime, I need to save this as a file. Could someone tell me how to
> do that.
>
> Thanks...Ram
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org