Using the MSXML processor.
Questions about XML that are not covered by the other forums should go here.
Hi Patrick,
We support MSXSL for transformations. We will add probably support for MSXML for validation in the future.
Right now there is a workaround to use it through the external tools support. For instance you can configure a command line to invoke the msxsl.exe on a source document and request validation of that source document and apply a stylesheet that vrites success if applied, like the one below:
Assuming for instance that the stylesheet above is named msxml.xsl and is placed in the oXygen home folder that is set to E:\workspace\oXygen\ then the command line for the external tool can look like:
E:\workspace\oXygen\msxsl.exe ${cf} E:\workspace\oXygen\msxml.xsl -v
The {cf} macro will be expaded at runtime to the currently selected file. Also you must save the file before applying the external tool as that will see the file on disk not the one in memory.
Best Regards,
George
We support MSXSL for transformations. We will add probably support for MSXML for validation in the future.
Right now there is a workaround to use it through the external tools support. For instance you can configure a command line to invoke the msxsl.exe on a source document and request validation of that source document and apply a stylesheet that vrites success if applied, like the one below:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="text"/>
<xsl:template match="/">
Success!
</xsl:template>
</xsl:stylesheet>
E:\workspace\oXygen\msxsl.exe ${cf} E:\workspace\oXygen\msxml.xsl -v
The {cf} macro will be expaded at runtime to the currently selected file. Also you must save the file before applying the external tool as that will see the file on disk not the one in memory.
Best Regards,
George
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