XSL , XML, Chilisoft ASP

I have created a asp page that shows xml data using a xsl
transform. It works great on my IIS ( testing server) but not great
when the site go's live as my service provider uses Chilisoft ASP (
or whatever the new name is from sun).
Here is the error message!
MM_XSLTransform error:
Required object ("MSXML2.FreeThreadedDOMDocument") from
Microsoft XML Core Services (MSXML) is not installed.
Download and install the latest version from
http://msdn.microsoft.com/xml
before continuing.
Dreaweaver assumes I will be using an IIS server.
Has anyone got experience with chilisoft ASP and what I can
do to get the page showing correctly. Or a link to a page that
could help me get the correct wording and include files.
Thanks in advance

Chilisoft is aptly named - much like a bad bowl of Chili,
it'll give you
heartburn and sleepless nights! Save yourself and avoid it!
Like Nancy
said, go with a Windows server for ASP.
Lawrence Cramer
*Adobe Community Expert* -
http://tinyurl.com/jhnyq
email: lawrence at cartweaver dot com
Cartweaver CF, ASP & PHP Shopping Cart for Dreamweaver
www.cartweaver.com
news://support.cartweaver.com
=====================================================
"Nancy *Adobe Community Expert*" <[email protected]>
wrote in message
news:[email protected]...
> It's not Dreamweaver's fault .. sounds like your host
hasn't got MSXML
> installed. I don't know if that isn't available with
Chilisoft or if your
> host's implementation is too old.
>
> If you really want to use ASP, I would advise changing
to a Windows host.
> ASP with Chilisoft is not really adequate. As you have
seen, it doesn't
> always work.
>
>
> --
> Nancy Gill
> Adobe Community Expert
> BLOG:
http://www.dmxwishes.com/blog.asp
> Author: Dreamweaver 8 e-book for the DMX Zone
> Co-Author: Dreamweaver MX: Instant Troubleshooter
(August, 2003)
> Technical Editor: DMX 2004: The Complete Reference, DMX
2004: A
> Beginner's
> Guide, Mastering Macromedia Contribute
> Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced
PHP Web
> Development
>
>
> "donovan_john_maidens"
<[email protected]> wrote in message
> news:[email protected]...
>>I have created a asp page that shows xml data using a
xsl transform. It
>>works
>> great on my IIS ( testing server) but not great when
the site go's live
>> as my
>> service provider uses Chilisoft ASP ( or whatever
the new name is from
>> sun).
>>
>> Here is the error message!
>> MM_XSLTransform error:
>> Required object ("MSXML2.FreeThreadedDOMDocument")
from Microsoft XML
>> Core
>> Services (MSXML) is not installed.
>> Download and install the latest version from <a
target=_blank
>> class=ftalternatingbarlinklarge
>> href="
http://msdn.microsoft.com/xml">http://msdn.microsoft.com/xml</a>
>> before
>> continuing.
>>
>> Dreaweaver assumes I will be using an IIS server.
>>
>> Has anyone got experience with chilisoft ASP and
what I can do to get the
>> page
>> showing correctly. Or a link to a page that could
help me get the correct
>> wording and include files.
>>
>> Thanks in advance
>>
>>
>>
>
>

