[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Advise on xsl usage producing very complex html
Hello all, I am facing a problem with very complex html formatting which must be done in xsl. Maybe anyone have an advise on how to separate VERY complex formatting apart from basic things alike inserting a value-of node example: <!-- quite a very long html block --> <table ...><tr><td><table ...><tr><td> <!-- end of a very long html block --> <xsl:value-of select="some" /> </...> The first idea I found was to make a set of templates alike <xsl:template name="tOurDesignersTable"> <xsl:param name="content" /> <!-- quite a very long html block --> <table ...><tr><td><table ...><tr><td> <!-- end of a very long html block --> <xsl:copy-of select="content" /> </xsl:template> and use like: <xsl:call-template name="tOurDesignersTable"> <xsl:with-param name="content"><p><xsl:value-of select="some" /></p></xsl:with-param> </xsl:call-template> Maybe some other ideas exists ??? -- Best regards, viewga mailto:viewga@xxxxxxxxxxxx XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|