Why not call the URL from the inside the SLOP generator, then access the tags as needed; or strip out any unwanted elements via an intermediate XSL transform? (see my previous email for the same suggestion...)
>>> [EMAIL PROTECTED] 2004/08/06 03:19:09 PM >>> is there any way to generate an xml file using xsp? This is the problem: This is my pipeline: <map:match pattern="*oly"> <map:generate type="html" src="http://sify.com/sify_oly.html"/> <!-- <map:transform type="xslt" src="olymp.xsl"/>--> <map:serialize type="wml" mime-type="text/vnd.wap.wml"/> </map:match> i recieve the input from the url http://abc.com//xyz.html This is just plain text with no tags. eg " hello world" Now i want "hello world" to be in wml format, so i used an xsl transformer. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/"> <wml> <card id="general" title="gen_oly"> <p> <!-- what can i have here? <xsl:value-of select=" "/> --> </p> </card> </wml> </xsl:template> </xsl:stylesheet> Since there are no tags in the text i recieve, im not able to use any value in <xsl:value-of select=" "/> How can i extract the text and insert into the xsl? is there any way to do this? -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
