Is there a .NET library or tool available for interacting with DITA content?

StackOverflow https://stackoverflow.com/questions/4026399

  •  26-09-2019
  •  | 
  •  

문제

We are integrating documentation authored according to DITA. The DITA Open Toolkit processes all files using java whereas we are looking for a solution that allows us to work with the DITA content on the fly from a C#-based application.

Does anyone know of any .NET projects that are written to work with DITA maps and content?

도움이 되었습니까?

해결책

I don't believe there are any Microsoft-made DITA libraries available for .NET.

There was a paper written for SIGDOC 2008 called "Pragmatic DITA on a budget" that refers to generating DITA content from commented C# code. A PDF is available here. This probably isn't quite what you're looking for, but it could be useful... It might be worth getting in touch with the author about this project.

다른 팁

It's not the cleanest solution in the world, but you could call the DITA Open Toolkit command line tools through Process. If you do it right, you can suppress the console window and the user won't know the difference.

You could use a tool like IKVM to turn the java toolkit jars into .net assemblies and then use the toolkit from there.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top