[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

cocoon - xsl

Subject: cocoon - xsl
From: "banduchode jayakrishna" <jk_bandu@xxxxxxxxxxx>
Date: Fri, 26 Mar 2004 17:34:18 +0530
cocoon xsl
Hi all,

When using cocoon pipelines, the transformer XSL file is not displaying the data.
Take a look at the sample code:


sitemap.xmap :

	<map:match patter="test.html">
	<map:act ...>
		<map:generate type="html" src="http://one.com/abc/something"/>
		<map:transform src="disclose.xsl"/>
		<map:serialize/>
	</map:act>
	</map:match>



disclose.xsl :

	<xsl:template match="/">
		<xsl:apply-templates select="."/>
	</xsl:template>

In this case it is displaying the entire result of the html file(the content which is displayed when html is targeted to broswer).

If the disclose.xsl is changed to

	<xsl:templated match="html">  or "/html"
		<xsl:apply-templates select="."/>
	</xsl:template>

Here in this case the xsl is not outputting anything. what I feel is, the xsl is unable to find a match for "html" in the html file. But how can this happen.
Even for html/body/table/tr, no output is displayed, where in the html file contains all this stuff. I am using cocoon 2.1 version. this was working with cocoon 2.0.4 version. Any help would be appreciated.


Thanks
Jayakrishna

_________________________________________________________________
Contact brides & grooms FREE! http://www.shaadi.com/ptnr.php?ptnr=hmltag Only on www.shaadi.com. Register now!


Current Thread
  • cocoon - xsl
    • banduchode jayakrishna - Fri, 26 Mar 2004 07:05:08 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.