Subject: Re: [xsl] Yet Another Flat File to Hierarchy question.. From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Thu, 13 Jun 2002 13:22:43 -0400 |
Cheers, Wendell
My problem is this. My sttributes are numerical depicting the depth the tag should be placed at, e.g.:
<p style="1">Top Level Heading</p> <p style="2">Sub Heading 1</p> <p style="2">Sub heading 2</p> <p style="3">Sub Heading 3</p> <p style="4">Sub Heading 4</p> <p style="1">Another Heading</p>
I can get this to work fine by adapting the key definitions in Jeni's algorithm. However, in the application that I am using this, I do not necessarily know in advance the maximum and minimum level value. I have implemented a min and max function to retrieve these values, but I need to generate the key look-up tables based on these values. Is this possible? and if so does anyone have an idea as to how to do it?
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XPATH as parameter, Michael Kay | Thread | RE: [xsl] Yet Another Flat File to , Paul Bunkham |
RE: AW: [xsl] Problem parsing cp125, Américo Albuquerque | Date | [xsl] Re: Unwrapping trees, Dimitre Novatchev |
Month |