Search Results for ""


The Use of XPointers

The URLs which has been using traditionally are simple and easy but those are quite limited a URL points at a complete single document, it is like linking to the third sentence in a seventeenth paragraph in a document this can be done if the author of the document has written access to the document being linked to, though the author does the linking it can insert named anchors into the targeted document so it is almost inconvenient always,  Xpointer defines an addressing scheme for individual parts of an XML document. And application that needs

Xml data binding overview.

There is a full introduction to XML data binding which has been done by Boris Kolpackov. He describes the difficulties experienced in both DOM and SAX when handling a large XML document since both of them are XML structure representations operating in attributes, text and generic elements. A bridging code is often written down by an application developer which allows for the functionality of identification and transformation of XML information to a more suitable representation for  the purpose of consumption by the application

Manipulation of an XML document.

Simon sprott  who is the author of this article gives us an insight into xml data binding. His article describes how XML data binding guides in managing Xml documents using a collection of simple objects. An XML schema is used for formulation of the rules to define its shape. Generally, an XML document can be read into an XML library and manipulated through simple get and set methods in programming. Similarly, the converse is true. i. e XML data binding library can be the source. This means that a document can be created and serialized as an

How to easily port XML to C++ code

Let's suppose that you have an XML document and you need to process its data in a compiling language, such as C or C++. In such a case, you would have to create a program that would automatically parse the requested documents, basing on their structure. XSD from CodeSynthesis comes to help the programmer work with XML data structures by automating the process of creation of code by creating the required C++ classes from an XML instance specification file. By using CodeSynthesis XSD, you can easily create programs that work directly

XForms: the classical form, in a new way

Forms are a part of our lives. They are used day by day in the ordinary life, but online they have a special place. They are the primary way of collecting information, being used for search engines, polls, surveys, electronic commerce, and even on-line applications. Every type of user-interaction on-line is done through web-forms of some sort. However, this technology is already showing it's age. Being created 5 years before XML, it has limitations, that make developer's and user's lives harder. Among them are: As forms are older than XML,

How to encrypt data in XML files

XML Encryption is a new standard defined by W3C, which defines the encryption of data, afterwards representing it as XML. It can encrypt virtually any type of data, including arbitrary data, an XML element and an XML element content. The result of the data encryption is an XML document, which contains the encrypted data or a link to it. It has been called XML encryption or XML-enc because an XML element refers to or contains the cipher text, keyring information and the algorithms used for encrypting the data. For deciphering the encrypted data, XML

XML-Signature Requirements:

Abstract: This document lists the design principles, scope, and requirements for the XML Digital Signature specification. It includes requirements as they relate to the signature syntax, data model, format, cryptographic processing, and external requirements and coordination. Status of this document: This Working Draft of XML Signature Requirements is a very stable result of this Working Draft having been advanced through W3C Last Call. Relatively small changes have been made to clarify the stated requirements during that period. This document will

Three Types of XML Signature:

