XML DevCon 2001: Submit schema and stylesheet problems- win XML Spy

There are only a few days to submit schema and stylesheet problems for XML
DevCon 2001 in London. If the workshop instructors use your submission
during the conference, you win a copy of XML Spy.
<shamelessPlug>
XML DevCon 2001 has a content-rich technical program with a faculty that
includes Henry Thompson (W3C Fellow), Peter Chen (IEEE Fellow, ACM
Fellow),
Martin Bryan (DIFFUSE Project), and authors such as Bob DuCharme, Ian
Graham, Elliotte Rusty Harold, G. Ken Holman, Benoît Marchal, JP
Morgenthal,
and Simon St. Laurent. There are a variety of eBusiness sessions,
including
panel discussions and presentations about ebXML, Web Services, and UDDI.
The program includes presentations by Jonathan Borden, Ron Bourret, Lee
Buck, Alex Chaffee, Mark Colan, John Evdemon, Meike Klettke, Andy
Longshaw,
Ingo Macherius, Simon Nicholson, David Orchard, Sebastian Rahtz, Daniel
Rivers-Moore, Michael Rys, Krishna Sankar, Matt Sergeant, Richard Tobin,
Priscilla Walmsley, David RR Webber and other distinguished faculty.
</shamelessPlug>
http://www.xmldevcon2001.com/London/html/conference.php
For a free pass to exhibits and special events (keynotes, joint XML UK and
British Computer Society meeting, OASIS XPath/XSLT meeting, vendor
presentations):
http://www.xmldevcon2001.com/London/html/special_events.php
Public submissions (schemas and stylesheets)
Three members of the W3C Schema Working Group (Michael Rys, Henry
Thompson, Priscilla Walmsley) will teach a Schema Workshop. Submit
problem schemas to them by e-mail:
[email protected]
or
http://www.xmldevcon2001.com/London/html/session.php?code=W5
Sebastian Rahtz, Bob DuCharme, Benoît Marchal, and Ken Holman will
present the "Stylesheets and Transformations: Best Practices" workshop on
Thursday, February 22 in London. To submit a stylesheet or problem
description for their workshop:
[email protected]
or browse to:
http://www.xmldevcon2001.com/London/html/session.php?code=T17
========== Ken North ======================
See you at Javacon 2001 (New York, March 1)
www.javacon2001.com
XML DevCon 2001: London (February 21-23) New York (April 8-11)
www.xmldevcon2001.com
=======================================

Looks okay to me. But then I have no idea of what those "problems" are that you mentioned. Was there a particular reason you didn't tell us what they are?

