[MarkLogic Dev General] Reg: Configuring Database

2013-07-11 Thread Arul Prakash.G
  Once the new database is created in Marklogic 5.0 and when I try to configure the new database it takes me to new page displays the blank screen.   http://127.0.0.1:8000/infostudio/database.xqy?dbid=2167908630968155344   Can you please let me know what the actual issue??   Thanks Arul Prakash

Re: [MarkLogic Dev General] Reg: Configuring Database

2013-07-11 Thread Danny Sokolsky
Hi Arul, I think we need a little more info here. How exactly did you create the database (ie, using the Admin Interface, using Info Studio, etc)? Is this a recently-upgraded system. What version are you running (ie, 5.0-1, 5.0-5, etc)? -Danny From: general-boun...@developer.marklogic.com

Re: [MarkLogic Dev General] Applying XSLT on XML file using xdmp:xslt-invoke

2013-07-11 Thread Khan, Kashif
Thanks Greet I have made some head way after seeing your response. I just save the file as transformaed.xhtml INSTEAD of transformed.html and it started working. Below is the code that is now working in query console let $x := xdmp:xslt-invoke(/pipelines/HTML.xsl,

Re: [MarkLogic Dev General] Applying XSLT on XML file using xdmp:xslt-invoke

2013-07-11 Thread Khan, Kashif
I apologize the action file below uses the xdmp:quote and throws error. Here is the correct version import module namespace cpf = http://marklogic.com/cpf; at /MarkLogic/cpf/cpf.xqy; import module namespace ingest = http://hmhpub.com/ingest; at /common/hmh-ingest.xqy; declare variable

[MarkLogic Dev General] triggers or cpf?

2013-07-11 Thread Jakob Fix
Hi, we'd like to use a pre-commit trigger to validate and convert an incoming document before storing it itself. Pre-commit to only store the document if the validation was successful and the document was converted and stored as expected. As far as I understand, CPF would be the right choice for

Re: [MarkLogic Dev General] Applying XSLT on XML file using xdmp:xslt-invoke

2013-07-11 Thread Mary Holstege
On Thu, 11 Jul 2013 14:10:02 -0700, Khan, Kashif kashif.k...@hmhco.com wrote: Thanks Greet I have made some head way after seeing your response. I just save the file as transformaed.xhtml INSTEAD of transformed.html and it started working. Below is the code that is now working in query

Re: [MarkLogic Dev General] Applying XSLT on XML file using xdmp:xslt-invoke

2013-07-11 Thread Khan, Kashif
Mary this is what I get ?xml version=1.0 encoding=UTF-8? html xmlns=http://www.w3.org/1999/xhtml; titleHTML Transformation/title p xmlns= img src=images/MNMTPG2_SE_062_3T_V1_ANS.jpg alt=/ p xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Re: [MarkLogic Dev General] triggers or cpf?

2013-07-11 Thread Mary Holstege
On Thu, 11 Jul 2013 14:25:31 -0700, Jakob Fix jakob@gmail.com wrote: Hi, we'd like to use a pre-commit trigger to validate and convert an incoming document before storing it itself. Pre-commit to only store the document if the validation was successful and the document was converted and