[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Escaped canonical XML?

Subject: Escaped canonical XML?
From: Martynas Jusevičius <martynas@xxxxxxxxxxxx>
Date: Tue, 25 Feb 2014 17:16:17 +0100
 Escaped canonical XML?
Hey,

I have a stylesheet that transforms TEI to TriX, which is currently
the only (and non-standard) XML serialization for RDF datasets with
named graphs [1].

The issue is that TriX format expects escaped XML literals, while RDF
data model expects canonical XML literals. How do I produce a
combination of both?

Currently I'm using xml-to-string by Evan Lenz [2] to escape the XML
literals. I wonder if it can be modified to produce a canonical
version as well? There is $use-empty-syntax parameter that might help,
but there are many more rules in canonicalization, as far as I know.

Suggestions appreciated.

[1] http://www.w3.org/2004/03/trix/
[2] http://lenzconsulting.com/xml-to-string/

Martynas
graphityhq.com

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.