Subject: displaying a xml via a xsl
From: "Sébastien Tisserant" <stisserant@xxxxxxxxxxxxxxx>
Date: Mon, 08 Apr 2002 13:46:25 +0200
|
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
|