The W3C recommendation allows any digital data to be signed, and this includes an XML document, an XML element of a document, and the content of an XML element as particular cases. When we talk about an XML signature, we are actually referring to an XML document, which contains the Signature (defined in the namespace http://www.w3.org/2000/09/XMLdsig#) as one element (which may be the root element). But the document may also contain other elements, among which the most important are, of course, the original data objects being signed. Depending on

Addressing with XPointer

XPointer allows you to walk the tree of nodes that an XML document is comprised of to address a specific node or nodes. XPointer expands the syntax set forth by XPath to provide a means of creating fragment identifiers, which are used to specify parts of documents. XPointer provides considerably more control over the referencing of XML document data than the hyperlink approach employed by HTML. For example, XPointer allows you to do things such as address an element with a given value within a list of elements of a given type. You use XPointer

Technology Reports of XML and Encryption:

The World Wide Web Consortium (W3C) has announced the publication of XML Encryption Syntax and Processing and Decryption Transform for XML Signature as W3C Recommendations, signifying a "cross-industry agreement on an XML-based approach for securing XML data in a document. A W3C Recommendation indicates that a specification is stable, contributes to Web interoperability, and has been reviewed by the W3C Membership, who favor its widespread adoption." The Encryption document "specifies a process for encrypting data and representing the result in XML. The

XML as a Datasource for Framework 2.0

There have been a lot of questions going around about XML and .Net Framework 2.0. Jesse Liberty attempts to answer some of them in his article on the subject: ".NET 2.0 pushes most of ADO.NET into the frameworks level, and provides you with various DataSource controls to make accessing data easy. With the XML DataSource control, you can bind to an XML document just as easily as you bind to tables in a database. If the XML document you load is hierarchical, the data is exposed hierarchically, which makes it ideal to map an XML document to a TreeView

Connecting CSS and XML

"There are three ways to connect a CSS style sheet with HTML: You can use an internal style sheet, you can use an external style sheet, or you can use the HTML STYLE attribute to associate a CSS style with a particular HTML element. You don't have the luxury of these options in XML, at least not with the current crop of browsers. At this point, there's really only one way of connecting a style sheet to an XML document: by using the <?xml-stylesheet?> processing instruction. Actually, <?xml-stylesheet?> isn't built in to the XML

Introduction to XML Data Binding in C++

Boris Kolpackov put together a full introduction to XML Data Binding in C++: "Anyone who has had to handle a large XML vocabulary using DOM or SAX can attest that the task is hardly enjoyable. After all, both DOM and SAX are raw representations of the XML structure, operating in generic elements, attributes, and text. An application developer often has to write a substantial amount of bridging code that identifies and transforms pieces of information encoded in XML to a representation more suitable for consumption by the application

XML Encryption Syntax and Processing

This document specifies a process for encrypting data and representing the result in XML. The data may be arbitrary data (including an XML document), an XML element, or XML element content. The result of encrypting data is an XML Encryption element which contains or references the cipher data.This document is the W3C XML Encryption Recommendation (REC). This document has been reviewed by W3C Members and other interested parties and has been endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or

How XForms Works

Forms are for collecting data, so it's not surprising that the most important concept in XForms is "instance data", an internal representation of the data mapped to the familiar "form controls". Instance data is based on XML and defined in terms of XPath's internal tree representation and processing of XML. It might seem strange at first to associate XPath and XForms. XPath is best known as the common layer between XSLT and XPointer, not as a foundation for web forms. As XForms evolved, however, it became apparent that forms needed greater structure

An Introduction to XML Data Binding in C++

XML processing has become a common task that many C++ application developers have to deal with. Using low-level XML access APIs such as DOM and SAX is tedious and error-prone, especially for large XML vocabularies. XML Data Binding is a new alternative which automates much of the task by presenting the information stored in XML as a statically-typed, vocabulary-specific object model. This article introduces XML Data Binding and shows how it can simplify XML processing in C++. Introduction A typical C++ application that has to manipulate the data

An Introduction to XML Data Binding in C++

Summary XML processing has become a common task that many C++ application developers have to deal with. Using low-level XML access APIs such as DOM and SAX is tedious and error-prone, especially for large XML vocabularies. XML Data Binding is a new alternative which automates much of the task by presenting the information stored in XML as a statically-typed, vocabulary-specific object model. This article introduces XML Data Binding and shows how it can simplify XML processing in C++. Introduction A typical C++ application that has to manipulate the

Data Binding in Laszlo - Lessons for JDNC

For the past two months or so, I've been working with some of the JDNC developers on the databinding problem. After some false starts, the approach we've taken is to define "data aware" components and some special encapsulation classes for relational data. The overall goal is to make forms and master/detail applications relatively easy to build by automating most of the donkey work involved in interconnecting data sources with Swing GUI components and their attendant data and selection models. All in all not a terribly novel quest, however it's an

Data Binding Using W3C XML Schema Annotations

Abstract Mapping XML Schemas to class definitions and relational schemas allows for seamless marshaling and unmarshaling of an object's state to and from XML documents. W3C XML Schemas provide a rich set of datatypes and validity rules, both built-in, and user definable. It is possible to map data structures defined in a Schema document to data structures in object oriented languages and relational databases. This paper presents approaches to automating such mapping. In simple cases, a Schema document can be generated based on a class definition,

XML Data Binding with Castor

In this article, we will walk through marshalling data to and from XML, using a XML data-binding API. The first question is, why? Why not use SAX or DOM? Personally, when I sit down to work with XML, I get frustrated with the amount of code that you need to write to do simple things. I came across JDOM and found it to be something I was looking for. DOM is built to be language-agnostic, and hence doesn't feel very "Java-like." JDOM does a great job in being DOM, in a way I would like to use it in Java. For some applications, I don't want to even

XML data binding

XML data binding refers to the process of representing the information in an XML document as an object in computer memory. This allows applications to access the data in the XML from the object rather than using the DOM to retrieve the data from a direct representation of the XML itself. An XML data binder accomplishes this by creating a mapping between elements of the XML schema of the document we wish to bind and members of a class to be represented in memory. When this process is applied to convert an XML document to an object, it is called

Web Services Platform Elements

Web Services have three basic platform elements. These are called SOAP, WSDL and UDDI. What is SOAP? The basic Web services platform is XML plus HTTP. * SOAP stands for Simple Object Access Protocol * SOAP is a communication protocol * SOAP is for communication between applications * SOAP is a format for sending messages * SOAP is designed to communicate via Internet * SOAP is platform independent * SOAP is language independent * SOAP is based on XML * SOAP is simple and extensible * SOAP allows you to get around firewalls * SOAP

Differences from HTML forms

Unlike the original HTML forms, the creators of XForms have used a Model-View-Controller approach. The "model" consists of one or more XForms models describing form data, constraints upon that data, and submissions. The "view" describes what controls appear in the form, how they are grouped together, and what data they are bound to. CSS can be used to describe a form's appearance. An XForms document can be as simple as an HTML form (by only specifying the submission element in the model section, and placing the controls in the body), but XForms

Introduction To XForms

XForms is the next generation of HTML forms. XForms uses XML to create input forms on the Web. What You Should Already Know Before you continue you should have a basic understanding of the following: * HTML * HTML Forms * XHTML * XML If you want to study these subjects first, find the tutorials on our Home Page. What Is XForms? * XForms is the next generation of HTML forms * XForms is richer and more flexible than HTML forms * XForms will be the forms standard in XHTML 2.0 * XForms is platform and device independent * XForms

XForms Model

The XForms model defines a template for the data to be collected in a form. The XForms Framework The purpose of an HTML form is to collect data. XForms has the same purpose. With XForms, input data is described in two different parts: * The XForm model (to describe the data and the logic) * The XForm user interface (to display and input the data) The XForms model defines what the form is, what data it contains, and what it should do. The XForms user interface defines the input fields and how they should be displayed. The XForms

Is XML a Database?

Before we start talking about XML and databases, we need to answer a question that occurs to many people: "Is XML a database?" An XML document is a database only in the strictest sense of the term. That is, it is a collection of data. In many ways, this makes it no different from any other file -- after all, all files contain data of some sort. As a "database" format, XML has some advantages. For example, it is self-describing (the markup describes the structure and type names of the data, although not the semantics), it is portable (Unicode), and it

XLink Concepts

This section describes the terms and concepts that are essential to understanding XLink, without discussing the syntax used to create XLink constructs. A few additional terms are introduced in later parts of this specification. 2.1 Links and Resources [Definition: An XLink link is an explicit relationship between resources or portions of resources.] [Definition: It is made explicit by an XLink linking element, which is an XLink-conforming XML element that asserts the existence of a link.] There are six XLink elements; only two of them are considered

Using Castor XML

Introduction Castor XML is an XML databinding framework. Unlike the two main XML APIs, DOM (Document Object Model) and SAX (Simple API for XML) which deal with the structure of an XML document, Castor enables one to deal with the data defined in an XML document through an object model which represents that data. Castor XML can marshal almost any "bean-like" Java Object to and from XML. In most cases the marshalling framework uses a set of ClassDescriptors and FieldDescriptors to describe how an Object should be marshalled and unmarshalled from

XML Namespaces

The XML Namespaces Recommendation seems to be causing a great deal of confusion. This note attempts an alternative explanation of the mechanism described in the Recommendation which I hope will be less confusing. In the data model implied by XML, an XML document contains a tree of elements. Each element has an element type name (sometimes called the tag name) and a set of attributes; each attribute consists of a name and a value. Applications typically make use of the element type name and attributes of an element in determining how to process the

Build an XML-based Tree Control with JavaScript

Tree controls provide a hierarchical view of data and XML provides a way to structure data hierarchically, so viewing XML data as a tree structure is a natural fit. But browsers don't provide a tree control. Instead, use this mix of XML, XSLT, JavaScript, and CSS to produce an extensible HTML tree control. After writing the Build an Object-Oriented Tree Control Using JavaScript article, it occurred to me that using XML as the data source for the tree would be a natural fit. I wanted to create a solution that was both maintainable and extensible. That

Securing Web services for Version 5.x applications using XML encryption

XML encryption is one method that WebSphere Application Server provides to secure your Web services. It enables you to encrypt an XML element, the content of an XML element, or arbitrary data such as an XML document. Before you begin Important: There is an important distinction between Version 5.x and Version 6 and later applications. The information in this article supports Version 5.x applications only that are used with WebSphere Application Server Version 6.0.x and later. The information does not apply to Version 6.0.x and later

A Survey of APIs and Techniques for Processing XML

Introduction: In recent times the landscape of APIs and techniques for processing XML has been reinvented as developers and designers learn from their experiences and some past mistakes. APIs such as DOM and SAX, which used to be the bread and butter of XML APIs, are giving way to new models of examining and processing XML. Although some of these techniques have become widespread among developers who primarily work with XML, they are still unknown to most developers. Nothing highlights this better than a recent article by Tim Bray, one of the

Better, Faster XML Processing with VTD-XML:

VTD-XML is a new open source XML processing API that provides a great alternative to SAX and DOM that doesn't force you to trade processing performance for usability. Find out why this Java-based, non-validating parser is faster than DOM and better than SAX. VTD-XML is a new, open-source, non-validating, non-extractive XML processing API written in Java. Different from current XML processing technologies, VTD-XML is designed to be random-access capable without incurring excessive resource overhead. One key optimization of VTD-XML is non-extractive

XML Processing:

Diving in: These next two chapters are about XML processing in Python. It would be helpful if you already knew what an XML document looks like, that it's made up of structured tags to form a hierarchy of elements, and so on. If this doesn't make sense to you, there are many XML tutorials that can explain the basics. If you're not particularly interested in XML, you should still read these chapters, which cover important topics like Python packages, Unicode, command line arguments, and how to use getattr for method dispatching. Being a philosophy

XQuery

XQuery is a query language (with some programming language features) that is designed to query collections of XML data. It is semantically similar to SQL. XQuery 1.0 was developed by the XML Query working group of the W3C. The work was closely coordinated with the development of XSLT 2.0 by the XSL Working Group; the two groups shared responsibility for XPath 2.0, which is a subset of XQuery 1.0. XQuery 1.0 became a W3C Recommendation on January 23, 2007. "The mission of the XML Query project is to provide flexible query facilities to extract data

Namespaces in XML

Summary: The purpose of an XML namespace is to allow the deployment of XML vocabularies (in which element and attribute names are defined) in a global environment and to reduce the risk of name collisions in a given document when vocabularies are combined. For example, the MathML and SVG specifications both define the set element. Although XML data from different formats such as MathML and SVG can be combined in a single document, in this case there could be ambiguity about which set element was intended. XML namespaces reduce the risk of name

XML Schema Definition:

An XML Schema Definition (XSD) is an instance of an XML schema written in XML Schema. An XSD defines a type of XML document in terms of constraints upon what elements and attributes may appear, their relationship to each other, what types of data may be in them, and other things. It can be used with validation software in order to ascertain whether a particular XML document is of that type, and to produce a PSVI. XSDs were the first W3C-recommended XML schemas to provide a namespace and datatype aware alternative to using XML's native Document Type

XML Signature:

XML Signature (also called XMLDsig, XML-DSig, XML-Sig) is a W3C recommendation that defines an XML syntax for digital signatures. Functionally, it has much in common with PKCS#7 but is more extensible and geared towards signing XML documents. It is used by various Web technologies such as SOAP, SAML, and others. XML signatures can be used to sign data–a resource–of any type, typically XML documents, but anything that is accessible via a URL can be signed. An XML signature used to sign a resource outside its containing XML document is called a

Understanding XML Digital Signature:

Summary: This article looks at the XML Digital Signature specification, explaining its processing model and some of its capabilities. It provides a more detailed, lower-level understanding of how the WS-Security specification implements its message security feature. Introduction: Digital signatures are important because they provide end-to-end message integrity guarantees, and can also provide authentication information about the originator of a message. In order to be most effective, the signature must be part of the application data, so that it

Install the XPointer processor

How do I install the XPointer processor? Download the latest "cweb-xpointer" release from SourceForge. This project uses Apache Maven and Java 1.4+, so you will need to install those as well. Normally you will also want to download one of the XPointer Framework integrations, such as the xpointer+dom4j or the xpointer+jdom package. These "integration packages" provide support for a specific XML Document model. The project dependencies are explicitly declared in the Maven POM. This means that Maven can automagically download the required releases of

XPointer Basics

Description:If you've been paying attention to this column over the past few weeks, you'll already be familiar with XPath and XLink, two important pieces of the XML jigsaw. XPath provides a standard way to access specific nodes (or sets of nodes) within an XML document, while XLink offers XML document authors the ability to link XML data together in a myriad of different ways. XPointer is a language for locating data within an Extensible Markup Language (XML) document based on properties such as location within the document, character content, and

XPointer Framework

XPointer, a language for referring to locations of fragments of an XML document, brings similar (but more expansive) capabilities to using URLs with hashes in order to link to a particular point in an HTML document. Learn more about this language, including the controversy it has stirred up and the alternative schemes it has spawned. The XPointer Framework [W3C Recommendation] defines a language that you can use to refer to fragments of an XML document. You're perhaps already familiar with how you can use URLs with hashes ("#") in them to link to a

XPointer requirements

This section of the requirements involves the type and variety of data locations, or "targets", that an XPointer must be able to identify. These requirements make frequent reference to XML information objects such as elements, attributes, PIs, and characters. The formal definition of these objects, their relationships such as ordering, containment, and attribution, and their precise correspondence to XML syntax constructs are the domain of the XML Information Set Working Group. For more detail on the relationship, see the XML Linking Working Group's

XPointer-Information Set Liaison Statement

Abstract This document is a liaison statement from XML Linking Working Group to the XML Information Set working group. Because the XPointer specification under development in the XML Linking WG must refer to structural parts of XML documents, the structure it addresses must be explicit. Document structure specifications such as DOM and the XML Information Set may wish to consider the XPointer requirements in order to insure interoperability when used with XPointer and XLink. Thus we have set out in this document, some constraints we believe XPointer


 
We prefer Bluehost Hosting
 
Text Space Available
Your Text
www.Domain.com
Posicionamiento Web Mexico
Servicios: SEO, Marketing en Internet, Google Adwords y Optimizacion Web
www.SEOwebMexico.com

WooThemes - WordPress themes for everyone

Quick Links
Our Friends
Cool Places
Visit also
About Us