Similar Messages

  • Using XSL-XML template to convert name value pairs into XML elements

    Hi,
    I have a xml document in the format:
    <?xml version=”1.0”?>
    <body title="Mr" firstName="Joesph" middeNames="George Harry" lastname="Smith" countrycode="GBP"/>
    I need to convert this using a XSL-XML template in BI publisher to return XML in the following format, while doing some conversion, e.g. converting countrycode from GBP to UK:
    <?xml version=”1.0”?>
    <body>
    <title>Mr</title>
    <firstName>Joseph</firstName>
    <middleNames>George Harry</middleNames>
    <lastname>Smith</lastname>
    <countrycode>UK</countrycode>
    </body>
    Would appreciate if anyone could point me in the correct direction.

    Hi Sweta,
    Why MTB??? Message Transformation bean is used to change the format of the message... If you are planning to call any XSLT or java mapping through that then you can give it a try..
    >>how to get the last and first 3 special characters in the output text using MTB?
    Put them in message mapping itself and write it in File
    Regards
    Suraj

  • XSL-XML Templates

    Hello,
    My requirement is generate xml output file using BI Publisher. I think xsl-xml template will generate xml output from xml extract.
    Is there a easy way of developing xsl-xml templates using BI Publisher for given XML Extract? I know we can write a xsl file manually but looking for a tool where I can drag and drop. I read this article: http://blogs.oracle.com/xmlpublisher/entry/building_xsl_templates
    However, In my Jdev, I do not see an option of Inregration tier to map. Any info. on this is greatly appreciated.
    Thanks

    I have changed the filter but still not showing up Integration tier. I am on JDev 11g Release2. Please let me know if I have to switch to different version of JDev or any other settings that I need to do.
    Thanks again for your info.

  • Multiple XSL Transformations in ASP

    Dreamweaver will permit multiple inserts of XSL
    Transformations in PHP but when attempting the same in ASP -after
    inserting and testing the first, the option: Insert >
    Application Object > XSL Transformation is greyed out.
    If I try pasting in the transformation code I get a server
    error. Separately both XSL transformations work fine.
    I need to import two RSS feeds - does anyone have a clue what
    I'm doing wrong or know why this is not permitted in ASP?

    Yes.
    You can post the XSL transformations one after another.
    Take a look at my code for inserting data into 5 different tables:
    <?xml version="1.0"?>
    <database connection="dvddb" xmlns:xsql="urn:oracle-xsql">
    <xsql:include-request-params/>
    <xsql:set-stylesheet-param name="maxdvdid">
    SELECT tbl_dvd_sequence.NEXTVAL
    FROM TBL_DVD
    </xsql:set-stylesheet-param>
    <xsql:insert-request table="TBL_DVD" transform="/dvd/xsl/admin/tbldvdtransform.xsl"/>
    <xsql:insert-request table="LNK_DVD_FEATURE" transform="/dvd/xsl/admin/lnkdvdfeaturetransform.xsl"/>
    <xsql:insert-request table="LNK_DVD_STARS" transform="/dvd/xsl/admin/lnkdvdstartransform.xsl"/>
    <xsql:insert-request table="LNK_DVD_GENRE" transform="/dvd/xsl/admin/lnkdvdgenretransform.xsl"/>
    <xsql:insert-request table="LNK_DVD_DIRECTOR" transform="/dvd/xsl/admin/lnkdvddirectortransform.xsl"/>
    </database>
    <?xml-stylesheet type="text/xsl" href="/dvd/xsl/admin/createeditdeleteuserdvdconfirm.xsl"?>What I've done here is pull out the ID value from the main table that I'm updating. For these purposes lets just say the value is 10. I then use that variable in each of the XSL files to update each particular table.
    The ID is a foreign key for the other 4 tables, so they all update with the correct ID. If I submit one record or 100 records, they will all share the same unique row ID in the database.
    Hope that helps.
    Malik Graves-Pryor

  • How to generate an .xsl , XML data schema when we are using BI publisher

    We are using BI publisher to generate our invoices
    and we are using 3 rd party to print invoices and mail invoice to customers on our invoice template
    We are planning send XML payload to the 3rd party.
    How can we send the 3rd party our xml schema and our style sheet (.xsl file)
    This is question asked at demo at Starbucks

    Print from what? If you aren't licensing ID for the sales staff that sounds like they print from PDF. I don't know anything about Easy Catalog, but I don't think there's any way to edit the PDF using it.
    I think you should ask the folks at Easy Catalog about this, and maybe post the question over in ID scripting. It may be possible to write a script that will automatically update the PDF when the ID file is closed or saved, which I suspect is about as close as you are going to come to what you want. InDesign Scripting

  • Can we build custom code in xsl-xml

    Hi, We are using one of the .xml dump which is stored as a row in the table iby_trxn_documents
    We are mapping .xsl (a custom template with the above .xml tags)
    We are getting the below tags in .xml (which is stored in table iby_trxn_documents) but the value is not populated in the tags,
    We have build one one sequence in the database, where we need to map the incremented value of the sequence in that place.
    My (xml looks like any of the below two options)
    - <PaymentSequence>
    <SequenceName />
    <LastValue />
    </PaymentSequence>
    In this case i am getting output as W
    - <PaymentSequence>
    <SequenceName>XX_SEQ</SequenceName>
    <LastValue>1</LastValue>
    </PaymentSequence>
    in this case i am getting output as W1, but for next run i want it as W2 etc... or is there any option we can get incremented values in <Creation_Module>
    as my above value is coming null, in my output also i am getting null.
    Is there a way i can get the value of sequence in my xsl template.
    I am writing some thing like this in my (.xsl)
    - <Creation_Module>
    <xsl:value-of select="concat('W',/PaymentSequence/LastValue)" />
    </Creation_Module>
    For every run i want this last value to be incremented by 1
    Appreciate if some one has any knowledge in this.
    Thanks...
    Edited by: 902157 on Aug 27, 2012 9:18 AM

    Hi, We are using one of the .xml dump which is stored as a row in the table iby_trxn_documents
    We are mapping .xsl (a custom template with the above .xml tags)
    We are getting the below tags in .xml (which is stored in table iby_trxn_documents) but the value is not populated in the tags,
    We have build one one sequence in the database, where we need to map the incremented value of the sequence in that place.
    My (xml looks like any of the below two options)
    - <PaymentSequence>
    <SequenceName />
    <LastValue />
    </PaymentSequence>
    In this case i am getting output as W
    - <PaymentSequence>
    <SequenceName>XX_SEQ</SequenceName>
    <LastValue>1</LastValue>
    </PaymentSequence>
    in this case i am getting output as W1, but for next run i want it as W2 etc... or is there any option we can get incremented values in <Creation_Module>
    as my above value is coming null, in my output also i am getting null.
    Is there a way i can get the value of sequence in my xsl template.
    I am writing some thing like this in my (.xsl)
    - <Creation_Module>
    <xsl:value-of select="concat('W',/PaymentSequence/LastValue)" />
    </Creation_Module>
    For every run i want this last value to be incremented by 1
    Appreciate if some one has any knowledge in this.
    Thanks...
    Edited by: 902157 on Aug 27, 2012 9:18 AM

  • XSL + XML in JSP

    JSP code:
    <%@ page import="javax.xml.transform.*,javax.xml.transform.stream.*,java.io.*" %>
    <%TransformerFactory tFactory = TransformerFactory.newInstance();
    Transformer transformer = tFactory.newTransformer( new StreamSource("book.xsl"));
    transformer.transform( new StreamSource("book.xml"), new StreamResult(out));%>
    Result:
    excepcion
    javax.servlet.ServletException
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:867)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:800)
    org.apache.jsp.book_jsp._jspService(book_jsp.java:55)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    causa raiz :
    java.lang.NoClassDefFoundError
    org.apache.xml.serializer.ToStream.<init>(ToStream.java:112)
    org.apache.xml.serializer.ToXMLStream.<init>(ToXMLStream.java:57)
    org.apache.xml.serializer.ToUnknownStream.<init>(ToUnknownStream.java:136)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    java.lang.reflect.Constructor.newInstance(Unknown Source)
    java.lang.Class.newInstance0(Unknown Source)
    java.lang.Class.newInstance(Unknown Source)
    org.apache.xml.serializer.SerializerFactory.getSerializer(SerializerFactory.java:91)
    org.apache.xalan.transformer.TransformerImpl.createSerializationHandler(TransformerImpl.java:1097)
    org.apache.xalan.transformer.TransformerImpl.createSerializationHandler(TransformerImpl.java:981)
    org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1187)
    org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1170)
    org.apache.jsp.book_jsp._jspService(book_jsp.java:49)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    Why it happens? I have been several hours with this problem
    Thanks!

    I'm not sure, but I think you have to use XSLTCSource in stead of StreamSource. Check the Xalan API docs at xml.apache.org .
    http://xml.apache.org/xalan-j/apidocs/index.html

  • Documentation tool for xsql-xsl-xml ??

    Hi,
    can anybody tell me if there is a good tool for documenting XSQL / XML / XSL Projects ?
    Like JavaDoc or any XREF programms?
    Thank you
    Thomas
    null

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Thomas Viohl ([email protected]):
    Hi,
    can anybody tell me if there is a good tool for documenting XSQL / XML / XSL Projects ?
    Like JavaDoc or any XREF programms?
    Thank you
    Thomas<HR></BLOCKQUOTE>
    I recommend you take a look to XML Spy http://www.xmlspy.com
    null

  • How do I pass on dynamic urls to an xsl page from ASP?

    I'm new to this.
    On my asp page I have the xsl transformation as below:
    <%
    Dim mm_xsl: Set mm_xsl = new MM_XSLTransform
    mm_xsl.setXML "http://www.dummysite?q=var1&r=var2&s=var3"
    mm_xsl.setXSL "test.xsl"
    Response.write mm_xsl.Transform()
    %>
    How can I pass new var1, var2 and var3 from a form to change the url?
    Regards

    I'm new to this.
    On my asp page I have the xsl transformation as below:
    <%
    Dim mm_xsl: Set mm_xsl = new MM_XSLTransform
    mm_xsl.setXML "http://www.dummysite?q=var1&r=var2&s=var3"
    mm_xsl.setXSL "test.xsl"
    Response.write mm_xsl.Transform()
    %>
    How can I pass new var1, var2 and var3 from a form to change the url?
    Regards

  • XSL, XML, and Metadata Names in Web Gallery Templates

    I don't know exactly how to ask the question, but what I want to do is customize the information that appears below a full-size image in an HTML web gallery. For the existing HTML gallery templates, this is the area where "caption" data is placed. You can display just about anything you want there, but you are essentially limited to a single line with no ability to format spacing. I would like to be able to show mutiple lines and format the way I want, which would be pretty easy in HTML.
    I have created a custom web gallery, and I have learned where in the transformer.xslt file the caption information is placed. However, I do not know what the metadata field names are, or more importantly how to place them in HTML. Does anyone here know enough about XSL to give me hand? Any kind of direction would be greatly appreciated.

    Try John Nack's blog
    there was some initial info there.
    Also Sean McCormack has done a lot of work on hacking the templates
    Richard Earney
    http://inside-lightroom.com

  • Xsl/Xml - How can I print the date?

    That might sound like a silly question but no matter what I do, I get an error when I try to select or copy the value of fn:current-dateTime(). All I want to do is display the date and time. Is this only available in XSLT 2.0? If so, what could I use in XSLT 1.0 that would allow me to print the date and/or time?
    Thanks,
    tech_isis

    I just discovered that you can call java within an xsl stylesheet. What I need is to capture the "system time" when the stylesheet is processing. So here's a snippet of what I have in my stylesheet:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:date="java.util.Date" xmlns:format="java.text.SimpleDateFormat" xmlns:cal="java.util.Calendar" xmlns:java="java">
    <xsl:value-of select ="java:util.Date.new()"/>
    gives me a long date i.e. Tue Nov 7....
    what I want is YYYYMMDDHHMMSS
    I've tried formattng this use SimpleDateFormat but with no success.
    Can anyone point me in the right direction?
    Thanks,
    tech_isis

  • Xsl-xml transformation: how to resolve namespace prefix?

    public static String  XMLTransform(Source xmlSource, Source xsltSource)throws DocumentException,TransformerException,TransformerConfigurationException,Exception{
              ByteArrayOutputStream returnByteStream = new ByteArrayOutputStream();
              StreamResult streamResult = new StreamResult(returnByteStream);
              TransformerFactory tFactory = TransformerFactory.newInstance();
              Templates templates = tFactory.newTemplates(xsltSource);
              Transformer transformer = templates.newTransformer();
              transformer.transform(xmlSource, streamResult);
              String result= returnByteStream.toString();
              return result;
         }now xml I have is like this
    <?xml version="1.0" encoding="utf-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
         <soap:Body>
              <FindItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" Traversal="Shallow">
                   <ItemShape>
                        <t:BaseShape>AllProperties</t:BaseShape>
                   </ItemShape>
                   <ParentFolderIds>
                        <t:DistinguishedFolderId Id="inbox"/>
                   </ParentFolderIds>
              </FindItem>
         </soap:Body>
    </soap:Envelope>how do i pass namespace in transformation?

    You don't "pass" the namespace in your transformation. Simply declare it in the root element, exactly as you declared it in your XML document.

  • Creating Excel xml spreadsheets from XSL

    Hi
    I am trying to create Excel xml spreadsheets from XSL.
    I am using Tim's blog as my reference.
    http://blogs.oracle.com/xmlpublisher/2010/03/multisheet_excel_output.html
    Following is my xml data:
    <?xml version="1.0" encoding="WINDOWS-1252"?>
    <!-- Generated by Oracle Reports version 10.1.2.0.2 -->
    <XXTEK_TEST>
    <LIST_G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>30-MAR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname1</PARTY_NAME>
    <ORDER_NUMBER>17183</ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>03-APR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname2</PARTY_NAME>
    <ORDER_NUMBER></ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>03-APR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname3</PARTY_NAME>
    <ORDER_NUMBER></ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>03-APR-09</PROCESSED_DATE>
    <PARTY_NAME>party name5</PARTY_NAME>
    <ORDER_NUMBER></ORDER_NUMBER>
    </G_PROCESSED_DATE>
    <G_PROCESSED_DATE>
    <PROCESSED_DATE>30-MAR-09</PROCESSED_DATE>
    <PARTY_NAME>partyname7</PARTY_NAME>
    <ORDER_NUMBER>17183</ORDER_NUMBER>
    </G_PROCESSED_DATE>
    </LIST_G_PROCESSED_DATE>
    </XXTEK_TEST>
    Following is my xsl file:
    <xsl:stylesheet version="1.0" xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:user="urn:my-scripts"
    xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel"
    xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
    <xsl:output method="xml" encoding="utf-8" indent="yes" omit-xml-declaration="no"/>
    <xsl:template match="/">
    <Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet" xmlns:o="urn:schemas-microsoft-com:office:office"
    xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
    xmlns:html="http://www.w3.org/TR/REC-html40">
    <ss:Styles>
    <ss:Style ss:ID="Default" ss:Name="Normal">
    <ss:Font ss:Color="black" ss:Size="10" ss:Bold="1" ss:FontName="Arial"/>
    </ss:Style>
    <ss:Style ss:ID="x1">
    <ss:Font ss:Color="black" ss:Size="10" ss:FontName="Arial"/>
    </ss:Style>
    <ss:Style ss:ID="xdo2">
    <ss:Font ss:Color="black" ss:Size="10" ss:FontName="Arial"/>
    <ss:NumberFormat Format="$#,##0;[Red]$#,##0" Bold="0" />
    </ss:Style>
    </ss:Styles>
    <xsl:apply-templates select="XXTEK_TEST"/>
    </Workbook>
    </xsl:template>
    <xsl:template match="XXTEK_TEST">
    <Worksheet>
    <Table x:FullColumns="1" x:FullRows="1">
    <Row>
    <Cell>
    <Data ss:Type="String">Process date</Data>
    </Cell>
    <Cell>
    <Data ss:Type="String">Party name</Data>
    </Cell>
    <Cell>
    <Data ss:Type="String">Order number</Data>
    </Cell>
    </Row>
    <xsl:for-each select=".//G_PROCESSED_DATE">
    <Row>
    <Cell ss:StyleID="x1">
    <Data ss:Type="String">
    <xsl:value-of select="PROCESSED_DATE"/>
    </Data>
    </Cell>
    <Cell ss:StyleID="x1">
    <Data ss:Type="String">
    <xsl:value-of select="PARTY_NAME"/>
    </Data>
    </Cell>
    <Cell ss:StyleID="x1">
    <Data ss:Type="String">
    <xsl:value-of select="ORDER_NUMBER"/>
    </Data>
    </Cell>
    </Row>
    </xsl:for-each>
    </Table>
    </Worksheet>
    </xsl:template>
    </xsl:stylesheet>
    While creating the template, I have chosen the template type XSL-XML. I am trying to test this on E-business Suite (R12).
    I get the error "The uploaded file TEST_temp.xsl is invalid. The file should be in XSL format."
    Where am I going wrong?
    I am trying to create Excel XML spreadsheets, because the excel files created using RTF templates are very huge in size. And it is taking an unacceptable amount of time to open the file. Is there any other solution to overcome this performance issue?
    Regards
    Nishka

    Nishka,
    Looks like your XSL stylesheet is missing the XML header at the top.
    So normally it would look like:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet....>
    </xsl:stylesheet>
    as an Example a stylesheet which just outputs a field:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xdoxslt="http://www.oracle.com/XSL/Transform/java/oracle.apps.xdo.template.rtf.XSLTFunctions">
    <xsl:template match="/">
    <xsl:text>My field:</xsl:text>
    <xsl:value-of select="MYFIELD"/>
    </xsl:template>
    </xsl:stylesheet>
    Patrick

  • Created Excel Template XSL, but XML output always open IE (not Excel)

    Hello,
    We are using :
    -     XML Publisher : 10.1.3.4.1
    -     Oracle Appli : 11.5.10.2 ( DB : 10.2.0.4.0)
    - Oracle Reports Builder : 10.1.2.0.2
    We use Reports for building the query that is used with XML Publisher.
    We would like to use XML Publisher with an output Excel.
    After noticing a problem with display of numeric cells when using a RTF template ( decimal places, there's a lot of threads on this), we decided to follow an advice on xlspe.com, and we created a Excel template, that we saved as a XML Spreadsheet, and using the xlspe tools, we generated the XSL file.
    Then we defined everything in Oracle Applications EBS:
    - data definition
    - template ( XSL-XML as input, and XML as output. Note that XML is the only option)
    - executable ( execution method "Oracle Reports" )
    - program request : ( output format XML )
    This works fine when the use a RTF template with an output Excel. (except the issue on the decimal places). in the concurrrent requests form, the output button opens Excel correctly.
    When we go with a XSL template, with an output XML, the output generation works fine, but, in the concurrent requests form, the output button opens internet explorer IE instead of Excel (probably because it's a XML output file)
    I hope my explanation is clear.
    Did I make a mistake in the definition ?
    Is there anyone who has experienced and solved this issue ?
    Thanks a lot in advance,
    Olivier

    Hello,
    After many talks, I found out how to fix this issue.
    Basically, the issue is in Oracle Application where the MIME type is not defined for XML Excel type files.
    By default, XML is open with the browser.
    For solving the opening of XML Excel files with Excel (and not Internet Explorer IE), we had to add under the "System Admin > install > Viewer Options " a new entry for " XML - application/xnd.ms-excel - Microsoft Excel "
    And also, under the System profiles, for option "Viewer: Application for XML", set the value to Microsoft Excel, and, as well, for option "Viewer: Application : Text", set the value to Browser.
    This resolves the issue, and a XML Excel file generated by XML Publisher (from a XSL-XML template), is opened directly with Excel.
    Thanks for your contributrion,
    Olivier

  • Docbook.xsl processing error on XSQL XML output

    Hi all,
    I've got an XSQL page query which returns a docbook-schema-valid document in XML. I've written a simple xsl stylesheet to test the output and the results are as expected. I now want to use the docbook.xsl designed by Norman Walsh but I'm getting an error with some of the included templates. When I investigate the problem templates, I notice a document declaration that I've never seen before. When I exclude the offending template by commenting out the include statement, processing continues until it reaches another template which has the the same 'mixed' document declaration. Due to the way the docbook stylesheet elements and variables are structured, it is not possible to exclude all the stylesheets with the 'mixed' declaration - plus it defeats the purpose of using the docbooks framework in the first place.
    The details of the various pages are:
    1) XSQL page
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <?xml-stylesheet type="text/xsl" href="/WEB-INF/docbook/html/docbook.xsl" ?>
    <page xmlns:xsql="urn:oracle-xsql" connection="jdbc/DBConnection1DS">
    <xsql:query max-rows="1" null-indicator="yes" tag-case="lower">
    SELECT extractValue(x.DOCBOOKS_DOC, '/book/part/title', 'xmlns="http://docbook.org/ns/docbook"') "BOOK_TITLE",
    extract(x.DOCBOOKS_DOC, '/book/part/chapter/sect1/sect2', 'xmlns="http://docbook.org/ns/docbook"') "BOOK_CONTENT"
    FROM DOCBOOKS_STORE x</xsql:query>
    </page>
    2) The docbook.xsl
    <?xml version='1.0'?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:d="http://docbook.org/ns/docbook"
    xmlns:ng="http://docbook.org/docbook-ng"
    xmlns:db="http://docbook.org/ns/docbook"
    xmlns:exsl="http://exslt.org/common"
    exclude-result-prefixes="db ng exsl d"
    version='1.0'>
    <xsl:output method="html"
    encoding="ISO-8859-1"
    indent="no"/>
    <xsl:include href="../VERSION"/>
    <xsl:include href="param.xsl"/>
    <xsl:include href="../lib/lib.xsl"/>
    <xsl:include href="../common/l10n.xsl"/>
    <xsl:include href="../common/common.xsl"/>
    <xsl:include href="../common/labels.xsl"/>
    <xsl:include href="../common/titles.xsl"/>
    <xsl:include href="../common/subtitles.xsl"/>
    <xsl:include href="../common/gentext.xsl"/>
    <xsl:include href="../common/targets.xsl"/>
    <xsl:include href="../common/olink.xsl"/>
    <xsl:include href="../common/pi.xsl"/>
    <xsl:include href="autotoc.xsl"/>
    <xsl:include href="autoidx.xsl"/>
    <xsl:include href="lists.xsl"/>
    <xsl:include href="callout.xsl"/>
    3) When the XSQL page is run, the follwing error is encountered:
    Oracle XML Developers Kit 10.2.0.1.0 - Production
    XML-25011: Error processing XSLT stylesheet: /WEB-INF/docbook/html/docbook.xsl
    file://var/app/oracle/appserv/product/10.1.3/OracleAS_1/j2ee/home/applications/MCMCIntroHomePage1/MCMCIntroHomePage1/WEB-INF/docbook/html/docbook.xsl: XML-22002: (Fatal Error) Error while processing include XSL file (autoidx.xsl).
    4) The included stylesheet - autoidx.xsl - has the following declaration
    <?xml version="1.0"?>
    <!DOCTYPE xsl:stylesheet [
    <!ENTITY % common.entities SYSTEM "../common/entities.ent">
    %common.entities;
    ]>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:d="http://docbook.org/ns/docbook"
    xmlns:exslt="http://exslt.org/common"
    extension-element-prefixes="exslt"
    exclude-result-prefixes="exslt d"
    version="1.0">
    It's this 'mixed' stylesheet declaration that appears to cause the XLST processor problems.
    Any suggestions as to how I might overcome this issue?
    Thanks
    George

    Unfortunately yes. I get the following error message from JDeveloper's XML editor.
    ' Missing entity 'primary' '
    I've even tried excluding all the xsl's with similar DTDs but then you start to get the following error messages from after running the XSQL page:
    XML-25011: Error processing XSLT stylesheet: /WEB-INF/docbook/html/docbook.xsl
    file://var/app/oracle/appserv/product/10.1.3/OracleAS_1/j2ee/home/applications/MCMCIntroHomePage1/MCMCIntroHomePage1/WEB-INF/docbook/html/index.xsl<Line 62, Column 50>: XML-22049: (Error) Template 'generate-index' invoked but not defined.
    or
    XML-25011: Error processing XSLT stylesheet: /WEB-INF/docbook/html/docbook.xsl
    file://var/app/oracle/appserv/product/10.1.3/OracleAS_1/j2ee/home/applications/MCMCIntroHomePage1/MCMCIntroHomePage1/WEB-INF/docbook/html/param.xsl<Line 287, Column 36>: XML-22031: (Error) Variable not defined: 'pixels.per.inch'.
    And the problem just escalates the more stylesheets you exclude. It's the cross-referencing structure of the docbooks that causes this.
    I'm now wondering if there's anyone who has managed to use the standard docbook.xsl with Oracle XSQL?

