HI. This might be a starting point for you:
It is a draft guideline of an XML representation of YAML - called YAXML. http://yaml.org/xml.html The sample shows the other way around - XML ->xslt -> yaml, but it does outline how the various parts of a YAML file are represented in XML. So, if you already have a parser for your YAML files, perhaps they could be used to pre-process them to YAXML format before ingestion. The sample stylesheet on the website should be a starting point of being able to transform back to YAML on the way out of MarkLogic. Looking forward: MarkLogic 8 promises to deliver server-side javascript support.. Considering that there are already great Javascript YAML libraries, it would seem that in the future, you could harness one of these to convert YAML to YAXML on ingestion.... Kind Regards, David On 6 May 2014 15:56, Mohamad Thahir <[email protected]> wrote: > Does MarkLogic support YAML for ingestion? Can someone recommend best way > to ingest YAML docs > > Sent from my iPhone > _______________________________________________ > General mailing list > [email protected] > http://developer.marklogic.com/mailman/listinfo/general >
_______________________________________________ General mailing list [email protected] http://developer.marklogic.com/mailman/listinfo/general
