Appending namespaces attributes

Hi there,
We have a proxy service (pswsdl) and business service (bswsdl)
I am currently working on transforming xml payload from proxy service (pswsdl) to the xml as compliant with business service (bswsdl).
I grab the payload from the proxy service via Xquery using $body/subject/person and store it in a variable.
I need to pass Person object to the business service (bswsdl) which points to a live web service deployed.
The Person object is the input to Bswsdl web service.
Now Person element contains a deep level of child nodes. Here is how the fetched object looks like
<Person xsi:type="imy:com_sample_app_model_PersonInput" xmlns:imy="http://com.sample.app.facade/IMyWebService1.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Details>
<name>Tom</name>
<age>29</age>
<address> 11 Park St</address>
<Details>
</Person>
Now when I run the composite I run into an error No Deserializer found to deserialize using encoding style 'null'. [java.lang.IllegalArgumentException] for the Details object. As in the sample payload above the namespace attribute info for the Details object is missing.
Is there a way in OSB11g Xquery functions to provide an instruction to set the namespace to xml elements automatically. Like in the above case the Person object automatically gets the namespace attributes without any configuration from my side. How can I set this for all the containing xml elements
Let me know your thoughts.
Thanks,

THe xsd for Person does have the type defined for Details object. Since we have developed the web services using the bottom-up approach.
I tried manually adding the type in the xml elements like this (Details xsi:type="imy:com_sample_app_model_DetailsInput") but still the same error.
Here is what I tried to do. I have a business service(testBS) based out of live webservice (wsdl). I have a proxy service(testPS) defined using the same wsdl but in the body of the proxy service we delegate the call to testBS. This scenario works perfectly fine.
Now I have combined two wsdl's (one of them being the same as used for TestBS) and created a proxy service based out of this comined wsdl.
In the body of the proxy service we make a call to the testBS passing it the only the xml node expected by its operation but this fails though the xml node contains the right xsd type. The top root element gets passed correctly as mentioned in my initial post (the Person node) but its the inner node that fails.
<con:fault xmlns:con="http://www.bea.com/wli/sb/context">
<con:errorCode>BEA-382500</con:errorCode>
<con:reason>
OSB Service Callout action received SOAP Fault response
</con:reason>
<con:details>
<con1:ReceivedFaultDetail xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
<con1:faultcode>soapenv:Client</con1:faultcode>
<con1:faultstring>
No Deserializer found to deserialize a ':Details' using encoding style 'null'. [java.lang.IllegalArgumentException]
</con1:faultstring>
<con1:http-response-code>500</con1:http-response-code>
</con1:ReceivedFaultDetail>
</con:details>
Let me know your thoughts.
Thanks,

