Skip to main content

Philip Guth's Library tagged xml   View Popular

24 Apr 09

Advanced Basics: Office 2007 Files and LINQ

  • The 2007 Office system Open XML SDK only handles the navigation to the
    individual part of interest; it is not used for manipulating the part's XML
    content to retrieve or modify the document information.
  • In the earlier column, I used the XmlDocument class to work with document
    properties. Now, you can use LINQ to XML, a new feature in the .NET Framework
    3.5 (exposed in Visual Studio 2008) to make working with the XML content far
    easier.
10 Mar 09

C#: XML Comments Let You Build Documentation Directly From Your Visual Studio .NET Source Files

  • C# allows developers to embed XML comments into their source files—a useful
    facility, especially when more than one programmer is working on the same code.
    The C# parser can expand these XML tags to provide additional information and
    export them to an external document for further processing. This article shows
    how to use XML comments and explains the relevant tags. The author demonstrates
    how to set up your project to export your XML comments into convenient
    documentation for the benefit of other developers. He also shows how to use
    comments to generate help files.
01 Dec 08

Native XML Database

  • Referential integrity is a relational database feature that ensures
    consistency is maintained between items that reference one another. For
    instance, if you have a database table with order information that refers to a
    database table with product information, referential integrity ensures that each
    order refers to a valid product. In technical terms, referential integrity
    ensures that each product ID specified in the order table (where the product ID
    is a foreign key in the order table), exists in the product table.

XML: Powering Next-Generation Business Applications

  • Proponents of XML databases have long argued that XML databases require a native XML storage engine because integrating tabular SQL and hierarchical XML data is like mixing oil and water. However, many queries and mashups require mixed data, not just XML documents. Using separate servers for XML and SQL can introduce performance issues if there's no optimizer for distributed queries. If an application or service must separately query disparate data sources to perform an integration task, it must understand how to optimize data access with distributed data.
21 Nov 08

Object-relational impedance mismatch - Wikipedia, the free encyclopedia

    • One common solution to the impedance mismatch problem is to layer the domain and framework logic. In this scheme, the OO language is used to model certain relational aspects at runtime rather than attempt the more static mapping. Frameworks which employ this method will typically have an analogue for a tuple, usually as a "row" in a "dataset" component or as a generic "entity instance" class, as well as an analogue for a relation. Advantages of this approach may include:


      • Straightforward paths to build frameworks and automation around transport, presentation, and validation of domain data.
      • Smaller code size; faster compile and load times.
      • Ability for the schema to change dynamically.
      • Avoids the name-space and semantic mismatch issues.
      • Expressive constraint checking
      • No complex mapping necessary
  • Alternatives architectures


    The rise of XML databases and XML client structures has motivated another alternative architecture to get around the impedance mismatch challenges. These architectures use XML technology in the client (such as XForms) and native XML databases on the server that use the XQuery language for data selection. This allows a single data model and a single data selection language (XPath)to be used in the client, in the rules engines and on the persistence server.[2]

  • 2 more annotations...
16 Oct 08

JSON and other data serialization languages

  • The trouble is that all this complexity and versatility comes at a cost. XML isn't fast. When AJAX programmers hit the performance problem of digesting XML, they turned to JSON and found, at that time, that it was around a hundred times quicker to process a 10K JSON data file in the browser than an XML file.
  • XML-RPC and SOAP are sometimes suggested as being appropriate but they are full-blown RPC mechanisms with transports. To use them merely for serialisation of structured data is overkill.
  • 1 more annotations...
03 Oct 08

PDF Generator Web Service using Apache FOP | Cape Clear Developer

  • It takes an XML document containing some shipping information detailing items purchased by a customer and generates a corresponding invoice document in PDF format suitable for printing. The assembly highlights how easy it is to write custom assembly components that implement third party libraries – in this case Apache FOP is used to help generate the PDF output.
    • http-in transport – listens for incoming requests delivered to http://localhost:8080/ccx/FOPAssembly.
    • xslt step component – transforms incoming XML documents to XSL-FO using an XSL script.
    • custom step component – custom Java implementation of Apache FOP that processes XSL-FO to generate PDF output
  • 5 more annotations...

XML to PDF? Oh, FOP It. | O'Reilly Media

  • Formatting Objects Processor (FOP) is an open source Java API that can convert your XML data into reports in PDF format, as well as such other relevant formats as TXT, SVG, AWT, MIF, and PS. The software is developed under the Apache XML project and is free to use.
  • Although the main idea of FOP is to work on the FO document, it can take over the task of transforming the existing data (XML) using a stylesheet. Let's say you have your business data in XML format and stylesheet information in the form of an XSL file. If you supply these two to FOP, FOP will convert this information to a temporary FO document and render it to your desired output.
1 - 20 of 63 Next › Last »
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo