Learn About XQuery Update Facility


XQuery Update Facility is an extension of the XQuery language that allows you to make changes in an XML instance using “update expressions” that insert, delete, replace, or rename nodes. This extension provides a convenient way to make intelligent updates to XML documents, and XMLSpy has a unique implementation that makes it even easier. Let’s see how it works.

News about XML find / replace

Read more…

Tags: , , ,

Querying and Editing Database Records with MobileTogether


The heart of any app is its ability to view and modify bits of data. By using MobileTogether Designer, developers can build apps which show a broad picture of all data and enable users to easily drill down and edit individual records. This video tutorial will guide you through enhancing the Books sample app by adding the ability to view and edit records.

If this is your first time using MobileTogether, please take the time to view both our getting started video along with part one of our series on working with databases in MobileTogether Designer. Each of these videos will help you become familiar with the interface, phraseology, and provide you with techniques to efficiently build mobile apps.

Tags: , , , ,

Early Software Testing Validates Design


“Test early and often,” is a strategy from agile software engineering that has evolved to become a mandate for software developers in every field. Early software testing is especially important for developers working on cross-platform apps, who must support mobile devices with varying physical characteristics and operating system functionalities.

MobileTogether includes features to incorporate early software testing into the development process without time-consuming compile, deploy, and debug cycles for each mobile platform. The Altova Web site describes the MobileTogether Simulator early software testing feature, and we have blogged about the ability to record and re-run specific sets of actions in test cases.

This post describes Trial Run on Client. It’s built into the MobileTogether Designer to let developers instantly examine app designs and validate logic and functionality across any supported mobile device or platform – Android, iOS, and Windows Desktop or Windows Phone.

Read more…

Tags: , , ,

Steps and Tips to Migrate a Windows MobileTogether Server to Linux


The MobileTogether app development framework includes MobileTogether Server, the back-end hub that powers your mobile and desktop apps.  Available for Windows, Linux, and Mac OS, MobileTogether Server acts as a gateway between end-users and back-end data sources such as databases.

Migrating an existing Windows MobileTogether Server to an Ubuntu box is easy when no database connections are required.  But, if you have database connections, MobileTogether Designer can do all the heavy lifting for you.

As an IT administrator who works with physical and virtual hardware as well as desktop and server software, it has made life easier to create many scripts to help manage repetitive tasks.  Though I’m more of a ‘citizen developer’ with no formal developer training, using MobileTogether Designer to migrate a server with database connections was fast and easy.   Below is a look at how I was able to save my company the cost of a Windows server license by moving solutions to an Ubuntu platform.

computer room

Read more…

Tags: , , ,

Node Functions Simplify Mapping Hierarchical Data Structures


MapForce node functions simplify mapping hierarchical data such as XML nodes or CSV, JSON, EDI, or database fields by permitting users to define a data processing function at the node level and apply it recursively to all descendant items.

Similarly, default values can also be assigned to nodes and automatically applied to descendants.

Defaults and node functions are particularly useful when a data mapping and transformation task requires the same processing logic for multiple descendant items in a structure, for example:

  • Replace null values with some other value, recursively for all descendant items
  • Replace a specific value (for example, “N/A”) with some other value recursively for all descendant items
  • Replace all database null values when reading from a database table
  • Trim all trailing spaces for all values from a source database
  • Append a custom prefix or suffix to all values written to a target file or database
  • Formatting of output values
  • And many others

Defaults and node functions simplify mapping hierarchical data by eliminating need to copy-paste the same function multiple times into a mapping. Repeating the same function unnecessarily clutters the mapping layout and makes it more difficult to understand or revise.

Let’s look at an example.

Read more…

Tags: , ,

How to Speed Up Your XSLT – Automatically


Once you’ve written XSLT code to produce HTML or some other output, optimizing it to deliver the fastest execution is tricky business. Even with the powerful XSLT profiler in XMLSpy, a developer is required to have expert-level XSLT skills to test and fix the bottlenecks that the XSLT profiler identifies. Is the problem in an XPath expression? Is it an XSLT instruction? This can be a frustrating and time consuming task.

To help alleviate this issue and bring the power of XSLT to developers of all skill levels, XMLSpy also includes the XSL Speed Optimizer, which provides fixes to remove bottlenecks automatically, to immediately speed up your XSLT execution – it’s a revolutionary approach to optimizing XSLT performance.

Learn about XSL Speed Optimizer

Read more…

Tags: , , ,

The Only JSON Dev Tool You’ll Need


While XMLSpy might not be the first tool developers think of when they’ve got a JSON development task, XMLSpy includes comprehensive support for working with JSON, JSON Schema, and related technologies.

Over the past few product releases, we’ve added intelligent functionality for editing and converting JSON and JSON5 data to the product. We’ve completed the circle with one-click conversion between XML Schemas and JSON Schemas, as well as sample instance generation and JSON Schema documentation generation. And, most recently, we’ve added support for processing JSON with XSLT,  XPath, and XQuery.

Let’s walk through some common examples demonstrating this functionality – and see how these time-saving tools make XMLSpy the only JSON development tool you’ll need.

Developer using JSON tool

Read more…

Tags: , , , ,