element structure is not serialized in <xsl:message> in XSLT debugger
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
element structure is not serialized in <xsl:message> in XSLT debugger
Post by chrispitude »
I am trying to show some element structures in <xsl:message> statements in my stylesheet. For example,
Given the following input document:
If I run this as a typical refactoring operation (Tools > XML Refactoring), the element structure is serialized:
If I run this in the XSLT debugger, the element structure is omitted and only the text content is serialized:
Is this expected behavior or a bug? Here is a testcase:
Thanks!
Code: Select all
<xsl:template match="*">
<xsl:message>ELEMENT: <xsl:sequence select="."/></xsl:message>
<xsl:next-match/>
</xsl:template>
Code: Select all
<topic id="topic">
<title>My Topic</title>
<prolog>
<author role="owner">chrispy</author>
</prolog>
<body>
<p>This is some <b>bold</b> text.</p>
</body>
</topic>
image.png
If I run this in the XSLT debugger, the element structure is omitted and only the text content is serialized:
image.png
Is this expected behavior or a bug? Here is a testcase:
oxygen_xslt_sequence_in_message.zip
Thanks!
You do not have the required permissions to view the files attached to this post.
-
- Posts: 388
- Joined: Thu Jul 01, 2004 12:29 pm
Re: element structure is not serialized in <xsl:message> in XSLT debugger
Hello,
Thanks for your feedback.
Yes, it seems that in the XSLT Debugger the element structure is omitted and only the text content is serialized. I added an issue on our issue tracker to analyze this situation. When this will be fixed we will update this thread,
Best Regards,
Octavian
Thanks for your feedback.
Yes, it seems that in the XSLT Debugger the element structure is omitted and only the text content is serialized. I added an issue on our issue tracker to analyze this situation. When this will be fixed we will update this thread,
Best Regards,
Octavian
Octavian Nadolu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 143
- Joined: Tue Mar 25, 2003 11:21 am
Re: element structure is not serialized in <xsl:message> in XSLT debugger
Hello,
The fix for the problem you reported is now available in the new Oxygen 27.0.
The new kits can be downloaded here: https://www.oxygenxml.com/download.html
Regards,
Mircea.
The fix for the problem you reported is now available in the new Oxygen 27.0.
The new kits can be downloaded here: https://www.oxygenxml.com/download.html
Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Return to “General XML Questions”
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