Jump to content
Sign in to follow this  
Huma

output in text file

Recommended Posts

Dear All,i want to extract news from xml file and then save these news seperately in text file by using xslt.i"ll use xsl:out ,am i right?but how news will be saved automatically in seperate text file.Thanx in advanceHumaBye

Share this post


Link to post
Share on other sites

Using XSLT alone and previewing the XML file, you can only see what the result will be like. To get the actual thing and/or manipulate it, you need a server side script.So there you go. You need a server side script, that will process the XSLT transformation, store the result, and save it as a separate file.

Share this post


Link to post
Share on other sites

Helloi am not getting how to use server side script to extract news from a xml file and save them seperately in text files?i want to save every news in a seprate text file.is there any other way to do this?Can u give me idea?Thanx in advanceHuma

Using XSLT alone and previewing the XML file, you can only see what the result will be like. To get the actual thing and/or manipulate it, you need a server side script.So there you go. You need a server side script, that will process the XSLT transformation, store the result, and save it as a separate file.

Share this post


Link to post
Share on other sites
Helloi am not getting how to use server side script to extract news from a xml file and save them seperately in text files?i want to save every news in a seprate text file.is there any other way to do this?Can u give me idea?Thanx in advanceHuma

There's no way without a server side script. As for what is the server side script or it's code... I have no idea. I haven't attempted this. I only know it's not possible via markup languages and client side ones.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...