xsl-list
[Top] [All Lists]

Re: Indendation(in HTML) corresposing to the heirarchy in an XML Doc.

2003-06-23 17:14:37
Hey All-

I converted my XML to HTML using an XSLT Style Sheet. Is there a way to
indent my resulting HTML corresponding to the heirarchal structure like that
of the orig. XML? Also, is there a way to put a small icon next to it?

My 'inputs' look like this when i converted to HTML:

        Inputs:

             id;getImage;binField;contractName;packageName;

This is how I want them to look like:

        Inputs
            <icon>id
            <icon>binField
            <icon>anotherContainer
                <icon>contractName
                        <icon>getImage
                <icon>packageName
               .   .
               .   .

The XML is a normal XML which follows this tag heirarchy. Thank you in
advance.

Ahsan Hussein






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



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