Maybe you are looking for

  • My first mac and I'm hating iPhoto

    Recently got first MBP, always been a windows guy.  I love this computer but I'm pulling my hair out with iPhoto.  I moved all my windows files into a folder on my mac desktop and gradually moved everything into the right place.  Finally I was down t

  • How to Stop workflow which is in Progress status.

    Hi , I have started a workflow while testing , now it has reached to the inbox of different agents. could you please suggest how to stop the workflow and rollback everything affected because of it . best regards abhijeet chitale

  • Multiple-record form

    HI Everybody, Could anyone be so kind to assist me in the following problem? I have built a master-detail form with several records displayed. Screen items are Read/Write, Read-only and text for domains in popup-lists (these will be populated at the

  • Can you add your own designed frames, a psd file, to images in Aperture 3 and save this action to repeat?

    Hi, i'm an event photoger and trying to figure out the least expensive way to process numerous 5x7 images with a predesigned psd template/frame for print. All the images will have the same frame on it as well be the same size. Current process is too

  • Adobe Lifecycle Designer

    Dear All, Does ALD come as a add-on while installing ECC 6.0? If so what are the restrictions on versions? I have SAPGUI 7.0 with EhP 1. Do I need to install ALD separately? How? Please revert. Thank you. Regards, Prosenjit.