Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Argh Help Server side transformation

From: "Keith Chadwick" <webmaster-nospam@--------------.--->
To: NULL
Date: 12/7/2004 2:01:00 AM
Thanks, I gave up for a while in frustration.  If I could send a beer over 
the wire I would send you a keg.

Cheers
Keith

"Han" <hp4444@k...> wrote in message 
news:%23BzEUIC3EHA.1192@t......
> There might be about 10 scenarios. One of them is,
>
> string xsl="your xsl string"
> StringReader sr=new StringReader(xsl);
> XmlTextReader tr=new XmlTextReader(sr);
> XslTransform xs=new XslTransform();
> xs.Load(tr);
>
> doc.Load(sqlCmd.ExecureXmlReader());
> StringWriter sw=new StringWriter();
> xs.Transform(doc,null,sw,null);
>
> The last /sw/ has the transformed XML result as string.
>
> -- 
> Pohwan Han. Seoul. Have a nice day.
> "Keith Chadwick" <webmaster-nospam@a...> wrote in message 
> news:O9KcYMA3EHA.1392@t......
> This should not be so blasted dificult to figure out what flipp'n dot net 
> xml objects to use.
>
> I have a xmldocument loaded via myxmldoc.load(sqlCmd.ExecureXmlReader())
>
> The sqlCmd calls a sp that returns some data with for xml.
>
> What I want to do is simply load a simple xsl transformation that is built 
> on the fly in code as a string.  Apply the transformation to myxmldoc and 
> load the results back into another xmldocument.
>
> But what objects plug into what?  For instance how do you get a string 
> representing a xslt into a xsltransform object.
>
> What object to you put the resulting transform into that then can be put 
> into a xmldocument etc.  I could do this in 3 lines in MSXML now I have to 
> jump through blasted hoops to do something very simple.
>
> Please help before I throw the monitor out the window!!!
>
> Cheers
> Annoyed
> 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent