This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

displaying a xml via a xsl


hello

i have a one-line-displayed xml

and i would like it to displayed in html with indentation and and return-to-next-line like this one

<element1 attr1="rir">
    <element2 attr2="fgfg">fdgfdg</element2>
    <element2>fdgfdg</element2>
    <element2>fdgfdg</element2>
        <element3>fdgfdg</element3>
        <element3 attr4="fgdgdg">fdgfdg</element3>
    <element2 attr9="dfssdf">fdgfdg</element2>
</element1>

could you help me doing this this via XSL ?
specially how to incremente or decremente the indentation blank

thanks.

Sébastien


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]