I am developing a basic LCMS (Learning Content Management System) and I have to import a SCORM compliant lesson in my system for which I have to parse the imsmanifest.xml file and then import all the content basing upon the XML file.
Is there anybody who have done this task? Can you please guide me with sample code or a helpful link?
I am using VB.Net but even C# code will work for me.
Waiting for a quick and positive response
Thanks in Advance,
I think XPath and Linq are the best technologies for you to parse the imsmanifest.xml to do this. You can also use System.IO namespace in C# to implement your project.
Related
We are doing online code editor using monaco editor.
One of the requirement is to provide intellisense, or code auto-complete for java/python language. I searched so many resources, and can not find any useful resource on introduction how to make auto-complete working. some said using language server, but it is really difficult to make it work.
May I ask what is the best way to make auto-complete working for java language? Are there any good material that I can refer? Or can we just use some json files to make auto-complete work as well?
I read LSP4J protocol and I understand the philosophy and solution for language server, but now, my question is how to get data file. In another word, how to create CompleteItem objects and return?
Some resource said we need to build java language AST or Source processor(string processor)? Are there any java library I can use directly?
I don't want to use eclipse here, we need to provide our own service.
Thanks
You can use the Language Server Protocol, as described here for python:
https://stackoverflow.com/a/71349842/10985072
For Java, you can use georgewfraser's java-language-server for example.
I am building a web application in which i will be using another websites services.
That website is asking me to provide it with "the URL of the XML feed". I am unable to understand, what is the URL of the XML feed and how to create a XML feed, as I am new to this.
Any code walkthroughs or articles will be helpfull.
Please help !
It sounds like what is being asked for is an Atom Feed. Building an atom feed in ASP.NET is pretty easy to do yourself, but existing libraries like Atom.NET will make it much easier to get going and will also help you follow the standard as closely as possible.
Hi
I’m trying to develop an E-Paper website using .Net. But At first the content of the website need to grab from the Quark file. What is the procedure to get the content from the Quark file according to the Layout?
So it would be highly appreciated to provide some information regarding this subject.
Thanks…
This is going to be a tough project since the QuarkXpress files are 1) proprietary and therefore are not well documented, and 2) binary so the data is harder to get at. This will require a lot more work than a post on StackOverflow.com can help with.
First, ASP.NET really isn't the right framework for it. At least, you should develop this as a C# or VB code library project which is then consumed by a ASP.NET web application.
In order to parse the file, you might want to start off by reading Reverse engineering the Quark Xpress file format. This forum, Code for QuarkXPress file format support, also seems to have some good information. You will want to use what you learn from those articles to parse the binary and convert it to the proper types or structures. Here on some links on how to parse binary files in C#:
http://www.dotnetperls.com/binaryreader
Read binary file into a struct
http://www.yoda.arachsys.com/csharp/readbinary.html
You may also want to check out this forum posting on How to create dynamic QuarkXPress files in .Net FrameWork C#. It seems that Quark has a C# API for dealing with Quark files if you have QuarkXpress Server.
I am completely new to ASP.NET programming, and was asked to work on a small project involving ASP.NET, VB (which I am new to as well) and Microsoft SQL Server 2005.
Being used to php/java I was hoping to find some kind of similar API to php.net and the javadoc. It would be very useful to have as I would prefer to work with a text editor, instead of using DreamWeaver or Visual Web Developer.
In the project I basically only need to use ASP.NET to read from a SQL 2005 database and write to JSON files. Could anyone please give me some pointers on where to find a clean and decent API to work with? I would also appreciate any input and tips I could get to get started working on this.
I would prefer to work with a text editor, instead of using DreamWeaver or Visual Web Developer.
Imo this is a mistake in .Net. The platform was built with the IDE in mind. You really will be able to get a lot more done, and do it better, if you let yourself learn to use Visual Studio.
That said, the place to look for .Net documentation is, of course, the MSDN Library. Maybe start on this page:
http://msdn.microsoft.com/en-us/library/w0x726c2.aspx
only need to use ASP.NET to read from a SQL 2005 database and write to JSON files
You might want to take a look at ASP.NET MVC.
You controllers can return a JsonReasult which will automatically result in JSON being sent. No need to define any markup.
"Could anyone please give me some
pointers on where to find a clean and
decent API to work with?"
If you want to develop a VB.NET application, you have to use the VB.NET programming language; there are no other APIs available.
Where does javadoc fit into this? That's just markup you apply to your source code to create documentation. .NET has its own system which works in the same way but is built on XML.
As Joel says, Visual Studio has everything you need. It features a visual editor but also gives you access to all the source code.
you will need to have the IDE to develop ASP.Net application. It will be much easier using it. You can find docs and articles on developing on ASP.Net in this site. its a nice one.
https://web.archive.org/web/20211027112438/https://aspnet.4guysfromrolla.com/default.aspx#Tools2
https://web.archive.org/web/20210513213529/http://aspnet.4guysfromrolla.com/articles/042705-1.aspx
https://web.archive.org/web/20210802161558/https://aspnet.4guysfromrolla.com/articles/110905-1.aspx
work on a small project involving ASP.NET, VB (which I am new to as well) and Microsoft SQL Server 2005
It might not be VB, it might be VB.Net?
I'm currently looking at ways to allow people to select multiple files at once to batch upload images. I'm evaluating these options for my ASP.NET web app:
YUI Uploader
Flajaxian
SWFUpload
Dojo Toolkit Multi file uploader
I'm leaning toward YUI because the documentation is clear and I basically already wrote the file uploaders and thumbnailers which Flajaxian provides, the javascript seems more compact too. I can't even begin evaluating Dojo because it's unclear to me how to get the parts that would integrate with .NET out of the PHP examples.
Has anyone had really good or really bad experiences with any of these?
SWFUploader seems to be the best option here. Compact, stylable with CSS, open source on code.google.com .
Thanks for everyone's opinion but I ended up using YUI Uploader because that's what flickr uses and the project spec was basically an analysis of flickr's features.
The experience of using it was essentially excellent, and being able to compare it to what flickr did was also helpful.
Look at this one too. It's free.
http://www.codeproject.com/KB/aspnet/FlashUpload.aspx
I'm using it in an application I'm developing for uploading multiple music files. The author provides the source code as a VS 2008 project and the source Flash/Flex file. Works like a charm.