xsl-list
[Top] [All Lists]

xsl pipeline?

2003-01-22 03:19:46
Goodmorning everybody!!

The problem is that i must have three distinctive  filters and each of them
should give me the output that i need like this: xml==>xml==>html.

Display, language and level are set dynamically each time so i can't use
default values at the beginning. Instead i must have general filters that
should be applied to every xml file i have,if i understood ur advice...But
still i can use display,info and language as parameters..

I've tried wrting this code but it doesn't give me anything at all...just a
blank page...:(
Am I missing something?
What should i write on the xml file to show that i use these filters??
And why on earth is this giving me just a blank page??
PLEAAAAAAAAASE

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl";>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>

<xsl:output method="xml"/>
<xsl:template match="/">
<xsl:apply-templates/>
<xsl:for-each select="SITES/CONTENT">
<xsl:if match=".[LAN='1']">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:for-each>
</xsl:template>

</xsl:stylesheet>
</xsl:stylesheet>

THANX



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>