testing xalan transforms with internal lookups
Here should go questions about transforming XML with XSLT and FOP.
-
- Posts: 2
- Joined: Wed May 08, 2013 1:49 am
testing xalan transforms with internal lookups
We have java code that does some lookups within the stylesheet transformations, which is something allowed by xalan.
It looks rather like this:
xmlns:xalan="http://xml.apache.org/xalan"
xmlns:lookupHandler="HandlerLookup"
extension-element-prefixes="lookupHandler">
<xalan:component prefix="lookupHandler" functions="performLookup">
<xalan:script lang="javaclass" src="xalan://com.ge.hcit.xje.lookup.LookupHandlerFactory" />
</xalan:component>
I don't have the java code on my computer where I am running Oxygen. I have tried to set up to run it remotely from the server where it exists but haven't been able to get that to work. Should I be able to do this and can you give instructions on exactly where in Oxygen to set it up. Otherwise, i have to spend a bunch of time redoing the transformations to do the lookups from a local file.
It looks rather like this:
xmlns:xalan="http://xml.apache.org/xalan"
xmlns:lookupHandler="HandlerLookup"
extension-element-prefixes="lookupHandler">
<xalan:component prefix="lookupHandler" functions="performLookup">
<xalan:script lang="javaclass" src="xalan://com.ge.hcit.xje.lookup.LookupHandlerFactory" />
</xalan:component>
I don't have the java code on my computer where I am running Oxygen. I have tried to set up to run it remotely from the server where it exists but haven't been able to get that to work. Should I be able to do this and can you give instructions on exactly where in Oxygen to set it up. Otherwise, i have to spend a bunch of time redoing the transformations to do the lookups from a local file.
-
- Posts: 2883
- Joined: Tue May 17, 2005 4:01 pm
Re: testing xalan transforms with internal lookups
Hello,
If you want to set this up in Oxygen, you will need the compiled Java classes (or jar libraries) with the LookupHandlerFactory implementation. When configuring the transformation scenario (Document -> Transformation -> "Configure Transformation Scenario(s)", Edit), press the Extensions button (below the Transformer combo) and you can add the classes folder and/or the jar libraries there. The jars could be even located remotely (HTTP/WebDAV), but they will be run locally.
Regards,
Adrian
If you want to set this up in Oxygen, you will need the compiled Java classes (or jar libraries) with the LookupHandlerFactory implementation. When configuring the transformation scenario (Document -> Transformation -> "Configure Transformation Scenario(s)", Edit), press the Extensions button (below the Transformer combo) and you can add the classes folder and/or the jar libraries there. The jars could be even located remotely (HTTP/WebDAV), but they will be run locally.
Regards,
Adrian
Adrian Buza
<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
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