<xsl:text> </xsl:text> gets <xsl:text/>
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Fri Aug 15, 2003 5:13 pm
- Location: Haarlem, Netherlands
- Contact:
<xsl:text> </xsl:text> gets <xsl:text/>
Hi all,
I'm having the problem that, when using <xsl:text> </xsl:text> (to put a space in the text) and click the format and indent button, my tags get changed to <xsl:text/>, so I lose my space! Anything to do about it? Thanks!
Patrick
I'm having the problem that, when using <xsl:text> </xsl:text> (to put a space in the text) and click the format and indent button, my tags get changed to <xsl:text/>, so I lose my space! Anything to do about it? Thanks!
Patrick
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
You can use
or
Best Regards,
George
You can use
Code: Select all
<xsl:text xml:space="preserve"> </xsl:text>
Code: Select all
<xsl:text><![CDATA[ ]]></xsl:text>
George
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
Hi,
There may be cases when you want to use xsl:text and not preserve the spaces, for instance if you edit an XSLT to output HTML and you have a large text content for xsl:text.
We have an entry on bugzilla to allow the user to edit a list of elements that should be treated as if they have an xml:space="preserve" attribute, that is preserve the spaces for a defined lis of elements.
Best Regards,
George
There may be cases when you want to use xsl:text and not preserve the spaces, for instance if you edit an XSLT to output HTML and you have a large text content for xsl:text.
We have an entry on bugzilla to allow the user to edit a list of elements that should be treated as if they have an xml:space="preserve" attribute, that is preserve the spaces for a defined lis of elements.
Best Regards,
George
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