Similar Messages

  • XSLT Mapping: Problem in appending xmlns attribute

    Hi
    This is my source message
    <?xml version="1.0" encoding="UTF-8"?>
    <soap-env:Envelope xmlns:soap-env= "http://schemas.xmlsoap.org/soap/envelope/">
    <soap-env:Body>
    <OrderID xmlns="http://dummyvalue">12345</OrderID>
    </soap-env:Body>
    My XSLT mapping
    <?xml version='1.0' ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />
    <xsl:template match="/">
    <soap-env:Envelope>
    <soap-env:Body>
    <OrderID>
    <xsl:attribute name = "xmlns" >
    <xsl:value-of select="@xmlns"/>
    </xsl:attribute>
    <xsl:text>12345</xsl:text>
    </OrderID>
    </soap-env:Body>
    </soap-env:Envelope>
    </xsl:template>
    </xsl:stylesheet>
    I am getting the error message as
    ERROR: Description: The value of the 'name' attribute may not be 'xmlns'.
    Please help me how to append xmlns attribute in OrderID element ??

    Hi,
    Use <xsl:element> to create a node in the output and specify the namespace.
    <xsl:element
    name="name"
    namespace="URI"
    use-attribute-sets="namelist">  <!-- Content:template --></xsl:element>
    Thanks,
    Beena.

  • Retrieve data from Notes with append only attribute using jsom

    How can I retrieve the data in a Notes field which has the "Append Only" attribute set to TRUE, using the SharePoint jsom api?

    Hi IH20,
    You can use SPServices to get the version values of the note field:
    http://spservices.codeplex.com/wikipage?title=GetListItems
    Thanks,
    Qiao Wei
    TechNet Community Support

  • DBMS_XMLDOM - add namespaces attributes and prefix

    Hi,
    try to add a prefix and a namespace to the root node of an XML structure. Have tried the following code but i failed to add both.
    XML-structure before:
    <PERSON>
    <NAME>something</NAME>
    </PERSON>
    XML-structure desired:
    <pk:PERSON xmlns:pk="http://www.test.com">
    <NAME>something</NAME>
    </pk:PERSON>
    Any help is greatly appreciated.
    THX
    --------------- BEGIN ---------------------------
    declare
    var XMLType;
    buf clob;
    l_xmldoc dbms_xmldom.DOMDocument;
    l_docelem dbms_xmldom.DOMElement;
    l_root dbms_xmldom.DOMNode;
    l_attr dbms_xmldom.DOMAttr;
    begin
    var := xmltype('<PERSON> <NAME>something</NAME> </PERSON>');
    -- Create DOMDocument handle:
    l_xmldoc := dbms_xmldom.newDOMDocument(var);
    l_docelem := DBMS_XMLDOM.getDocumentElement(l_xmldoc);
    -- set prefix
    l_root := dbms_xmldom.makenode(l_docelem);
    DBMS_XMLDOM.setPrefix(l_root, 'pk');
    l_docelem := DBMS_XMLDOM.makeElement(l_root);
    dbms_output.put_line('Prefix: '||dbms_xmldom.getPrefix(l_root));
    dbms_output.put_line('l_root: '||dbms_xmldom.getNodeName(l_root));
    dbms_output.put_line('-----');
    -- add namespace attribute
    l_attr := DBMS_XMLDOM.createAttribute(l_xmldoc, 'xmlns:pk');
    DBMS_XMLDOM.setValue(l_attr, 'http://www.test.com');
    l_attr := DBMS_XMLDOM.setAttributeNode(l_docelem, l_attr);
    -- after
    dbms_xmldom.writetobuffer(l_xmldoc, buf);
    dbms_output.put_line('OUT:');
    dbms_output.put_line(buf);
    end;
    --- OUTPUT ----- OUTPUT ----- OUTPUT --
    Prefix: pk
    l_root: pk:PERSON
    OUT:
    <PERSON xmlns:pk="http://www.test.com">
    <NAME>something</NAME>
    </PERSON>
    ------------------- END -----------------------

    Seems to me you're hitting bug 2904964. I have the same problem using these functions.

  • D namespace attributes questions

    Not sure these are actually Catalyst questions, but they are part of the workflow through Catalyst, so:
    1) Are the "d" namespace attributes (such as "userLabel") compiled into the SWF when compiling in Builder?
    For instance:
    <s:TextInput skinClass="components.UserTextField" text="Username" d:userLabel="UserTextField" x="43" y="82"/>
    1a) If so, how can I access them in AS3?
    1b) If not, what's the use? I know -- they carry over some useful data, but is there something we can do with them in Builder other than search and replace?
    Thanks,
    Kirk

    Hi Kirk,
    Any attribute that has a prefix (d:, th:, ai:, etc) is completely ignored by the compiler and is not accessible at runtime. They are called "private attributes".
    They are not directly useful in Builder. Feel free to strip them out.
    -Adam

  • DOM dropping needed namespace attribute

    So I have the XML document:
    <?xml version="1.0" encoding="UTF-8"?>
    <ClinicalDocument xmlns="urn:hl7-org:v3"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    classCode="DOCCLIN" moodCode="EVN" />I pass it to the following:
    private void xmlTweak(String location) {
        try {               
            DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            DocumentBuilder db = factory.newDocumentBuilder();
            org.w3c.dom.Document doc = db.parse(new File(location));
            TransformerFactory tFactory = TransformerFactory.newInstance();
            Transformer transformer = tFactory.newTransformer();
            DOMSource source = new DOMSource(doc);
            FileOutputStream fos = new FileOutputStream(location);
            transformer.transform(source, new StreamResult(fos));
        catch(Exception e) {
            e.printStackTrace();
    }All that the above code should be doing is reading it in and outputting the same thing, but it gives me:
    <?xml version="1.0" encoding="UTF-8"?>
    <ClinicalDocument
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    classCode="DOCCLIN" moodCode="EVN"/>Notice that the xmlns namespace attribute is missing; I need that attribute in order to get it to pass a schema. After I read the XML file in, if I try doc.getDocumentElement().getAttribute("xmlns"), it confirms that xmlns="urn:hl7-org:v3". I suppose the problem occurs when outputting it back to a file, but what could that problem be?

    I found the problem. In case anyone is interested, the problem was with the TransformerFactory. I was using a saxon 8 TransformerFactory, which unexpectedly removed the attribute. Using com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl instead works, so I've switched to it.

  • How do I Ftp a XML file with out namespace attribute

    Hi All,
    How do I FTP an xml file that is validated against a schema on the ftp adapter with out the namespace attribute being added to the first and second element of the XML file.
    For example the xml looks like this when I transfer the file.
    <XML_Event xmlns="http://xmlns.oracle.com/PlannedEventSTORMRequestProcess/STORM">
    <Event_Begin xmlns="">
    <XML_File_Header>
    <Originating_System>xxx</Originating_System>
    <ID>387</ID>
    </XML_File_Header>
    </Event_Begin>
    </XML_Event>
    However I want it to be….
    <XML_Event>
    <Event_Begin>
    <XML_File_Header>
    <Originating_System>xxx</Originating_System>
    <ID>387</ID>
    </XML_File_Header>
    </Event_Begin>
    </XML_Event>
    How do i achieve this using the ftp adapter.
    Cheers

    Here is an example that will try to reach the given size in steps of 4 in quality.
    var saveFile = File(Folder.desktop + "/test");
    var fileSize = 70;
    try{
    tmpFile = File(saveFile+".jpg");
    for(var z =100;z>5;z -=4){
    SaveForWeb(tmpFile,z);
    var chkFile = File(saveFile+".jpg");
    //$.writeln(tmpFile + " qual = " + z + " Size = " +(chkFile.length/1024).toFixed(2) + "k" );
    if((chkFile.length/1024).toFixed(2) < (fileSize +1)) break;
    tmpFile.remove();
    if(!tmpFile.exists)  SaveForWeb(tmpFile,5);
    }catch(e){$.writeln(e + " - " + e.line);}
    function SaveForWeb(saveFile,jpegQuality) {
    var sfwOptions = new ExportOptionsSaveForWeb();
       sfwOptions.format = SaveDocumentType.JPEG;
       sfwOptions.includeProfile = false;
       sfwOptions.interlaced = 0;
       sfwOptions.optimized = true;
       sfwOptions.quality = Number(jpegQuality);
    activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions);

  • Select namespace attributes from xmlns:

    How do I select this information?
    <data>
      <element xmlns:mynamespace="http://my.namespace.com" >mynamespace:Stuff</element>
      <element xmlns:mynamespace="http://other.namespace.com" >mynamespace:Stuff2</element>
    </data>I want to come up with an xpath (using Jdom) that selects the http://my.namespace.com and http://other.namespace.com
    This is a "local" namespace declaration, which I don't know beforehand, so I can't add the namespace programmatically.
    the xmlns:.. part is almost an attribute, but since it's not a regular attribute, I have no way selecting it.
    Any tips?
    /Tom

    To select a node with a namespace, add a namespace to an XPath:
    org.jdom.Document jdomDocument ;
    XPath xpath =
       XPath.newInstance( "/data/element/xmlns:mynamespace");
      xpath.addNamespace("mynamespace", "http://my.namespace.com");Select a node with a namespace prefix:
    org.jdom.Attribute attr
    = (org.jdom.Attribute)
        xpath.selectSingleNode(jdomDocument);

  • XPath to select elements with specific namespace attribute?

    To select all elements with a specific attribute, i can use
    //*[attribute::val1='true']for elements that look like
    <Name val1="true">hello</Name>But how can i select them, if the attribute has a namespace:
    <Name myns:val1="true">hello</Name>?

    If JDOM is used to parse a node with XPath, node namespace should be added to the XPath.
    XPath xpath=XPath.newInstance("/@myns:val1='true');                
      xpath.addNamespace("myns", "http://www.w3.org/2001/XMLSchema-Instance");

  • XMLType extract method does not work if namespace attribute values are included

    In the example below, only the second row returns an ID from the extract function. The presence of an xmlns attribute appears to be the cause.
    SQL> drop table configs;
    Table dropped.
    Elapsed: 00:00:03.06
    SQL>
    SQL> create table configs (xml_data sys.xmltype);
    Table created.
    Elapsed: 00:00:00.02
    SQL>
    SQL> create index configs on configs (xml_data) indextype is ctxsys.context;
    Index created.
    Elapsed: 00:00:02.01
    SQL>
    SQL> insert into configs values(sys.xmltype.createxml('<config
    2 xmlns="http://www.ourcompanykscl.com/configuration">
    3 <dataformat
    4 name="F1" description="format spec" id="14082" version="2"
    5      status="started" deployed="true" lastModifiedBy="bloggsj" lastModifiedDate="2002-05-10T09:44:45">
    6 <F11Format>
    7 <SpecificationFilename>c:/formats/F1.txt</SpecificationFilename>
    8 </F11Format>
    9 </dataformat></config>'
    10 ))
    11 /
    1 row created.
    Elapsed: 00:00:01.02
    SQL>
    SQL> insert into configs values(sys.xmltype.createxml('<config>
    2 <dataformat
    3 name="F1" description="format spec" id="14082" version="2"
    4      status="started" deployed="true" lastModifiedBy="bloggsj" lastModifiedDate="2002-05-10T09:44:45">
    5 <F11Format>
    6 <SpecificationFilename>c:/formats/F1.txt</SpecificationFilename>
    7 </F11Format>
    8 </dataformat>
    9 </config>'
    10 ))
    11 /
    1 row created.
    Elapsed: 00:00:00.00
    SQL>
    SQL> BEGIN
    2 ctx_ddl.sync_index('configs');
    3 END;
    4 /
    PL/SQL procedure successfully completed.
    Elapsed: 00:00:00.02
    SQL>
    SQL> SELECT c.xml_data.extract('//dataformat/@id').getstringval(), c.xml_data.getstringval()
    2 FROM configs c
    3 WHERE CONTAINS(c.xml_data, '14082 INPATH (//dataformat/@id)') > 0
    4 /
    C.XML_DATA.EXTRACT('//DATAFORMAT/@ID').GETSTRINGVAL()
    C.XML_DATA.GETSTRINGVAL()
    <config
    xmlns="http://www.ourcompanykscl.com/configuration">
    <dataformat
    name="F1" description="format spec" id="14082" version="2"
    status="started" deployed="true" lastModifiedBy="bloggsj" lastModifiedDa
    te="2002-05-10T09:44:45">
    <F11Format>
    <SpecificationFilename>c:/formats/F1.txt</SpecificationFilename>
    </F11Format>
    </dataformat></config>
    14082
    <config>
    <dataformat
    name="F1" description="format spec" id="14082" version="2"
    status="started" deployed="true" lastModifiedBy="bloggsj" lastModifiedDa
    te="2002-05-10T09:44:45">
    <F11Format>
    <SpecificationFilename>c:/formats/F1.txt</SpecificationFilename>
    </F11Format>
    </dataformat>
    </config>
    Elapsed: 00:00:00.03

    Hi Amarnath,
    Thanks for looking into my issue.
    When I started writing the dynamic custom approver group, I did not use FND_NUMBER and it didnt work. After that I checked it in the AME Implementation Guide which says
    "Queries for number and currency attributes must select the number or currency
    amount converted to a varchar2 by:
    fnd_number.number_to_canonical"
    So that should not be a problem.
    Please correct me if I am wrong but Now I see two different possibilities :
    1. The seeded variable :transactionId which is being passed to the query is not able to get the value. In other words, the transactionId is not being passed.
    2. I am using wrong Attributes to identify the transaction which is being used in the Condition and that condition is used in a Rule. In this case, I am trying to identify that the Basic Person details are changed and I am using seeded attribute HR_IS_PERSON_BASIC_DETAILS_CHANGE_SS in condition.
    Any feedback?
    Appreciate all replies.
    Thanks,
    CAH

  • How can I append an attribute to an xml data value?

    I want to add an attribute that doesn't exist, something like
    select appendxml(metadata, '/document/@newid', 2) from mytable where id = 1; <=== NO SUCH FUNCTION.
    If the attribute already exists, you can call
    select updatexml(metadata, '/document/@oldid', 1) from mytable where id = 1;
    I don't want to have to do string manipulation to "splice in" the new attribute, then typecast it back to an xmltype. That's a lot of work, is error prone and has performance implications.
    Thanks in advance.

    The documentation provides all you need :
    http://docs.oracle.com/cd/E11882_01/appdev.112/e23094/xdb04cre.htm#ADXDB4269
    SQL> with sample_data as (
      2    select xmltype('<document/>') metadata
      3    from dual
      4  )
      5  select insertchildxml(metadata, '/document', '@newid', '2')
      6  from sample_data
      7  ;
    INSERTCHILDXML(METADATA,'/DOCU
    <document newid="2"/>

  • "LPX-00601: Invalid token in:" when retrieving namespaced attribute

    I'm trying to retrieve an attribute value from an XML document as follows:
    declare
       l_url varchar2(500);
       l_xml xmltype;
    begin
       l_xml := xmltype('<WMT_MS_Capabilities version="1.1.1">
                          <Capability>
                             <Layer>
                               <Layer>
                                  <Style>
                                    <Name>default</Name>
                                    <Title>default</Title>
                                    <LegendURL width="233" height="141">
                                       <Format>image/png</Format>
                                       <OnlineResource xmlns:xlink="http://www.w3.org/1999/xlink"
                                                       xlink:type="simple"
                                                       xlink:href="http://very_long_url"/>
                                    </LegendURL>
                                  </Style>
                              </Layer>
                              </Layer>
                              </Capability>
                          </WMT_MS_Capabilities>');
       select extractvalue(l_xml
                          ,'//WMT_MS_Capabilities/Capability/Layer/Layer/Style/LegendURL/OnlineResource@xlink:href'
                          ,'xmlns:xlink="http://www.w3.org/1999/xlink"')
         into l_url
         from dual;
         dbms_output.put_line(l_url);
    end;This code executes fine in a 9.2.0.5 database but on Oracle 10.2.0.4 I get:
    ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00601: Invalid token in: '//WMT_MS_Capabilities/Capability/Layer/Layer/Style/LegendURL/OnlineResource@xlink:href'
    ORA-06512: at line 26What am I doing wrong?

    Found the bug. there is a / missing before the @ in the xpath expression. 9R2 does not seem to care about this.
    Correct path=
    '//WMT_MS_Capabilities/Capability/Layer/Layer/Style/LegendURL/OnlineResource/@xlink:href'

  • Java Transform XSL not appending namespaces

    Hello !
    I have a string
    <dataroot><xiMsgHeader><SeqID>2</SeqID><SequenceNo>LST000000000000001</SequenceNo>...</xiMsgHeader></dataroot>
    and style sheet
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
    <xsl:output method="xml" version="1.0" indent="yes" />
    <xsl:template match="dataroot">
         <STANDARDMESSAGE xmlns="http://abc.com/sap/xi/R3FI/lst/ap">
         <xsl:apply-templates select="xiMsgHeader"/>     
    </STANDARDMESSAGE>     
    </xsl:template>
    <xsl:template match="xiMsgHeader">
         <STANDARDMESSAGEHEADER xmlns="http://abc.com/sap/xi/R3FI/lst/ap">
              <SEQUENCENUMBER><xsl:value-of select="SequenceNo"/></SEQUENCENUMBER>
              <CORRELATIONID><xsl:value-of select="SequenceName"/></CORRELATIONID>
              <SYSTEM><xsl:value-of select="SystemName"/></SYSTEM>
              <RETRANSMIT><xsl:value-of select="ReTrans"/></RETRANSMIT>
         </STANDARDMESSAGEHEADER>
         <STANDARDMESSAGEBODY xmlns="http://abc.com/sap/xi/R3FI/lst/ap">
              <DT_ACCOUNT_PAYABLE xmlns="http://abc.com/sap/xi/R3FI/lst/ap">
                   <xsl:apply-templates select="xiMsgDocHeader[1]"/>
              </DT_ACCOUNT_PAYABLE>
         </STANDARDMESSAGEBODY>
    </xsl:template>
    and then I run java tranform provided with jdk1.4.2.10
    now you can see that stylesheet says that for
    <dataroot> create a tag <STANDARDMESSAGE xmlns="abc.com/sap/xi/R3F!/lst/ap">
    and for
    <xiMsgHeader> create a tag <STANDARDMESSAGEHEADER xmlns="http://abc.com/sap/xi/R3FI/lst/ap">
    but the result that I get is
    <?xml version="1.0" encoding="UTF-8"?>
    <STANDARDMESSAGE xmlns="http://awb.com.au/sap/xi/R3FI/lst/ap">
    <STANDARDMESSAGEHEADER>
    <SEQUENCENUMBER>LST000000000000001</SEQUENCENUMBER>
    </STANDARDMESSAGEHEADER>
    </STANDARDHEADER>
    so my question is that why tranform is writing xmlns vales of child tag of main tag.
    Can anybody suggest me what is going wrong.

    Looks okay to me. I suppose you don't know that the namespace declared on an element also applies to all that element's children.

  • What is the best way to change a namespace in an xml document

    Hi,
    I need to change an xml namespaces. The xml has about 200 elements and every element may have a namespace attribute (namespaces are all the same).
    Is there any better solution then the following function?
    SQL> create or replace function change_namespace(p_xml xmltype, p_namespace varchar2) return xmltype is
      2    l_doc dbms_xmldom.DOMDocument;
      3    l_nodes dbms_xmldom.DOMNodelist;
      4    l_node dbms_xmldom.DOMNode;
      5  begin
      6    l_doc:=dbms_xmldom.NewDOMDocument(p_xml);
      7    l_nodes:=dbms_xmldom.getElementsByTagName(l_doc,'*');
      8    for i in 0..dbms_xmldom.getlength(l_nodes)-1 loop
      9      l_node:=dbms_xmldom.item(l_nodes,i);
    10      if i=0 then
    11        --set namespace only for the root node
    12        dbms_xmldom.setattribute(dbms_xmldom.makeElement(l_node),'xmlns',p_namespace);
    13      else
    14        --remove all the other namespaces
    15        dbms_xmldom.removeattribute(dbms_xmldom.makeElement(l_node),'xmlns');
    16      end if;
    17    end loop;
    18 
    19    return dbms_xmldom.getxmltype(l_doc);
    20  end;
    21  /
    Function created.
    SQL> select change_namespace(xmltype('<a xmlns="aaa"><b xmlns="aaa">4</b><c>44</c></a>'),'newnamespace')
      2  from dual;
    CHANGE_NAMESPACE(XMLTYPE('<AXMLNS="AAA"><BXMLNS="AAA">4</B><C>44</C></A>'),'NEWN
    <a xmlns="newnamespace">                                                       
      <b>4</b>                                                                     
      <c>44</c>                                                                    
    </a> Ants

    Hi,
    I found a better and almost 10x faster way to remove the namespaces, using xsl.
    here's the original xsl with a little modifications http://bytes.com/forum/thread448445.html
    SQL> with t as (select xmltype('<a xmlns="aaa"><b xmlns="aaa">4</b><c>44</c></a>') xcol from dual)
      2  select xmltransform(xcol
      3    ,xmltype('<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
      4               <xsl:template match="*">
      5                <xsl:element name="{local-name()}" namespace="">
      6                 <xsl:apply-templates select="@* | node()" />
      7                </xsl:element>
      8               </xsl:template>
      9              </xsl:stylesheet>'))
    10  from t;
    XMLTRANSFORM(XCOL,XMLTYPE('<XSL:STYLESHEETVERSION="1.0"XMLNS:XSL="HTTP://WWW.W3.
    <a><b>4</b><c>44</c></a>+but check Laurents Schneider's blog website+
    I didn't find any posts about namespace on Schneider's blog.
    Ants

  • Dreamweaver Namespace issue on my web server

    I am hosting my site on GoDaddy.com. I have created a site
    using Dreamweaver CS3 and SQL2005. Everything works great on my
    local machine, but when I upload it to the remote web server, the
    aspx pages do not work. GoDaddy support says it is due to the
    second line in every one of my aspx pages, specifically the
    namespace attribute. From what I've read, this is automatically put
    into every page created by Dreamweaver that contains an asp/asp.net
    control. GoDaddy's response is to remove this line from my page and
    everything will work great, which obviously it will not. I really
    would not like to have to rebuild 32 + aspx pages after already
    developing them in Dreamweaver. The actual line they say is causing
    the problem is below:
    <%@ Register TagPrefix="MM" Namespace="DreamweaverCtrls"
    Assembly="DreamweaverCtrls,version=1.0.0.0,publicKeyToken=836f606ede05d46a,culture=neutra l"
    %>
    Does anyone have any suggestions as to how to get around this
    issue?

    "carrb69" <[email protected]> wrote in
    message
    news:[email protected]...
    > Joris,
    >
    > I did have the dll located in a subfolder of the root
    directory. I also
    > put it
    > in the root directory as well after receiving your
    previous response and
    > got
    > the same results. Unfortunately, I would need to go to
    GoDaddy to get the
    > exact
    > error because all I see when I try to access my aspx
    pages is a very
    > generic
    > error. I had to go to GoDaddy previously to figure out
    that it was the
    > Namespace attribute that was causing the issue. I'll try
    this evening to
    > get
    > them to send me the actual error message and post it
    then. Thanks for the
    > quick
    > responses.
    >
    > Brian
    Hi Brian,
    maybe it's your browser that's hiding the error message, if
    using MSIE then
    please disable the "Show friendly HTTP error messages" option
    in Internet
    Options.
    If that doesn't reveal the error message, try editing the
    web.config that
    dreamweaver generated for you with the following settings,
    (add any missing
    settings, and leave the connectionstrings that dreamweaver
    has setup intact)
    <configuration>
    <system.web>
    <compilation debug="true"/>
    <customErrors mode="Off"/>
    <trace
    enabled="true"
    traceMode="SortByCategory"
    requestLimit="10"
    pageOutput="false"
    localOnly="false"
    />
    </system.web>
    </configuration>
    Debug Compilation should give more insight inrto compilation
    errors, which
    can allso be done at the page level via<% @ Page
    debug=true" %>
    Custom Errors Off will disable any error pages that may be
    shown in case of
    an error, seting it to "emoteOnly" will only thow these page
    to external
    visitors, but since you are not working on the server that
    actually makes
    little sense.
    The trace setting should enable a HTTP Handler that allows
    you to view trace
    information from /trace.axd in the root of your website,
    enabling pageOutput
    will inject the tracing information into every page, which
    can allso be done
    at the page level via <% @ Page trace=true" %>
    There settings do have a performance impact because they are
    enabled for
    every request in the application, once you've got the errors
    out disable
    them at the application level and enable them per-page.
    Hope this helps
    Joris

Maybe you are looking for

  • Get error message when trying to install windows. need to remort hd. how to

    tried to install xp with bootcamp. get error message when trying to partion the disk:"the disk can not be partioned because some files cannot be moved. back up the disk and use Disk Utility to format it as a single Mac OS Extended (Journaled) volume.

  • Multiple Target files as the item in source file

    Hi all , I am new XI ,my scenario is File to File and my data type structures for source and target are as follows  _Data type for source:     _                Source       Header     1:unbound                                org       1:unbound      

  • Active/Standby Failover Config change

    Hi everyone, This weekend we are doing some change on ASA in Active/Standby mode. We will power off standby ASA. Do some changes on Active ASA  save the changes  and reboot it. Power up the Active ASA and will test  the connectivity if it is working 

  • Creating Regions Using APIs

    Hi, I am trying to create a Content Management System using APEX 4. I was wondering if it is possible to create regions on the fly using APEX API. The regions will act as modules having custom attributes to load its related region template. It's appr

  • How to view saved bookmarks

    Someone please help me with instructions on how to view my bookmarks. I bookmarked a book today for the first time. My pc shutdown for some unknown reason. When I restarted the pc, the bookmarks were gone! Im on Windows 7 home premium.