How to execute XSLT code outside Oxygen
Here should go questions about transforming XML with XSLT and FOP.
How to execute XSLT code outside Oxygen
Hi
I have written XSLT code to convert XML files in Oxygen. I need to use the code by calling it from a VB code.
Is there a command to use or a way to convert the XSLT code to an executable object. I am totally new to XSLT and I need some detailed guidence on how to do it.
Thanks
Krishnan.
I have written XSLT code to convert XML files in Oxygen. I need to use the code by calling it from a VB code.
Is there a command to use or a way to convert the XSLT code to an executable object. I am totally new to XSLT and I need some detailed guidence on how to do it.
Thanks
Krishnan.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: How to execute XSLT code outside Oxygen
Post by sorin_ristache »
Hello,
Oxygen provides support for applying an XSLT transformation to an XML file by defining and running a transformation scenario but the transformation or the scenario cannot be converted to an executable object. We do not know how to apply the transformation in Visual Basic.
Regards,
Sorin
Oxygen provides support for applying an XSLT transformation to an XML file by defining and running a transformation scenario but the transformation or the scenario cannot be converted to an executable object. We do not know how to apply the transformation in Visual Basic.
Regards,
Sorin
-
- Posts: 14
- Joined: Tue Feb 10, 2009 1:50 pm
Re: How to execute XSLT code outside Oxygen
Post by JohnBampton »
a simple google search will provide you will the results
Re: How to execute XSLT code outside Oxygen
Hey Krishna,
Do have a look at the link below which suggests how to link the xml and stylesheet and then view the output.
http://www.w3schools.com/xsl/xsl_transformation.asp
Cheers and Good Luck!
Sandeep
Do have a look at the link below which suggests how to link the xml and stylesheet and then view the output.
http://www.w3schools.com/xsl/xsl_transformation.asp
Cheers and Good Luck!
Sandeep
Re: How to execute XSLT code outside Oxygen
It kind of depends on what XSLT processor you want to use. If you're using Saxon, that's a Java app and you can run it from the command line when you have a JRE/JDK installed. I have a batch file that runs a custom XSLT stylesheet. Here are the relevant parts of it with some comments added:
Hope this helps a bit.
Code: Select all
REM Path to Saxon:
SET SAXON_HOME=C:\j2sdk1.4.2_19\saxon
REM Path to Java (%JAVA_HOME is Windows environment variable)
SET JAVA_BIN_HOME=%JAVA_HOME%\bin
"%JAVA_BIN_HOME%\java" -cp "%SAXON_HOME%\saxon.jar" com.icl.saxon.StyleSheet ../../../src/help.xml ../../my_stylesheet.xsl
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