[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Formatting issues
ms wrote:
Level1 - 1,2,3 etc Aha. Well, just add more templates to my base template. The hierarchy for levels is that level 1 is the parent for level2, level2 is he parent for level3 and so on. i.e. I see. So that part is working. Send your XSLT for where it is not working. Make the smallest possible example that does not work, and add the input, too. Also, add an example of what the output is that you expect. I tried <xsl:number from="level1" format="1"/> Indeed. In your <xsl:template> where you match for "level1", add a variable with one <xsl:number /> instruction in it. That's your counter (see my example). This is my problem. How do I write the XSLT to basically check if previous levels have satisfied the filtering condition This is what my XSLT is about. You can use it for that. Though I assume you will have to use the your own XPath expressions in the matches. and if they have, include them for
Please send what you've got (minimized to your problem domain). Cheers, -- Abel
|
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
|