W3C home > Mailing lists > Public > xproc-dev@w3.org > November 2014

RE: Using HTTP PUT to store result into eXist

From: Loren Cahlander <Loren.Cahlander@bcbsnc.com>
Date: Mon, 17 Nov 2014 15:46:24 -0500
To: Loren Cahlander <Loren.Cahlander@bcbsnc.com>, "Henry S. Thompson" <ht@inf.ed.ac.uk>, "bobs@sagehill.net" <bobs@sagehill.net>
CC: Loren Cahlander <loren.cahlander@gmail.com>, "xproc-dev@w3.org" <xproc-dev@w3.org>
Message-ID: <E511F20AE33020408762F035DD436AC1060AB64F9D@SVWCMP013.bcbsnc.com>
My next hurdle is:

xquery version "3.0";

import module namespace xproc="http://exist-db.org/xproc";

let $simple-proc :=
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" version="1.0">
    <p:option name="db-doc-path" required="true"/>
    <p:input port="source">
    <p:output port="result"/>
    <p:load name="load-doc">
        <p:with-option name="href" select="concat('xmldb://', $db-doc-path)"/>

        <p:input port="source">
            <p:pipe port="result" step="load-doc"/>
        <p:input port="stylesheet">
            <p:document href="/docbook-xsl-1.78.1/fo/docbook.xsl"/>
        <p:input port="parameters"><p:empty/></p:input>

return xproc:process($simple-proc, (<option name="db-doc-path" value="/db/article.xml"/>))

I am getting the error: exerr:ERROR Processing terminated by xsl:message at line 162 in docbook.xsl [at line 27, column 8]

Which is:

<xsl:when test="*/self::ng:* or */self::db:*">
  <xsl:message terminate="yes">
    <xsl:text>Unable to strip the namespace from DB5 document,</xsl:text>
    <xsl:text> cannot proceed.</xsl:text>

Any suggestions?

-----Original Message-----
From: Loren Cahlander [mailto:Loren.Cahlander@bcbsnc.com]
Sent: Monday, November 17, 2014 2:32 PM
To: Henry S. Thompson
Cc: Loren Cahlander; xproc-dev@w3.org
Subject: RE: Using HTTP PUT to store result into eXist

I am working on getting XProc to run the DocBook to XSL-FO transform from outside of eXist, since we cannot load the DocBook XSLs into eXist.

Blue Cross and Blue Shield of North Carolina

Confidentiality Notice: This message is intended only for the use of the individual or entity to which it is addressed. This communication may contain individual protected health information ("PHI") that is subject to protection under state and federal laws, or other privileged, confidential or proprietary information of Blue Cross and Blue Shield of North Carolina that may not be further disclosed. If you are not the intended recipient, or the employee or agent responsible for delivering this communication to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to this message and deleting it from your computer. Thank you.
Received on Monday, 17 November 2014 20:47:04 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:03:12 UTC