Re: XalanDocument -> string

2003-09-11 Thread david_n_bertoni
Hi Oystein, Take a look at the StreamTransform sample, which uses std::oststream as an output stream. You can also use std:stringstream, if you want to use std::string. Dave

XalanDocument -> string

2003-09-11 Thread Øystein
Hi. I have got the SerializeNodeSet to work, but I want to keep the xml doc in a string instead of sending to cout??? Cheers Oystein __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com

RE: converting a DOMNode to XalanNode

2003-09-11 Thread Ashay Shende
Hi Jaspreet, The XercesDocumentWrapper class has a method mapNode() which can be used for converting a DOMNode to a XalanNode and vice versa. First you should create a XercesDocumentWrapper object from your DOMDocument and then use its mapNode function. This could solve your problem. -Ashay. --

Re: converting a DOMNode to XalanNode

2003-09-11 Thread Berin Lautenbach
Jaspreet, See http://xml.apache.org/xalan-c/usagepatterns.html#xercesdomwrapperparsedsource Cheers, Berin > > From: Jaspreet Singh <[EMAIL PROTECTED]> > Subject: converting a DOMNode to XalanNode > Date: 11/09/2003 16:42:01 > To: xalan-c-users@xml.apache.org > > Hi all > how do i con

converting a DOMNode to XalanNode

2003-09-11 Thread Jaspreet Singh
Hi all how do i convert a domnode to a xalannode ? i am trying to provide a dom interface over my application and while using xalan i have to pass it a xalan node. so i have to convert my domnode to what xalan requires - a xalan node. how do i do that ? the domnode is actually the dom docum