显示标签为“XML”的博文。显示所有博文
显示标签为“XML”的博文。显示所有博文

2007年11月13日星期二

Transform XML and apply XSLT in C#

I searched the internet and found two articles:
first from MSDN
using System;
using System.Xml;
using System.Xml.Xsl;
namespace XSLTransformation
{
/// Summary description for Class1.
class Class1
{
static void Main(string[] args)
{
XslTransform myXslTransform;
myXslTransform = new XslTransform();
myXslTransform.Load("books.xsl");
myXslTransform.Transform("books.xml", "ISBNBookList.xml");

}
}
}


The second is from CodeProject

This one is long and you should check it yourself.

2007年11月5日星期一

openlaszlo - 有一个开源网页开发平台

http://www.openlaszlo.org/
OpenLaszlo is the leading open source platform for the development and delivery of rich Internet applications on the World Wide Web.


image
Cinematic user experience™

Applications developed on OpenLaszlo provide a dramatically improved online user experience featuring advanced interfaces delivered on a single Web page. By bringing true application behavior to the Web, OpenLaszlo makes a new generation of online communications, commerce and content services viable for the first time. (more...)


image
Rapid XML development approach

OpenLaszlo applications are written in LZX, a standards-driven XML and JavaScript description language that enables a declarative, text-based development process. LZX supports rapid prototyping, collaborative software development and long term code maintenance. (more...)


image
Scalable deployment architecture

Depending on requirements, OpenLaszlo applications can be deployed either SOLO (Standalone OpenLaszlo Output) or from the OpenLaszlo Server. SOLO deployment supports most use cases and works from any HTTP Web server. OpenLaszlo Server deployment supports additional data integration options, persistent connections and run-time media transcoding. The OpenLaszlo server is Java-based and works with leading J2EE application servers and Java Servlet Containers. OpenLaszlo's standards-based architecture delivers exceptional reliability and scalability, proven in deployments serving millions of users to date. (more...)


Benefits

  • Develop standards-based rich Internet Applications that support any web browser with a single code base in XML and JavaScript

  • Deploy them from any HTTP Web server in SOLO mode, or from a J2EE application server or Java servlet container running the OpenLaszlo Server under Linux, UNIX, Windows or Mac OS X

  • Display them in any Web browser enabled with the Flash 6 Player or above, reaching 96% of all Web-enabled desktops

2007年5月24日星期四

Arabica - an XML parser toolkit written in C++ (SAX in C++)

http://www.jezuk.co.uk/cgi-bin/view/SAX
用C++语言编写的XML解析器

Arabica is an XML parser toolkit, providing SAX2, DOM and XPath implementations, written in Standard C++.

SAX is an event-based XML processing API. Arabica is a full SAX2 implementation, including the optional interfaces and helper classes. It provides uniform SAX2 wrappers for the expat parser, Xerces, libxml and, on Windows, for the Microsoft XML parser.

The DOM is a platform- and language-neutral interface which models an XML document as a tree of nodes, defined by the W3C. Arabica implements the DOM Level 2 Core on top of the SAX layer.

XPath is a language for addressing parts of an XML document. Arabica implements XPath 1.0 over its DOM implementation.

Arabica is written in Standard C++ and should be portable to most platforms. It is parameterised on string type. Out of the box, it can provide UTF-8 encoded std::strings or UTF-16 encoded std::wstrings, but can easily be customised for arbitrary string types.

Arabica is available for download under a BSD-style license.

2007年5月21日星期一

James Clark's Home Page - Something about XML

James Clark的个人主页上有一些关于XML的链接,包括一个XML Parser和用来测试XML Parser的标准XML文件集合。

XML Resources

TREX, a new, simple schema language for XML

The specification of a subset of XML called Canonical XML for use in testing XML parsers.

A collection of test cases for testing XML parsers. The valid test cases in the collection include the corresponding canonical XML.

A Java program XMLTest which generates canonical XML. This uses David Megginson's SAX API, and can be used with any parser which has a SAX driver.

XP, a high-performance XML parser in Java

Expat (XML Parser Toolkit), a library for XML parsing in C. This is the parser being used to add XML support to Netscape 5 and Perl. There are answers to some frequently asked questions about expat. There's also a useful article on expat at XML.com.

SP, which has enhanced XML support in version 1.3 both for parsing XML and for converting SGML to XML.

XT is an implementation in Java of XSL Transformations (XSLT).

XSLT in Perspective, slides for a talk on XSLT (collected into a single HTML page).

XML Namespaces, an explanation of the XML Namespaces Recommendation.