[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XMP to XML translation?
Is there something here that might help? http://www.CraneSoftwrights.com/resources/#XMP What I found with the flat XMP structure is that it was too restrictive for me to include my own XML as marked up XML ... I ended up including it as escaped text and I wrote a stylesheet to translate the escaped text into the embedded XML instance. In my case it is an embedded UBL document found in the XMP content. My package includes a Python application for extracting the XMP content from the PDF file. I hope this helps somewhat, though it isn't exactly what you were asking for. . . . . . . . . Ken At 2012-04-10 16:46 +0100, Michael Hopwood wrote: >Im looking for a quick and simple method to >transform XMP files into well-formed XML, >possibly according to an extremely simplified >schema (i.e. effectively a root node and a list >of allowed elements from selected namespaces, all with cardinality 0-n). > >The use case here is to import XMP data into an >XSLT engine Im using, but the existing software >cant handle the RDF/XML of the raw XMP. > >Since the XMP is relatively flat, I thought >there might be a standard or at least well-known >way to get this stuff into a very simple XML >form, from whence it could be input into my XSLT >engine (which auto-detects the schema of the >input data before creating an XSLT to transform >it and future uploads to a new schema). > >Ive identified which namespaces need to be >included in my pseudo-schema, I just wondered if >there are some existing tools, preferably free, >which can do the job? Can this be done with more XSLT ? > >Michael Hopwood >Linked Heritage Project Lead >EDItEUR >United House, North Road >London N7 9DP >UK > >Tel: +44 20 7503 6418 >Mob: +44 7811 591036 >Skype: michael.hopwood.editeur ><http://www.linkedheritage.org/>http://www.linkedheritage.org/ >http://editeur.org/ -- Public XSLT, XSL-FO, UBL and code list classes in Europe -- May 2012 Contact us for world-wide XML consulting and instructor-led training Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm Crane Softwrights Ltd. http://www.CraneSoftwrights.com/x/ G. Ken Holman mailto:gkholman@CraneSoftwrights.com Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|