- 0 minutes to read

What is a stylesheet?

Transform complex XML and JSON data into user-friendly formats with Nodinite Stylesheets. On this page, you will:

Empower business users - Present technical data in formats non-technical users can understand
Protect sensitive information - Hide confidential data from specific users or roles
Format alerts - Customize email and event log notifications with readable, actionable content
Support multiple formats - Transform XML and JSON into HTML, flat files, or any text-based output
Reuse templates - Apply the same stylesheet across multiple Message Types for consistency

Tip

Use Stylesheets in Nodinite to visualize data for the business in a format they can understand. You can also use this feature to hide sensitive data they do not need to see, ensuring compliance and security.

Why Use Stylesheets?

Business Impact

  • 70% faster incident resolution - Business users identify critical issues without waiting for technical teams to interpret logs
  • Enhanced security - Mask credit card numbers, social security numbers, and other sensitive data while preserving business context
  • Actionable alerts - Emails with formatted data tables instead of raw XML reduce time-to-action from hours to minutes
  • Self-service reporting - Enable business analysts to review transaction data without developer assistance

Common Use Cases

  • Financial Transaction Reports - Transform XML order messages into readable invoices with line items, totals, and customer details
  • Healthcare Data Compliance - Display patient encounter summaries while automatically redacting PHI (Protected Health Information)
  • Order Status Tracking - Convert EDI 850 purchase orders into visual order summaries with delivery timelines
  • Executive Dashboards - Present JSON metrics from REST APIs as formatted KPI cards and trend charts
  • Compliance Audits - Generate audit-ready reports showing message flow history with timestamps and status indicators

How Stylesheets Work

Nodinite has built-in support for Stylesheets to transform technical data into business-friendly formats. You can present both XML and JSON data for end-users in formats they can understand and act upon.

Transformation Flow

graph LR A[" Log Event
(XML or JSON)"] --> B{" Message Type"} B --> C[" Stylesheet
(XSLT or Liquid)"] C --> D[" Transformation
Engine"] D --> E[" User-Friendly
Output"] E --> F1[" Log Views"] E --> F2[" Email Alerts"] E --> F3[" Event Logs"] E --> F4[" Reports"] style A fill:#e3f2fd style B fill:#fff3e0 style C fill:#f3e5f5 style D fill:#e8f5e9 style E fill:#fce4ec style F1 fill:#f5f5f5 style F2 fill:#f5f5f5 style F3 fill:#f5f5f5 style F4 fill:#f5f5f5

Step-by-Step:

  1. Log Event arrives - System receives XML or JSON message from integration
  2. Message Type identified - Nodinite determines which Message Type matches the event
  3. Stylesheet selected - Associated XSLT or Liquid template is retrieved
  4. Transformation applied - Engine processes message through template
  5. Output generated - Transformed HTML, text, or XML is produced
  6. Display to user - Result appears in Log Views, email alerts, reports, or Windows Event Log

Supported Transformation Engines

XML Transformation with XSLT
✅ Convert XML documents into HTML for web display
✅ Transform XML into different XML formats for system integration
✅ Extract and reformat specific XML elements for reporting

JSON Transformation with Liquid
✅ Convert JSON into HTML reports with tables and formatting
✅ Generate flat files or text-based outputs
✅ Transform any JSON structure into nearly any imaginable text-based format
✅ Example: Base64Decode XML from JSON - Transform JSON with base64-encoded XML content into readable XML

Stylesheet example
An XML message transformed into a user-friendly HTML format using a Nodinite Stylesheet.

Key Features

Transformation Engines

Nodinite supports two powerful template engines, each optimized for different data formats:

Engine Best For Capabilities
XSLT XML data Transform XML → HTML, XML → XML, element extraction, conditional formatting
Liquid JSON data Transform JSON → HTML, generate flat files, create custom text formats

Advanced Example:
See Base64Decode XML from JSON to learn how Liquid templates can extract base64-encoded XML from JSON and transform it into readable XML output.

Flexibility and Reusability

  • Multiple stylesheets per Message Type - Create specialized views for different audiences (business summary, technical details, compliance audit)
  • Shared stylesheets - Use the same template across many Message Types for consistent branding and formatting
  • Self-service access - Business users can view transformed data in Log Views without technical knowledge or database access
  • Template library - Build a library of reusable stylesheets for common patterns (invoices, error reports, status summaries)

Alarm Formatting

Stylesheets enhance notification channels by presenting data in context-appropriate formats:

Channel Use Case Stylesheet Capability
Email Incident notifications Format email body with readable data tables, conditional styling, and actionable summaries
Email with Options Interactive approval workflows Create emails with decision buttons (Approve/Reject) that include formatted transaction details
Windows Event Log IT operations monitoring Generate structured event log entries with severity levels and formatted message data

Data Security and Masking

Stylesheets enable granular control over what data users can see:

  • Sensitive data redaction - Hide credit card numbers, SSNs, passwords, API keys using template logic
  • Role-based filtering - Different Log Views can use different stylesheets to show/hide fields based on user permissions
  • Compliance-ready output - Generate audit reports that automatically exclude PII while preserving business context
  • Custom masking rules - Use XSLT/Liquid conditional logic to implement organization-specific data protection rules

How It Works

Nodinite automatically applies the correct Stylesheet to transform message payloads based on the Message Type. When you associate a Stylesheet with a Message Type, it is used in:

  • Log Views - Transform technical data for business user consumption in the web interface
  • Alarm notifications - Format Email alerts, Event Logs, and interactive emails with readable, actionable content
  • Reports - Generate user-friendly reports from technical log data for compliance and analytics
  • API responses - Apply stylesheets to Log Event data returned via Web API for custom integrations

All Logged Events have the mandatory Message Type property set, which determines which Stylesheet to apply. This automatic association ensures consistent formatting across all views and notification channels.


Next Step

Start using Stylesheets to transform your data:

  1. Add or manage Stylesheet - Create XSLT or Liquid templates for your Message Types
  2. Message Types - Associate Stylesheets with specific Message Types
  3. Add or manage Log View - Create Log Views that use your Stylesheets
  4. Add or manage Monitor View - Apply Stylesheets to Monitor Views
  5. E-Mail - Configure email alerts with formatted content using Stylesheets