desperately seeking schema
March 17, 2007 7:13 AM   Subscribe

I'm not a programmer and I need a schema in the worst way. Stylus Studio purports to generate a schema based on xml documents--is this realistic, and if I know sql and html but it stops there, what would it take, ballpark, to get a tech freelancer to do this for me?

This is for a publishing company with a couple dozen titles. The current standard is NITF, which is fine, but we want to add in the subhead, kicker, and section tags that we're currently mapping all to hl2, and we want to add a couple more things to make our content more searchable and chunkable. We then need to transform our souped-up content back into vanilla NITF for our licensees--would that be an xslt? Our IT guys are way overworked and can't help right now. We're in a mixed InDesign/Quark environment with lots of BandAids.
posted by pessoa to Technology (4 answers total)
 
It doesn't sound like you want to do a very complicated transformation; you may not even need a formal XML schema at all depending upon how finnicky your software is. Simply standardizing the XML format in-house might be enough.

The rest of your thoughts are pretty much on target: You will certainly need to do a round of XSL transformations from NITF to your new custom format, then do all your custom editing (sections, etc). You'll then need a second stylesheet to transform back to NITF.

I'm afraid I don't have specific ideas of rates or interaction with InDesign/Quark, sorry.
posted by beerbajay at 8:41 AM on March 17, 2007


I've used XMLSpy to generate schema's from example xml documents. That worked fine. It's quite easy to work from that.
Probably Stylus Studio can do the same thing.
posted by jouke at 9:04 AM on March 17, 2007


Either you're confused, or I am, or there's something missing from your question.

Why do you need a schema? Schemas define what's allowed in an XML document, but they aren't required in most situations.

Do you have a bunch of XML documents all with a reference to a schema, and you can't add new elements to them because if you do, they become invalid?
posted by AmbroseChapel at 2:00 PM on March 17, 2007


Response by poster: AmbroseChapel: Yes. I've been told by our IT dept that they can't build a web service validator that will prevent us from sending bad content because we don't have a schema beyond the basic out-of-the-box NITF, which comes close but doesn't quite adequately describe our content. We're also approaching various text mining/entity extraction vendors for help in tagging our content beyone what editorial can/will do, and our schema is one of the first things they ask for, so it seems like a pre-condition to move forward.
Thanks for the replies and sorry for my delayed response--I've been offline out of town.
posted by pessoa at 6:28 PM on March 20, 2007


« Older cell phones in the classroom   |   Nethack-like copper mining game? In space? Newer »
This thread is closed to new comments.