XSL-1009 XSL:Version

The following xsl sample will translate with ORAXSL without errors in one of my docs:
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="../generic/parsePOHeader.xsl"/>
<xsl:import href="../generic/parsePOLine.xsl"/>
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<xsl:value-of disable-output-escaping="yes" select="'&lt;?soxtype urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.sox$1.0?&gt;'"/>
<xsl:element name="Order">
<xsl:element name="OrderHeader">
<xsl:call-template name="parsePOHeader">
<xsl:with-param name="HEADER" select="//POHEADER"/>
<xsl:with-param name="ProcessPO" select="'Y'"/>
</xsl:call-template>
</xsl:element>
<xsl:if test="count(//POLINE) &gt; 0">
<xsl:element name="OrderDetail">
<xsl:element name="ListOfItemDetail">
<xsl:for-each select="//POLINE">
<xsl:call-template name="parseLINE">
<xsl:with-param name="LineItem" select="."/>
</xsl:call-template>
</xsl:for-each>
</xsl:element>
</xsl:element>
</xsl:if>
<xsl:call-template name="createOrderSummary">
<xsl:with-param name="NumLines" select="count(//POLINE) + count(//POSUBLINE)"/>
<xsl:with-param name="Amount" select="//POHEADER/OPERAMT[@qualifier='EXTENDED' and @type='T']"/>
</xsl:call-template>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
The following xsl with the same stylesheet statement errors out.
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="../generic/parsePOHeader.xsl"/>
<xsl:import href="../generic/parsePOLine.xsl"/>
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">
<xsl:value-of disable-output-escaping="yes"
select="'&lt;?soxtype
urn:x-commerceone:document:com:commerceone:XCBL30:XCBL30.so
x$1.0?&gt;'"/>
<xsl:element name="Order">
<xsl:element name="OrderHeader">
<xsl:call-template name="parsePOHeader">
<xsl:with-param name="HEADER"
select="//POHEADER"/>
</xsl:call-template>
</xsl:element>
<xsl:if test="count(//POLINE) &gt; 0">
<xsl:element name="OrderDetail">
<xsl:element name="ListOfItemDetail">
<xsl:for-each select="//POLINE">
<xsl:call-template name="parseLINE">
<xsl:with-param name="LineItem"
select="."/>
</xsl:call-template>
</xsl:for-each>
</xsl:element>
</xsl:element>
</xsl:if>
<xsl:call-template name="createOrderSummary">
<xsl:with-param name="NumLines"
select="count(//POLINE) + count(//POSUBLINE)"/>
<xsl:with-param name="Amount"
select="//POHEADER/OPERAMT[@qualifier='EXTENDED' and
@type='T']"/>
</xsl:call-template>
</xsl:element>
</xsl:template>
</xsl:stylesheet>
ERROR:
A nonfatal internal JIT (3.10.107(x)) error 'GetRegisterA' has occurred in :
'oracle/xml/parser/v2/XSLNodeList.indexOf (Lorg/w3c/dom/Node;)I': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
oracle.xml.parser.v2.XSLException: XSL-1016: Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.
Error occurred while processing OAGIShowPONeal.xml: XSL-1016: Extension function namespace should start with 'http://www.oracle.com/XSL/Transform/java/'.
I made the suggested change to the XSL
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="'http://www.oracle.com/XSL/Transform/java/" version="1.0">
<xsl:import href="../generic/parsePOHeader.xsl"/>
<xsl:import href="../generic/parsePOLine.xsl"/>
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/">.
And I get the following error:
Error occurred while processing ORATransformShowPO.xsl: XSL-1009: Attribute 'xsl:version' not found in 'xsl:stylesheet'.
I searched Technet.oracle.com for an explanation. According to Steve Muench, 7/24/2000, I need to use the following : <xsl:stylesheet version="1.0" xmlns:xsl=" " target="_new">http://www.w3.org/1999/XSL/Transform">
This makes no sense because it has an odd number of quotes and > symbols but I tried it. I have the same error, again.
Can anyone make sense of this?
Big Hurrah for the solution!

I typed the words "turn off jit" into Google and came up with a link like:
http://java.apache.org/faq/fom-serve/cache/152.html
that might help.

