XProc and XML entities
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 87
- Joined: Fri Dec 19, 2003 6:02 pm
XProc and XML entities
Hi,
I have an XSLT2 stylesheet which uses xsl:character-map to explicitly encode some whitespaces as  
When I include this stylesheet into an XProc pipeline in oXygen, the XML entities are resolved.
Is there a way to control the resolution of XML entities in XProc using oXygen?
All best,
Toma
I have an XSLT2 stylesheet which uses xsl:character-map to explicitly encode some whitespaces as  
When I include this stylesheet into an XProc pipeline in oXygen, the XML entities are resolved.
Is there a way to control the resolution of XML entities in XProc using oXygen?
All best,
Toma
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: XProc and XML entities
Hi Toma,
http://xmlcalabash.com/
In my opinion any XSLT-based processing expands XML entities and this cannot be controlled as XSLT-based processing was not really made for refactoring purposes. If you want you can register on the Calabash "xproc-dev" list and ask around.
Oxygen does have XML refactor operations which allow you to apply an XSLT or XQuery over an XML document's contents and preserve the XML DOCTYPE and entity references:
https://www.oxygenxml.com/doc/versions/ ... tools.html
We do this by first escaping the entity references in the XML, then apply the XSLT and then unescaping them.
Regards,
Radu
Oxygen comes bundled with the Calabash XProc processor:Is there a way to control the resolution of XML entities in XProc using oXygen?
http://xmlcalabash.com/
In my opinion any XSLT-based processing expands XML entities and this cannot be controlled as XSLT-based processing was not really made for refactoring purposes. If you want you can register on the Calabash "xproc-dev" list and ask around.
Oxygen does have XML refactor operations which allow you to apply an XSLT or XQuery over an XML document's contents and preserve the XML DOCTYPE and entity references:
https://www.oxygenxml.com/doc/versions/ ... tools.html
We do this by first escaping the entity references in the XML, then apply the XSLT and then unescaping them.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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