|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: xsl:for-each question
Michael Olszynski wrote: Thank you very much, you´re right. I´m yet not really in the thinking of templates. I still try to "program" my xslt like I´m used to do it with Java-Programs. How about using a list instead of a table and let (X)HTML do the formatting for you like: * point1
o subpoint1.1
+ subsubpoint1.1.1
# subsubpoint1.1.1.1
o subpoint1.2
* point2
* point3
* point4
test.xsl: =============================== <?xml version="1.0"?> <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:template match="/">
<html><head></head><body>
<ul>
<xsl:apply-templates/>
</ul>
</body></html>
</xsl:template>
<xsl:template match="@*|text()"/> </xsl:transform> -- Manos Batsis _ __ __ __ / |/ /__ / /____ __ _ ___ _____/ /_ / / -_) __(_-</ ' Y _ `/ __/ __/ /_/|_/\__/\__/___/_/_/_|_,_/_/ \__/ http://www.netsmart.gr mbatsis at netsmart dot gr (+30) 210 33 02 608 (+30) 210 33 02 658 http://forte.netsmart.gr/foaf/manos_foaf.rdf 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
|

Cart








