HTML end tags are not generated for non mandatory HTML items
Having trouble installing Oxygen? Got a bug to report? Post it all here.
HTML end tags are not generated for non mandatory HTML items
Post by M Philip »
Hello there
I seem to be having a slight problem with a simple xslt transformation. I notice the following when I parse one of my xml files (using the oxygen transformation buttons):
<xsl:element name="input">
<xsl:attribute name="value">
<xsl:value-of select="@name"/>
</xsl:attribute>
</xsl:element>
produces
<input value="XXX">
while
<xsl:element name="randomname">
<xsl:attribute name="value">
<xsl:value-of select="@name"/>
</xsl:attribute>
</xsl:element>
produces
<randomname value="XXX"></randomname>
My problem is that the transformation of "HTML" tag names do not result in valid XHTML. I.o.w. where is the ending </input> tag? It also does this when I use <xsl:element name="img"> and probably some other HTML tags that do not have mandatory ending tags
Is there a solution to this? Thanks in advance
I seem to be having a slight problem with a simple xslt transformation. I notice the following when I parse one of my xml files (using the oxygen transformation buttons):
<xsl:element name="input">
<xsl:attribute name="value">
<xsl:value-of select="@name"/>
</xsl:attribute>
</xsl:element>
produces
<input value="XXX">
while
<xsl:element name="randomname">
<xsl:attribute name="value">
<xsl:value-of select="@name"/>
</xsl:attribute>
</xsl:element>
produces
<randomname value="XXX"></randomname>
My problem is that the transformation of "HTML" tag names do not result in valid XHTML. I.o.w. where is the ending </input> tag? It also does this when I use <xsl:element name="img"> and probably some other HTML tags that do not have mandatory ending tags
Is there a solution to this? Thanks in advance
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service