Similar Messages

  • XML Gateway OXTA submit to eBusiness Suite Problems

    Hi all,
    I am using XML gateway to receive an inbound transaction from a custom web service i built.
    It uses an OXTA connection over HTTP
    I basically copied it from the XML Gateway User guide...
    http://download.oracle.com/docs/cd/B34956_01/current/acrobat/120ecxug.pdf
    And on page 7-21 it says
    "The receiving Web server sends the message response back to the sending Web server.
    The message response includes Message Receipt ID, Status Code, and Status
    Description. A status code of 1000 implies the message was successfully posted."
    I get a status code of 1000 which was great!
    But the message doesn't really get to the eBusiness Suite. There is a problem somewhere but I don't know where.
    If XML Gateway says the message is ok, but eBusiness suite doesn't get it...where is the issue? Maybe in workflow? How do I test this if I get a 'ok' status back? What should I look for?
    Any help would be much appreciated.
    -Jason
    My OXTA Submit Message Procedure:
    public Status submitMessage(SyncMessageType message) throws Exception {
    URL url = new URL(address);
    HttpURLConnection con = (HttpURLConnection) url.openConnection();
    StringBuffer buff = new StringBuffer(3000);
    getPostString(message, buff);
    con.setDoInput(true);
    con.setDoOutput(true);
    con.setRequestMethod("POST");
    OutputStream os = con.getOutputStream();
    OutputStreamWriter writer = new OutputStreamWriter(con.getOutputStream(),CHARSET);
    writer.write(buff.toString());
    writer.flush();
    Status status = new Status();
    status.setCode(Integer.parseInt(con.getHeaderField("STATUS_CODE")));
    status.setDescription(con.getHeaderField("STATUS_DESCRIPTION"));
    System.out.println(buff.toString());
    return status;
    }

    Thanks for the advice. I checked the Workflow Status monitor I did get an error...
    Internal Name          ECXERROR
    Description          XML Gateway Error Processing
    Message Direction          O
    Error Name          1
    ECX Error Type          20
    ECX Return Code          1
    ECX Error Message          Attribute 'xmlns' used but not declared.
    This seems to be an xml namespace error. Can anyone tell me how to solve this problem?
    Thanks,
    -Jason

  • Submit values and retrieve responses from xml api

    I use this code to submit to an api
    <cfhttp url="<api url>" method="GET" resolveurl="No" ></cfhttp>
    I get back

    <VerifySignatureResponse>
    −<VerifySignatureResult>
    <VerificationStatus>Success</VerificationStatus>
    </VerifySignatureResult>
    </VerifySignatureResponse>
    How do I retrieve the response? I ned to get back the Success for the VerificationStatus parameter

    this works for me
    <cfhttp url="<api url>" method="GET" resolveurl="No" ></cfhttp>
    <cfset mydoc = XmlParse(CFHTTP.FileContent)>
    <cfset pb = mydoc.variable1.XmlChildren>
    <cfset size = ArrayLen(pb)>
    <cfset myquery = QueryNew("variable1,variable2, variable3")>
    <cfset temp = QueryAddRow(myquery, #size#)>
    <cfset temp = QuerySetCell(myquery, "variable3", #mydoc.variable3.XmlText#)>
    <cfif #mydoc.variable1.variable2.variable3.XmlText# eq "Success">
    Action
    </cfif>
    You apparently didn't take the hint, Ian's or mine. What you've done may be correct, it unnecessarily involves too many functions. You could really do it more efficiently, like this
    <cfxml variable="xmlString"><cfoutput>#cfhttp.FileContent#</cfoutput></cfxml>
    <cfset statusArray=xmlSearch(xmlString,"//VerificationStatus")>
    <cfif statusArray[1].xmlText eq "Success">
    Action
    </cfif>

  • Problem in xml query

    Hi
    I am working on BLS and having problem in xml query.I want to perform some calculation over xml columns.Than total of this as a new column.I can do this part in logic editor itself but can i do these both task by XSLT.
    Can be made our own XSLT for this ?
    I am feeling kind of fear to xslt. Can anybody help me in this.
    Thanks a lot in advance
    thomas

    Ram,
    In xMII there is a list of predefined xslt transforms that do something similar to what you are explaining.  The 3 that I think may be what you are looking for are
    they are under Calculation Transformations and Subtotal Transformation take a look at these and tell me if they are doing what you want to accomplish.  In the xMII help file do a search on Inline Transforms or navigate to Advanced Topics -> Inline Transforms -> Predefined Inline Transforms.  In this section there are examples of how to use these transforms and apply them in the query templates.  If this is not what you are looking for can you explain in a little more detail along with a simple example of how you want this transform to work.  Also why do you want to use xslt if you can already accomplish this in BLS?
    Regards,
    Erik

  • Schema and XML Type table in Oracle 9.2.0.2.0

    Somebody please helps me!
    I am studying about Oracle XML DB, and I have some problems:
    declare
    result boolean;
    begin
    result := dbms_xdb.createFolder('/doan/' );
    end;
    DELETE FROM resource_view WHERE any_path = '/doan/KHACH_HANG.xsd';
    BEGIN
    result := dbms_xdb.createresource('/doan/KHACH_HANG.xsd','<?xml version="1.0" encoding="UTF-8"?>
    <!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by NGHI (KHTN) -->
    <xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="KHACH_HANG">
              <xs:annotation>
                   <xs:documentation>Comment describing your root element</xs:documentation>
              </xs:annotation>
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="MA_KH" type="xs:string"/>
                        <xs:element name="TEN_KH" type="xs:string"/>
                        <xs:element name="DIA_CHI" type="xs:string"/>
                        <xs:element name="DIEN_THOAI" type="xs:string"/>
                        <xs:element name="EMAIL" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>');
    dbms_xmlschema.registerSchema
    'http://localhost:8080/Khach_Hang.xsd',
    xdbURIType('/doan/KHACH_HANG.xsd').getClob(),
    LOCAL => TRUE,
    GENTYPES => TRUE,
    GENTABLES => FALSE,
    OWNER => 'SCOTT');
    DROP TABLE scott.khach_hang;
    CREATE TABLE scott.Khach_Hang OF XMLType
    XMLSchema "http://localhost:8080/Khach_Hang.xsd"
    ELEMENT "KHACH_HANG";
    insert into scott.Khach_Hang values(
    XMLType('<KHACH_HANG>
    <MA_KH>12</MA_KH>
    <TEN_KH>AAAA</TEN_KH>
    <DIA_CHI>135 B Tran Hung Dao</DIA_CHI>
    <DIEN_THOAI>454646</DIEN_THOAI>
    <EMAIL>[email protected]</EMAIL>
    </KHACH_HANG>'));
    END;
    COMMIT;
    When I insert data into table, an error appearance:
    "schema and element does not match"
    Please help me!
    Thanks

    Yes, you can and should be [migrating LONG to LOB in Oracle 9.2|http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96591/adl08lon.htm].
    Justin

  • Forms pulling Multiple Records from an XML Schema and XML data files - Adobe LiveCycle Designer

    I built a form in Adobe LiveCycle with an xml schema and data file.  The problem is with how the form renders the xml data file.
    I have a statement element that consists of about 6 fields (statementID, statementName, statementAddress, statementCountry, statementZip, statementDate, etc) of data in the schema that allows for multiple iterations - so one xml data file can contain multiple statements. These fields allow for null values.
    But here's the problem:  When any of the statements - say statement 2 of 6 - has a null value in one of the fields, if the xml data file doesn't have a placeholder
    (example of placeholder:  <statementName type="String"/>   )in the xml for that field, my form pulls the field value from the NEXT statement.
    This corrupts all the rest of the statement records, as this field is shifted up for all the rest.
    I know that in the past I haven't needed a placeholder when a field was null. But I'm wondering if when the data allows for multiple records the xml data file needs to generate the placeholder.  And where is the problem? In the Schema? The xml data file? My form?  And the 64-thousand-dollar question:  How to fix it?

    If your <statement> element is the one that repeats, it should be bound to a subform with the binding string of something like $.statement[*]. Then in that subform should be your fields and they should have bindings of $.statementID, $.statementName, $.statementAddress, etc.
    Kyle

  • Can't i use xml schema and oledb data connection at the same time?

    Hello to all and thanks in advance.I use xml schema and oledb data connection at the same time and the problem is that when I try to export the xml, the outcome is not what i expect.Without the oledb connection everything is ok (just the schema) and the xml complies with the schema.
    Can't i have both schema and oledb and the exported xml be as i want it?

    You can use both at the same time, but not gor Internet access if that's what you're asking.
    Now there is a thing called Link Aggregation, which combines a number of interfaces for speed/redundancy, but it really only works locally, and then only with ALL special equipment in the route, and most likely OSX Server involved.
    Sorry.

  • Facing problem in xml schema xsd file registration

    Hi,
    i am facing problem in xml schema xsd file registration when
    the number of column is more. It is showing persing error.
    if i am deleting few column from xsd file . It is working otherwise
    showing error. Is there any solution for that please suggest me.
    The Error is
    ORA-31011:XML parsing failed
    ORA_19202: Error occurred in XML processing
    LPX-00230 : (message vary time to time-like invalid tag ending etc.)
    Regards
    Manoranjan
    and thanks in advance

    Where is you XML coming from. Are you sure it's valid. If you are hard coding it as a SQL String constant are you hitting the 4k / 32K limit on the size of SQL / PL/SQL constant. Have you tried loading the content from a bfile..

  • Question about xml schemas and the use of unqualified nested elements

    Hello,
    I have the following schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns="http://xml.netbeans.org/examples/targetNS"
        targetNamespace="http://xml.netbeans.org/examples/targetNS"
        elementFormDefault="unqualified">
        <xsd:element name="name" type="xsd:string"/>
        <xsd:element name="age" type="xsd:int"/>
        <xsd:element name="person">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element ref="name"/>
                    <xsd:element ref="age"/>
                   <xsd:element name="height" type="xsd:int"/>
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
    </xsd:schema>I am just wondering why would someone have a nested element that is unqualified? here the "height" element.
    Can anyone explain this to me please?
    Thanks in advance,
    Julien.
    here is an instance xml document
    <?xml version="1.0" encoding="UTF-8"?>
    <person xmlns='http://xml.netbeans.org/examples/targetNS'
      xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
      xsi:schemaLocation='http://xml.netbeans.org/examples/targetNS file:/E:/dev/java/XML/WebApplicationXML/web/newXMLSchemaThree.xsd'>
    <name>toto</name>
    <age>40</age>
    <height>180</height>
    </person>

    Don't worry about it.
    There are two different styles of schemas. In one style, you define the elements, attributes, etc. at the top, and then use the "ref" form to refer to them. (I call this the "global" style.) The other style is to define elements inline where they are used. ("local" style)
    Within some bounds, they work the same and which you use is a choice of you and the tools that generate the schemas.
    A warning about the local style. It is possible to define an element in two different locations in the schema that are different. It will get past all schema validation, but it seems wrong to my sense of esthetics. With the global style, this will not happen.
    So, how did this happen? Probably one person did the schema when it only had a name and age. Then, someone else added the height element. They either used a different tool, or preferred the other style. I'm aware of no difference in the document you have described between the two styles.
    Dave Patterson

  • XML schemas in subfolders problem

    We have a large number of XML schemas and have partitioned them into different folders. This means that imported schemas are often located in a relative directory e.g.
         <import namespace="http://www.xyz.com/schema/Staff" schemaLocation="../../Staff.xsd"/>
    However, when building a BPEL app in JDeveloper, the JDeveloper Web Content/Miscellaneous Files folder doesn't seem to have the facility to create sub-folders and I get validation errors when importing the schema alongside the ones it imports. I'm not an expert JDeveloper user - is there something I've missed?
    thanks Ash

    Thanks, but actually I've yet to find that problem, as I haven't even got to creating any jars or anything yet. To clarify:
    Simply using the "Import" button in the BPEL structure window in JDeveloper, you get a single prompt to browse for a schema.
    Once imported, it ends up in a Web Content/Miscellaneous Files folder alongside every other schema. So I get JDeveloper flagging errors because my schema references other schemas relative to directory folder e.g. "../../ref.xsd".

  • Problem parsing XML with schema when extracted from a jar file

    I am having a problem parsing XML with a schema, both of which are extracted from a jar file. I am using using ZipFile to get InputStream objects for the appropriate ZipEntry objects in the jar file. My XML is encrypted so I decrypt it to a temporary file. I am then attempting to parse the temporary file with the schema using DocumentBuilder.parse.
    I get the following exception:
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element '<root element name>'
    This was all working OK before I jarred everything (i.e. when I was using standalone files, rather than InputStreams retrieved from a jar).
    I have output the retrieved XML to a file and compared it with my original source and they are identical.
    I am baffled because the nature of the exception suggests that the schema has been read and parsed correctly but the XML file is not parsing against the schema.
    Any suggestions?
    The code is as follows:
      public void open(File input) throws IOException, CSLXMLException {
        InputStream schema = ZipFileHandler.getResourceAsStream("<jar file name>", "<schema resource name>");
        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        DocumentBuilder builder = null;
        try {
          factory.setNamespaceAware(true);
          factory.setValidating(true);
          factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
          factory.setAttribute(JAXP_SCHEMA_SOURCE, schema);
          builder = factory.newDocumentBuilder();
          builder.setErrorHandler(new CSLXMLParseHandler());
        } catch (Exception builderException) {
          throw new CSLXMLException("Error setting up SAX: " + builderException.toString());
        Document document = null;
        try {
          document = builder.parse(input);
        } catch (SAXException parseException) {
          throw new CSLXMLException(parseException.toString());
        }

    I was originally using getSystemResource, which worked fine until I jarred the application. The problem appears to be that resources returned from a jar file cannot be used in the same way as resources returned directly from the file system. You have to use the ZipFile class (or its JarFile subclass) to locate the ZipEntry in the jar file and then use ZipFile.getInputStream(ZipEntry) to convert this to an InputStream. I have seen example code where an InputStream is used for the JAXP_SCHEMA_SOURCE attribute but, for some reason, this did not work with the InputStream returned by ZipFile.getInputStream. Like you, I have also seen examples that use a URL but they appear to be URL's that point to a file not URL's that point to an entry in a jar file.
    Maybe there is another way around this but writing to a file works and I set use File.deleteOnExit() to ensure things are tidied afterwards.

  • Problem with XML import MDM 7.1 - Can't generate Xml Schema

    Hi All,
    When I try to open an XML file using Import manager, I'm getting some errors, as detailed below. I mention that I'm using MDM 7.1.
    The first error I received was the following:
    "Can't open C:/Program files/SAP MDM 7.1/Import Manager/XSD.exe". I copied the file xsd.exe in the Import Manager folder, as suggest here:
    Re: Import Manager Error.
    Afterwards, I received a new error:
    "Can't generate Xml Schema for: C:/Program files/SAP MDM 7.1/Import Manager/filename.xml"
    If anyone has faced the same problem - and solved it -, could you please help me find the reason for this behaviour?
    Regards,
    Laura

    Hi Laura,
    The error message "Can't generate Xml Schema"  might be related to DTD. the XML file has a directive for loading DTD.
    MDM doesnot support DTDs.
    Remove the DTD line and make sure there is only one root element in the XML file and try again.
    Hope this helps,
    Bes t Regards,
    Silpa Chillakuru

  • I am facing a new problem with xml schema, plz help me

    Hi @,
    I am facing a problem with xml schema validation. Below is my code.
    public void initialize(String cfgFileName) {
    try {
    try {
    DOMParserWrapper parser = (DOMParserWrapper)Class.forName("dom.wrappers.DOMParser").newInstance();
    parser.setFeature( "http://apache.org/xml/features/dom/defer-node-expansion",true );
    parser.setFeature( "http://xml.org/sax/features/validation",true);
    parser.setFeature( "http://xml.org/sax/features/namespaces",true );
    parser.setFeature( "http://apache.org/xml/features/validation/schema",true );
    parser.setFeature( "http://apache.org/xml/features/validation/schema-full-checking",true );
    Document document = parser.parse(cfgFileName);
    System.out.println("Vijay .. code .. damar\n");
    }catch (org.xml.sax.SAXParseException spe) {
    } catch (org.xml.sax.SAXNotRecognizedException ex ){
    } catch (org.xml.sax.SAXNotSupportedException ex ){
    } catch (org.xml.sax.SAXException se) {
    if (se.getException() != null)
    se.getException().printStackTrace(System.err);
    else
    se.printStackTrace(System.err);
    }catch (Exception e) {
    System.out.println("Caught unknown exception : \n");
    e.printStackTrace(System.err);
    System.out.println("Vijay .. code .. success\n");
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    //docBuilder.setErrorHandler(myErrorHandler);
    cfg = docBuilder.parse(new File(cfgFileName));
    cfg .getDocumentElement ().normalize ();
    } catch (Exception e) {
    e.printStackTrace();
    In the above code I am parsing the xml file and i am doing schema validation. Schema validation is proper and it is validating correctly. Only problem is that, It is validating and showing error correctly correctly but it is not catching that error.
    For clear understanding I am printing one statement before parsing and after parsing.
    SYSTEM.OUT.PRINTLN("Vijay .. code .. damar\n") this is before parsing
    SYSTEM.OUT.PRINTLN("Vijay .. code .. success\n") this is after parsing
    Here what is happening means, It is validating correctly and showing error :
    [Error] nw_layout-new.xml:800:97: Datatype error: Value 'y' does not match regular expression facet 'yes|no'..
    Vijay .. code .. damar
    Vijay .. code .. success
    Here it is showing error and still continueing not catching.
    Plz give solution for this.
    Thanks
    vijay K

    Hello dipthebe,
    Check out the articles below go through troubleshooting steps for your iPhone when the screen is unresponsive. You may want to try and restore your iPhone as a new device and then test out what happens when you miss a call to see if the issue is still present afterwards.
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/HT1414
    Regards,
    -Norm G.

  • Undigesting XML with Schema and Rules

    We currently use a Digester with schema and rules files to digest an input XML and automatically build our Java objects. What I'd like to know is if there is a REVERSE process? Is there any class or utility that can take those Java objects and build an XML file?
    Thanks,
    Rich

    Ask Microsoft why IE6 does not validate. Normally server-side developers do
    not rely on a browser to validate XML against schema or DTD but validate XML
    on the server. The same is true for XSLT transformations...
    "Benoit Degreve" <[email protected]> wrote in message
    news:aqnihv$l75$[email protected]..
    Hi everybody,
    I'm trying to validate an XML file with a schema but it doesn't seem to
    work.
    I open the XML file (that doesn't match the rules that are in the schema)
    with a IE6, and there is no errors...
    I have the same problem with a DTD (its reference is in the XML file like
    shown in my book)...
    Does the validation process have to be done by a specific application ?For
    the schema ? For the DTD ? In other words, does IE6 make the validation
    process automatically ?
    Could someone help me ?

  • Adding version and stylesheet href to an XML content

    Hi there guys!
    I am new working with XML in Oracle 9i, so I would appreciate your tips. My problem is that I need to store a XML document into a variable, which must include the "version" and "stylesheet href" lines on its body.
    For example, if I use the following sample query:
        SELECT XMLCONCAT(
            XMLELEMENT("TraspasoSaldo",
                SELECT
                    XMLELEMENT("Encabezado",
                        XMLELEMENT("Valor1", 'Valor1'),
                        XMLELEMENT("Valor2", 'Valor2')
                    ) As "Encabezado"
                FROM Dual
                SELECT
                    XMLELEMENT("Detalle",
                        XMLELEMENT("Valor1", 'Valor1'),
                        XMLELEMENT("Valor2", 'Valor2')
                    ) As "Detalle"
                FROM Dual
        ).getclobval()
        INTO
            XMLCONTENTDATA    --> Declared as: XMLCONTENTDATA CLOB := EMPTY_CLOB;
        FROM Dual
        ;Above query saves the following XML content in the XMLCONTENTDATA variable, which is correct:
      <TraspasoSaldo>
        <Encabezado>
          <Valor1>Valor1</Valor1>
          <Valor2>Valor2</Valor2>
        </Encabezado>
        <Detalle>
          <Valor1>Valor1</Valor1>
          <Valor2>Valor2</Valor2>
        </Detalle>
      </TraspasoSaldo>But, I need to add next 2 lines to this XML document:
      <?xml version = ''1.0''?>
      <?xml-stylesheet href="../xsl_path/My_StyleSheet.xsl" type="text/xsl"?>I have tried many things without success, because the XML content always looses its properties and structure. For example, trying to avoid this problem, I have tried to concatenate these 2 lines using the following trick:
        x := '<?xml version = ''1.0''?>' || CHR(13) || CHR(10);
        len := length(x);
        dbms_lob.writeappend(HEADCLOB, len, x);
        x := '<?xml-stylesheet href="../xsl_path/My_StyleSheet.xsl" type="text/xsl"?>' || CHR(13) || CHR(10);
        len := length(x);
        dbms_lob.writeappend(HEADCLOB, len, x);
        dbms_lob.append(HEADCLOB, XMLCONTENTDATA);
        XMLCONTENTDATA := HEADCLOB;But at the end I just received a text file, instead of a XML document:
    <?xmlversion=''1.0''?>
    <?xml-stylesheethref="../xsl_path/My_StyleSheet.xsl"type="text/xsl"?>
    <TraspasoSaldo><Encabezado><Valor1>Valor1</Valor1><Valor2>Valor2</Valor2></Encabezado><Detalle><Valor1>Valor1</Valor1><Valor2>Valor2</Valor2></Detalle></TraspasoSaldo>As you can see above, the XML structure is lost, so the content of the XMLCONTENTDATA variable is not an XML anymore.
    Any tips or ideas?
    Thanks very much in advance for any help on this issue!!
    PS: It is required to save this XML content into a variable in order to pass its value to a program.
    Best regards,
    Francisco

    As you can see above, the XML structure is lost, so the content of the XMLCONTENTDATA variable is not an XML anymore.The structure (i.e. format) is absolutely of no importance for a xml file.
    What you have shown when concatenating the two parts still make a valid xml !!
    Nevertheless you can also always do sth like
    SQL> with t as (
      select dbms_xmlgen.getxmltype('select * from dept where rownum =1') xml from dual
    --   generate some sample xml
    select xmltype('<?xml version = ''1.0''?>
      <?xml-stylesheet href="../xsl_path/My_StyleSheet.xsl" type="text/xsl"?>' || xml)  xml from t
    XML                                                                            
    <?xml version="1.0"?>                                                          
    <?xml-stylesheet href="../xsl_path/My_StyleSheet.xsl" type="text/xsl"?>        
    <ROWSET>                                                                       
      <ROW>                                                                        
        <DEPTNO>10</DEPTNO>                                                        
        <DNAME>ACCOUNTING</DNAME>                                                  
        <LOC>NEW YORK</LOC>                                                        
      </ROW>                                                                       
    </ROWSET>                                                                      
    1 row selected.

Maybe you are looking for

  • Can a check-box be used to select more than one value

    Hi, I have a form with a check-box that only allows one selection at a time. I have a requirement now to allow the user to select multiple selections. How can I accomplish this with a checkbox? Please help.

  • Powerbook G4 display with PC

    hI, Can you plug a PC into a powerbook and utilize the display for window?

  • CD stuck in the drive, how to remove it?

    I have a CD stuck in the drive, most likely by the up-lifting of the label. How can I eject this CD?

  • How To Enable Samba And SWAT In Solaris 10

    Link: http://bensweb.no-ip.info/ultrasparc/samba.htm This is a short and simple guide that I wrote for new Solaris users who want to get Samba and SWAT up and running quickly. (It works with SPARC and x86.) Enjoy!

  • Creating web dynpro model from XMII web service

    Hi All, need some help, after creating model in Web Dynpro from XMII WSDL file everything is fine but when i execute the service. I'm getting the following error: <b><i>Service call exception; nested exception is: com.sap.engine.services.webservices.