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

Subject: [xsl] Re: Indendation(in HTML) corresposing to the heirarchy in an XML Doc.
From: "Ahsan" <ahsan_hussain@xxxxxxxxxxxxx>
Date: Mon, 23 Jun 2003 17:14:37 -0700
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


Current Thread