Similar Messages

  • XSL-1009: (Error) Attribute 'version' not found in 'HTML'

    Hi,
    I've got the following problem: oracle.xml.parserv2.XSLException
    <Line 1, Column 7>: XSL-1009: (Error) Attribute '{http://www.w3.org/1999/XSL/Transform}:version' not found in 'HTML'.
    and I wanted to know what are its origins and what to do to go around, knowing that:
    - we run a java application on an oracle 9iAS and it works fine !
    - we run the same application on an oracle web-to-go server and it gives this message on the client when trying to put
    - the mobile server 'java environment' is a little bit never (version) than the online environment, both servers (9ias an mobile) run on the same machine (mobile is never -> impact on client environment? Installs run under jre 1.3.01)
    - we have an xml document (DOM) and an .fo stylesheet (file/url), so no html for output! Where comes it from? The <xsl:output method="html"> has even been removed and tried with method="application/pdf", no change.
    - the function XSLProcessor.newXSLStylesheet raises this exception; to make it at least run on online environment, we used the .jar file from JDevelopper 9.0.2.822 (this .jar is used in JDev, on 9ias and mobile client)
    - the output file (via apache's fop) shows correctly in the online version, but fails the create/use of the stylesheet (tried stylesheet with xml data for output and a generique 'Hello World' .fo for pdf output, both fail)
    - the .fo starts with <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
    - we even tried xsl:version="1.0" and no version at all
    - the same XML parsed with an .xsl for html output works fine, in mobile, the attribute "http://www.w3.org/1999/XSL/Transform" does not show up as an error
    I guess we have a version or configuration conflict, but what exactly could it be? If you need some more version numbers, just let me know.
    Thanx very much for any help!

    Hi,
    as I wrote in the inital message, we even left out the output method or used "application/pdf". The result is unfortunately always the same. And I still claim this is not a problem with the stylesheet itself, it has to do something with the mobile's environment.
    Something I didn't tell: we have 2 servlets in our application, 1 responsible for output in html and 1 in pdf. The .fo stylesheet passed to the 'html servlet' is parsed correctly (and shows the source code, because it does not know about fo and conversion to pdf), the .xsl stylesheet passed to the 'pdf servlet' raises same exception/same line. You might tell us that there is a problem with the 'pdf servlet', but once again: why in online it is working?
    Greetings and thanx very much for your precious time!

  • Oracle.xml.parser.v2.XSLException: XSL-1009: Attribute 'xsl:version' not found in 'RO

    I'm using the oracle.xml.parser.v2. The files (xml, xsl) are:
    <?xml version="1.0" ?>
    <?xml-stylesheet type="text/xsl" href="king.xsl" ?>
    <ROWSET>
    <ROW>
    <EMPNO>7839</EMPNO>
    <ENAME>KING</ENAME>
    </ROW>
    </ROWSET>
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xml" indent="yes"/>
    <xsl:template match="/">
    <INVITATION>
    <TO>
    <xsl:value-of select="ROWSET/ROW/ENAME"/>
    <xsl:text> &; FAMILY </xsl:text>
    </TO>
    </INVITATION>
    </xsl:template>
    </xsl:stylesheet>
    The error is: oracle.xml.parser.v2.XSLException: XSL-1009: Attribute 'xsl:version' not found in 'ROWSET'.
    The files are well formed (tested with XML Spy 3.5). Can you see what's the problem? or is it a bug with the parser?
    help,
    Alberto
    null

    I encountered the same problem. When I change the order of the XML and XSL files, i am the same problem.
    Perhaps it's the environment AIX 4.3.3, JDK IBM 1.2.2 with JIT disable (because when JIT is enable some other problems become)??
    How can i resolve this bug ?
    Thanks.
    null

  • XSL-1009: Attribute 'xsl:version'  not found in 'BatchDelivery'.

    I have seen this error in many postings and have never understood just what was being transgressed. I am trying to prepare an xml file for inserting into a table using OracleXML putXML but I never get that far. I have exhausted all my guesses and interpretations of others' postings.
    C:\oracle\Samples\BatchDelivery>oraxsl -debug batchdelivery.xsl batchdelivery.txt out.xml
    Error occurred while processing batchdelivery.txt: file:/C:/oracle/Samples/Batch
    Delivery/batchdelivery.txt<Line 2, Column 83>: XSL-1009: Attribute 'xsl:version' not found in 'BatchDelivery'.
    C:\oracle\Samples\BatchDelivery>
    batchdelivery.xsl:
    <ROWSET xsl.version="1.0" xmlns:xsl="http://www.w3.org/1999/xsl/Transform" >
    <xsl:for-each select="BatchDelivery/BatchConfiguration">
    <ROW >
    <KEYCONFIGID><xsl:value-of select="KeyConfigID"/></KEYCONFIGID>
    <CARDREQUIREMENTSID><xsl:value-of select="CARDREQUIREMENTSID"/></CARDREQUIREMENTSID>
    <CARDPRODUCTID><xsl:value-of select="CardProductID"/></CARDPRODUCTID>
    <PHYSICALDESCRIPTIONID><xsl:value-of select="PhysicalDescriptionID"/></PHYSICALDESCRIPTIONID>
    <LOGICALDESCRIPTIONID><xsl:value-of select="LogicalDescriptionID"/></LOGICALDESCRIPTIONID>
    <PACKAGECONFIGID><xsl:value-of select="PackageConfigID"/></PACKAGECONFIGID>
    </ROW>
    </xsl:for-each>
    </ROWSET>
    batchdelivery.xml
    <BatchDelivery xmlns="http://www.activcard.com/xml/ns/acms/batch/1.0" xmlns:xsl="http://www.w3.org/2001/XMLSchema-instance"
    xsl:schemaLocation="http://www.activcard.com/xml/ns/acms/batch/1.0/batch_1.0.xsd">
         <Header>
              <DocID>BD-CAC-0000000001</DocID>
              <Date>2001-06-15T00:00:00</Date>
              <Author>Oberthur</Author>
              <Comment>Batch Delivery sample</Comment>
         </Header>
         <DeliveryPlaceInfo>
              <DeliveryPlaceID>OCS-01</DeliveryPlaceID >
              <OrganizationName>Oberthur</OrganizationName>
              <Address>1600 Vault St</Address>
              <City>Storage City</City>
              <ZipCode>33333</ZipCode>
              <State>CA</State>
              <Country>USA</Country>
              <MainContactPerson>
                   <PersonName>joeDoe</PersonName>
                   <Tel1>1-608-578-5000</Tel1>
                   <Tel2/>
                   <Fax/>
                   <Email>[email protected]</Email>
              </MainContactPerson>
         </DeliveryPlaceInfo>
         <CardManufacturerInfo>
              <CardManufacturerID>Oberthur-01</CardManufacturerID>
              <OrganizationName>Oberthur Card Systems</OrganizationName>
              <Address/>
              <City/>
              <ZipCode/>
              <State/>
              <Country/>
              <MainContactPerson>
                   <PersonName/>
                   <Tel1/>
                   <Tel2/>
                   <Fax/>
                   <Email/>
              </MainContactPerson>
         </CardManufacturerInfo>
         <BatchConfiguration>
         <KeyConfigID>0000000002</KeyConfigID>     <CardRequirementsID>0000000001</CardRequirementsID>
         <CardProductID>0000000002</CardProductID>     <PhysicalDescriptionID>0000000001</PhysicalDescriptionID>
              <LogicalDescriptionID>0000000001</LogicalDescriptionID>
              <PackageConfigID>0000000001</PackageConfigID>
         </BatchConfiguration>
    </BatchDelivery>

    I am cursed by the tendency to mistype whenever I repeatedly cut/paste/test/post! Changing the "." to ":" has no affect whatsoever. I wish it did!
    Mike

  • XSL-1009: Attribute 'xsl:version' not found in 'xsl:stylesheet'

    I'm just starting to test XML in Oracle 8.1.7 for NT, and received the following error while testing the Oracle provided "xslsample" procedure. I modified the "iden.xls" stylesheet and added version="1.0", but still receive the same error.
    execute xslsample('C:\XML\Sample','family.xml','iden.xsl','family.out','errors.txt');
    Parsing XML document C:\XML\Sample/family.xml
    Parsing XSL document C:\XML\Sample/iden.xsl
    The id is16777216
    The id is16777217
    XSL Root element information
    Qualified Name: xsl:stylesheet
    Local Name: stylesheet
    Namespace: http://www.w3.org/XSL/Transform/1.0
    Expanded Name: http://www.w3.org/XSL/Transform/1.0:stylesheet
    A total of 1 XSL instructions were found in the stylesheet
    BEGIN xslsample('C:\XML\Sample','family.xml','iden.xsl','family.out','errors.txt'); END;
    ERROR at line 1:
    ORA-20100: Error occurred while processing: XSL-1009: Attribute 'xsl:version'
    not found in 'xsl:stylesheet'.
    ORA-06512: at "SCOTT.XSLPROCESSOR", line 22
    ORA-06512: at "SCOTT.XSLPROCESSOR", line 346
    ORA-06512: at "SCOTT.XSLSAMPLE", line 59
    ORA-06512: at line 1
    null

    There is a bug in the demo stylesheet. In iden.xsl the line:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">should instead be:
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

  • XSL-1009 error in XML to XML using XSL

    I'm using XSL to transform one XML format to another using and XSL transform file. I'm initiating this with ORAXSL in.xml transform.xsl out.xml. The XSL file has in it:
    <?xml version="1.0"?>
    <xsl:stylesheet xmlns:xsl="http://www.oracle.com/XSL/Transform/Java" version="1.0">
    <xsl:import href="../generic/parsePOHeader.xsl"/>
    <xsl:import href="../generic/parsePOLine.xsl"/>
    <xsl:output method="xml" indent="yes"/>
    <xsl:template match="/">
    ORAXSL gives an error of XSL-1009: Attribute xsl:version not found in XSL:Stylesheet.
    Putting an XSL: prefix on the version doesn't help. A search for help on this site had a solution for XSL that create HTML.
    Has anyone else solved this problem?

    Thanks everyone for th ereply. Yes, I tested the mapping in integration bulider and it works fine. Even the file conversion works fine intermittantly! Sometimes it converts successfully and wrties file to target location and sometimes I get this error. I checkd in sxi_cache and I see the mapping xsl files there. I jus had basis reboot PI server and run some cache commands but still same problem! Also, when I have to files in source directory sometimes it converts both, sometimes one and sometimes both fails! I haveno clue what els to try.
    What are adapter nodes and wher can I check for that?
    Thanks.
    Mithun

  • XSL-1009 error

    Ok, I'm driving myself nuts with this and hoping someone can help! I've reviewed the other posts and re-checked things but it still doesn't work. Here's a simple test case:
    I have two tables. One of them is the SCOTT.EMP table. The other table is one I created; very simple two column table as follows (also in the scott schema):
    CREATE TABLE sjh_test
    sales_brand_bsnss_id VARCHAR2(10),
    xml_doc XMLTYPE
    In the xml_doc column I've stored an XSL style sheet. Here's the insert statement used, with the actual style sheet:
    insert into scott.sjh_test
    VALUES(100, sys.XMLType.createXML
    ('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="/">
    <html>
    <body>
    Hello there.
    <xsl:for-each select="ROWSET">
    <table border="1" cellspacing="0">
    <xsl:for-each select="ROW">
    <tr>
    <td><xsl:value-of select="EMPNO"/></td>
    <td><xsl:value-of select="ENAME"/></td>
    </tr>
    </xsl:for-each>
    </table>
    </xsl:for-each>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>'))
    All I want to do I create a simple proof of concept which grabs some data from the EMP table as an XML document, then apply the XSL style sheet and get a result--the HTML output. Here is my code. The line of code "dbms_xmlquery.setXSLT(queryCtx, theStyleSheet);" throws the XSL-1009 error. The actual error text is "ORA-29532: Java call terminated by uncaught Java exception: oracle.xml.sql.OracleXMLSQLException: XSL-1009: Attribute 'xsl:version' not found in 'ROWSET'."
    declare
    queryCtx dbms_xmlquery.ctxType;
    queryCtx2 dbms_xmlquery.ctxType;
    result clob;
    theStyleSheet clob;
    errorNum NUMBER;
    errorMsg VARCHAR2(200);
    v_more BOOLEAN := TRUE;
    begin
    queryCtx := dbms_xmlquery.newContext('SELECT empno, ename, deptno FROM emp WHERE deptno = 7369');
    queryCtx2 := dbms_xmlquery.newContext('select s.xml_doc.getClobVal() as stylesheet from scott.sjh_test s');
    theStyleSheet := dbms_xmlquery.getXML(queryCtx2);
    dbms_xmlquery.closeContext(queryCtx2);
    dbms_xmlquery.setXSLT(queryCtx, theStyleSheet); -- ERROR HAPPENS HERE!
    result := dbms_xmlquery.getXML(queryCtx);
    dbms_xmlquery.closeContext(queryCtx);
    WHILE v_more LOOP
    DBMS_OUTPUT.PUT_LINE(Substr(theStyleSheet, 1, 255));
    IF Length(theStyleSheet) > 32767 THEN
    theStyleSheet := Substr(theStyleSheet, 32768);
    ELSE
    v_more := FALSE;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(Substr(SQLERRM,1,255));
    end;
    Any ideas??
    Thanks very much, in advance.
    Scott

    Thanks for the suggestion. That gets me past that problem. It is now throwing a NullPointerException on this line:
    result := dbms_xmlquery.getXML(queryCtx);
    Here's the full code:
    begin
    queryCtx := dbms_xmlquery.newContext('SELECT empno, ename, deptno FROM emp WHERE deptno = 7369');
    select s.xml_doc.getClobVal() into theStylesheet from scott.sjh_test s;
    dbms_xmlquery.setXSLT(queryCtx, theStyleSheet);
    result := dbms_xmlquery.getXML(queryCtx); -- *** NullPointerException occurs here ***
    dbms_xmlquery.closeContext(queryCtx);
    WHILE v_more LOOP
    DBMS_OUTPUT.PUT_LINE(Substr(theStyleSheet, 1, 255));
    IF Length(theStyleSheet) > 32767 THEN
    theStyleSheet := Substr(theStyleSheet, 32768);
    ELSE
    v_more := FALSE;
    END IF;
    END LOOP;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(Substr(SQLERRM,1,255));
    end;
    Thanks again for the suggestion. It looks like I'm close now.
    Scott

  • Oraxsl error  XSL-1009

    while using the command line utility oraxsl,
    I recieved the following error:
    C:\MSDS>java oracle.xml.parser.v2.oraxsl msds_water.xml msdsxsl.xsl out.xml
    Error occurred while processing msdsxsl.xsl: file:/C:/MSDS/msdsxsl.xsl: XSL-1009
    : (Error) Attribute 'select' not found in 'xsl:value-of'.
    the file are well formed xml documents they are located at
    http://209.210.189.94/msds/MSDS_water.xml
    http://209.210.189.94/msds/MsdsXsl.xsl
    C:\MSDS>oraxml msdsxsl.xsl
    C:\MSDS>java oracle.xml.parser.v2.oraxml msdsxsl.xsl
    The input XML file is parsed without errors using partial validation mode
    C:\MSDS>oraxml msds_water.xml
    C:\MSDS>java oracle.xml.parser.v2.oraxml msds_water.xml
    The input XML file is parsed without errors using partial validation mode

    DISREGARD... I FIXED PROBLEM
    while using the command line utility oraxsl,
    I recieved the following error:
    C:\MSDS>java oracle.xml.parser.v2.oraxsl msds_water.xml msdsxsl.xsl out.xml
    Error occurred while processing msdsxsl.xsl: file:/C:/MSDS/msdsxsl.xsl: XSL-1009
    : (Error) Attribute 'select' not found in 'xsl:value-of'.
    the file are well formed xml documents they are located at
    http://209.210.189.94/msds/MSDS_water.xml
    http://209.210.189.94/msds/MsdsXsl.xsl
    C:\MSDS>oraxml msdsxsl.xsl
    C:\MSDS>java oracle.xml.parser.v2.oraxml msdsxsl.xsl
    The input XML file is parsed without errors using partial validation mode
    C:\MSDS>oraxml msds_water.xml
    C:\MSDS>java oracle.xml.parser.v2.oraxml msds_water.xml
    The input XML file is parsed without errors using partial validation mode

  • Xsl Problem( xsl:for-each .... )

    Hi
    I have Xml Dom Object which contain
    <Root>
       <CD>
          <Title>Empire Burlesque</Title>
          <artist>Bob Dylan</artist>
          <Price>10.50</Price>
       </CD>
    </Root> my XSL contain
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="MPRoot">
      <html>
        <body>
        <h2>My CD Collection</h2>
        <table border="1">
          <xsl:for-each select="cd">
          <tr>
            <td><xsl:value-of select="title" /></td>
            <td><xsl:value-of select="artist" /></td>
            <td><xsl:value-of select="price" /></td>
          </tr>
          </xsl:for-each>
        </table>
      </body>
      </html>
    </xsl:template>
    </xsl:stylesheet> I m not getting My Desire Out put �
    I am getting all the Static Value which I have Written before (<xsl:for-each select="cd">) I have already try with (<xsl:for-each select="Root/cd"> and <xsl:for-each select="/cd"> and <xsl:for-each select="./cd">)
    Regards,
    Nilesh

    Your main template selects MPRoot elements. You don't have any MPRoot elements in your example XML. However let's suppose that your example XML is a lie and that those Root elements are MPRoot elements in real life. Then, your xsl:for-each selects cd elements. But your Root elements don't have any cd elements as children. They do have CD elements, though. So if that part of the example wasn't a lie, try <xsl:for-each select="CD"> instead.

  • Problems with the xsl element ---- xsl:output method="xml"/ ----

    Hy, my problem is the next, I am trying to read a xml file and transform it in itself but when I do with XSLT, Internet Explorer doesnt show a xml file, just show me the text nodes of the xml file. I have the element <xsl:output method="xml"/>" in the xsl file but I dont Know what Iam doing wrong.
    The next code is from the xsl file:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml"/>
    <xsl:template match="/">
    <xsl:copy-of select="catalog"/>
    </xsl:template>
    </xsl:stylesheet>
    The next code is from the xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Edited with XML Spy v2007 (http://www.altova.com) -->
    <?xml-stylesheet type="text/xsl" href="PlantillaXSL.xml"?>
    <catalog dni="4546545">
         <cd numero="2" id="5" color="red">
              <title>Empire Burlesque</title>
              <artist>Bob Dylan</artist>
              <country>USA</country>
              <company>Columbia</company>
              <price>10.90</price>
              <year>1985</year>
         </cd>
    </catalog>
    The result in internet explorer is:
    Bob Dylan USA Columbia 10.90 1985

    All right. I asked because it's unusual to use the ".xml" extension for an XSL file, so I thought it might be an error. But there's nothing wrong with that.
    Next debugging step: is that XSL file actually being used? Insert some debugging code in it so that you can tell.

  • How do I generate HTML from XML & XSL using XSL Processor ?

    I want to generate a HTML from XML & XSL using XDK for C on
    linux-8i.
    I run the XSLSample well.
    But it only generate a XML from a XML & a XSL.
    Can any one give me some advise or sample code?

    Just use HTML tags instead of xml tags in your stylesheet, and
    you'll generate HTML instead.
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <html>
          <body>
            <xsl:for-each select="ROWSET">
              <table border="1" cellspacing="0">
                <xsl:for-each select="ROW">
                  <tr>
                    <td><xsl:value-of select="EMPNO"/></td>
                    <td><xsl:value-of select="ENAME"/></td>
                  </tr>
                </xsl:for-each>
              </table>
            </xsl:for-each>
          </body>
        </html>
      </xsl:template>
    </xsl:stylesheet>

  • Xsl:include xsl:import and clob

    I can use xslprocessor.processXSL to perform transformation where the XML and XSL are in CLOBs.
    However, is it possible to perform transformation if the XML and XSLs are in CLOBs and the XSL have xsl:include and xsl:import?
    Thanks and Regards,
    Andy

    It will be supported in later release.

  • How to resolve Error: "xsl:import" XSL Element Currently not Supported

    Hello Everyone,
    I have a xsl in my process to perform transformation of source schema to target schema.
    This xsl is importing another xsl.
    I am using <xsl:import> for this purpose.
    But when I try to see the "design" editor I am getting the error given below:
    Error: "xsl:import" XSL Element Currently not Supported
    In "source" editor JDeveloper is giving no error.
    I request you all to please come forward for the rescue ;-)
    Thanks in advance.
    Regards,
    Shanty

    I think the error message is telling you that the visual design surface that simplifies creating transforms doesn't support the <xsl:import>. If you need to use <xsl:import>, and assuming that <xsl:include> (which is quite similar to import) is also not supported, then the only other option is working on the XSLT stylesheet in the source editor.

  • XSL Append & XSL Variable !!!

    Hi,
    If anyone has any ideas on the below problem I would sincerely appreciate it as it is driving me crazy!!!
    I need to concatenate/append the contents of a Collection node into a string variable, such that each element is comma seperated in the string. I need to do this to pass the string of comma seperated values into a 3rd party service that I am calling. It looks like I would use an XSL transform to achieve this. However, it appears to be impossible because Oracle Transform mapper does not support <xsl:variable> ie. I get "unsupported" when I try to use this.
    So,for example, I want to convert the following collection
    <NamesCollection>
    <name>A</name>
    <name>B</name>
    <name>C</name>
    <name>D</name>
    <name>E</name>
    <name>F</name>
    <name>G</name>
    <name>H</name>
    </NamesCollection>
    ...such that it would become:
    <NAMES>A,B,C,D,E,F,G,H</NAMES>
    I found some sample XSL code in google:
    <xsl:variable name="String">
    <xsl:for-each select="/NamesCollection">
    <xsl:value-of select="name" />
    <xsl:text>,</xsl:text>
    </xsl:for-each>
    </xsl:variable>
    However, Oracle mapper does not support "xsl:variable". So the above is no good.
    I cannot also nest a "for-each" inside a node,
    Eg.
    <NAMES>
    <xsl:for-each select="/NamesCollection">
    <xsl:value-of select="name"/>
    </xsl:for-each>
    </NAMES>
    because it complains:
    Error: Invalid Usage of <for-each> Element
    If anyone has any suggestions, they would be sincerely appreciated !!!!!!!!!

    Humm...
    You can iterate trough your NamesCollection (see <HOME>\integration\orabpel\samples\tutorials\112.Arrays sample).
    After, for each <name>, you can use an "Assign" activity to append all names to another variable.
    The trick here is to edit the "Assign" source code on process.bpel (because the default behaviour is to replace the value, not append). You have to use a BPEL extension:
    <assign name="Assign_1">
    <bpelx:append>
    <bpelx:from concat(bpws:getVariableData(eachName_Variable),",") />
    <bpelx:to variable="namesWithComma_Variable" />
    </bpelx:append>
    </assign>
    Logic:
    <IterateOver NamesCollection>
    <get one name>
    <concat it with a comma>
    <concat it with other names>
    <loop iterate>

  • Cause and solution to XSL-1009 problem

    Hi,
    I am encountering message "attribute 'match' not found in 'template'" when using Oracle XDK 9.2.0.4.0 with XSL pages/code written for Oracle XDK 1.0.0.0.0.
    If I switch back to xmlparserv2 and oraclexsql servlet from Version 1.0 it works fine.
    I've searched the internet but there is nothing worthwhile to be found.
    Any help would be greatly appreciated.
    Thank you,
    Sorin

    the router is a netgear wireless extreme for pc and mac

Maybe you are looking for

  • Multiselect list in APEX 3.2.1.00.12

    Hello, I'm having troubles with a multiselect list that could potentially return a very large result set. I have a function called 'GET_LIST' that basically calls the apex_util.STRING_TO_TABLE(p_string,p_delimiter); function since the multiselect lis

  • HT1338 Upgrade Retina Macbook Pro to OS X Mountain Lion

    Were do I go to upgrade my new Retina Macbook Pro without having to pay the upgrade fee?

  • Error code: 0000001

    Also, I omitted this by mistake, I can not reboot from the recovery drive created when I first purchased the laptop. Along with the error code is: the file; windows\system32\winload.efi                                              Error code: Oxc0000

  • Is it possible to unlink sub VIs to prevent affecting other projects

    We are running a validation with different flavours of the same IC which require using the same set of VIs with slightly different settings. In order to avoid confusion for users who are running with one type of silicon we have decided to make a copy

  • Packing proposal & packing instruction

    Hi Guru's, what is difference between packing proposal & packing instruction? Is it necessary to mention packing instruction in packing proposal? can we create nested HU in packing instuction ? If yes, could u pls. elaborate  step on this . Is it nec