- From: Norm Tovey-Walsh <ndw@nwalsh.com>
- Date: Wed, 22 Jan 2025 16:18:53 +0000
- To: <denis.maier@unibe.ch>
- Cc: <xproc-dev@w3.org>
<denis.maier@unibe.ch> writes: > I have a project where I produce about 200 HTML files that will have to uploaded to our Open Monograph Press installation. Of course, I’d prefer to automate this if possible. OMP support a native XML format that allows you to embed the individual files in base64 encoding. I’m trying to work out if I understand the format. You take a document, you serialize it, you base64 encode it, and then you embed that base64 encoded string into some sort of Open Monograph Press XML manifest XML vocabulary? Something like: <submission> <document id="thing1">base64encodedblob</document> <document id="thing2">anotherbase64encodedblob</document> </submission> (The exact elements and metadata aren’t really my question, I’m just trying to see if I understand the general structure.) > It looks like there have been some solution that worked with XSLT, but it looks like there have been some changes. With Saxon PE in Oxygen, I wouldn’t be surprised if you can do this with some combination of serialization and some EXPath function, but I’ve never tried. > P.S.: I know this is not exactly an xproc question, so maybe there’s a better place to ask. But I thought the communities overlap enough to justify asking the question here. And maybe there’s even something xproc can do here. It’s a completely fine question. Be seeing you, norm -- Norm Tovey-Walsh <ndw@nwalsh.com> https://norm.tovey-walsh.com/ > DNA neither cares nor knows. DNA just is. And we dance to its > music.--Richard Dawkins
Received on Wednesday, 22 January 2025 16:19:04 UTC