RE: XMP to XML translation?
Thanks Lech, That sounds simpler than I thought... OK. It sounds like I can just plug in the XMP elements to the XSD I already have for the target schema without an intermediary schema...? Great! :) this is actually what I was thinking would be best but wasn't sure if it could be that simple, as a total beginner at XSLT. One slight complication is that it may be desirable to retain some structural points, like the rdf:Seq and rdf:Alt from the XMP, where this has meaning that needs to be preserved, but I'm guessing this may also be possible with XSLT? Thanks again, Michael -----Original Message----- From: Lech Rzedzicki [mailto:firstname.lastname@example.org] Sent: 11 April 2012 19:11 To: Michael Hopwood Cc: email@example.com Subject: Re: XMP to XML translation? On 10 April 2012 17:46, Michael Hopwood <firstname.lastname@example.org> wrote: > Hi all, > I'm 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). Definitely more XSL would work, just identify what info are you after and write XSL templates to match that and discard everything else. For example for image dimensions, the template would be: <template match="exif:PixelXDimension"> and <template match="exif:PixelYDimension"> Lech
[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