Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Allowing mis-matched tags (non-well-formed XML) [Thread Next] Re: Allowing mis-matched tags (non-well-formed XML)To: NULL Date: 4/17/2007 4:20:00 PM
nadahalli@g... schrieb:
> I have an XSL file that has something like this:
>
> <xsl:if test-condition1>
> <body attribute1 attribute2>
> </xsl:if>
> <xsl:if test-condition2>
> <body attribute3 attribute4>
> </xsl:if>
> [[[BODY CONTENT]]]
> </body>
Something like:
<body>
<xsl:if test="test-condition1">
<xsl:attribute name="attribute1">...</xsl:attribute>
<xsl:attribute name="attribute2">...</xsl:attribute>
</xsl:if>
<xsl:if test="test-condition2">
<xsl:attribute name="attribute3">...</xsl:attribute>
<xsl:attribute name="attribute4">...</xsl:attribute>
</xsl:if>
[[[BODY CONTENT]]]
</body>
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
