|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Re: Maintaining Heirarchy and using Recursion to w
Hi,
> I don't know the number of <HSDataContainerType> tags i could
> inside one
> another. I am trying to display the output (HTML) thru my XSL like:
>
> DataContainer_1
> integerField_1
> decimalField_1
> dateField_1
> DataContainer_1_1
> textField_1_1
> integerField_1_1
> DataContainer_1_1_1
> textField_1_1_1
> integerField_1_1_1
<xsl:template match="HSContract">
<html>
<head>
<title/>
</head>
<body>
<xsl:apply-templates select="*"/>
</body>
</html>
</xsl:template>
<xsl:template match="HSDataContainerType">
<div>
<xsl:value-of select="@name"/>
</div>
<div style="margin-left: 4em;">
<xsl:apply-templates select="*"/>
</div>
</xsl:template>
<xsl:template match="*">
<div>
<xsl:value-of select="@name"/>
</div>
</xsl:template>
Cheers,
Jarno - SITD: Laughingstock
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








