Get element attributes with JDOM

Dear JDOM experts,
I am learning JDOM.
Here is a piece of codes:
SAXBuilder saxBuilder = new SAXBuilder();
doc = saxBuilder.build(new File(filename));
Element rootElement=doc.getRootElement();
System.out.println ("rootElement.getName() = "+ rootElement.getName());
List attributeList=rootElement.getAttributes();
System.out.println ("attributeList.size()= "+ attributeList.size());
Iterator attributeIterator=attributeList.iterator();
while (attributeIterator.hasNext()) {
Attribute attribute=(Attribute)attributeIterator.next();
System.out.println ("attribute.getName()= "+ attribute.getName());
System.out.println ("attribute.getValue()= "+ attribute.getValue());
I applied it to
<NODE SHORTNAME="008O1-C2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="F:\mydeltaxml\Pegase.xsd">
The root element has three attributes.
But why did I get only two as
rootElement.getName() = NODE
attributeList.size()= 2
attribute.getName()= SHORTNAME
attribute.getValue()= 008O1-C2
attribute.getName()= noNamespaceSchemaLocation
attribute.getValue()= F:\mydeltaxml\Pegase.xsd
Any explanation?
Regards,
AG

Hi, JDOM expert,
Thanks for the reply.
However, I still have a small doubt.
Please notice that in
<NODE SHORTNAME="008O1-C2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="F:\mydeltaxml\Pegase.xsd">
For "xsi:noNamespaceSchemaLocation="F:\mydeltaxml\Pegase.xsd", why was the prefix xsi not taken by the parser as a part of the attribute name?
Best regards,
AG

Similar Messages

  • Storing Element attributes with Oracle XSU

    I'm trying to take an XML feed and store it into and oracle table. I can get all the elements and sub-elements, but all the attributes end up being NULL. Is there anyway I can get the XML SQL Utility to load my attributes?
    Thanks.

    Can some one help please?

  • Replacing harcoded XML element attributes with variables

    Is there any way for Xpath expressions in JAVA to refer to variables (for an attribute) instead of harcoded strings (like 'abc' and 'xyz' below)
    So below ... 'abc' , 'xyz' could be varaibles.....
    String getServerInstance="/Accounts/Account[@code='abc']/TestingProgram[@code='abc']/Modes/Mode[@code='xyz']/*";
    Thanks a lot

    I have a class now that resolves variables:
    public class Resolve_Xpath_Vars implements XPathVariableResolver
         public Object resolveVariable(QName var)
    try {          
              if (var.equals(new QName("pqr")))
                        return new String("pqr");
              else if (var.equals(new QName("abcde")))
                        return new String("abcde");
    else
    return null;
    catch (Exception ex)
              ex.printStackTrace();
              throw new RuntimeException();     
    NOWWWWW
    how do i configure my XPATH expression to call this class to reolve my varaible....
    XPATH EXPRESSION IS:
    "this.Account" is the variable that the class should resolve.....to "pqr"
    String getAccnt="/Accounts/Account[@code="+"'"+*this.Account*+"'"+"]/*";      
    Once resolved to "pqr" then i can make the following call:
    NodeList nodeList =(NodeList) xPath.evaluate(getAccnt, inputSource, XPathConstants.NODESET );
    any help is appreciated.............

  • Get Profile Attributes with Tomcat Agent

    Hello,
    I have configured the Tomcat Agent on a Solaris machine.
    The URL policy enforcement works perfect.
    But now, I need to retrieve some values from the logged on user, and set this parameters:
    com.sun.am.policy.amFilter.ldapattribute.map[cn]=CUSTOM-Common-Name
    and
    com.sun.am.policy.amFilter.ldapattribute.mode = HEADER
    in AMAgent.properties.
    But as soon as these parameters are set, requests fail with this
    message in the agent logfile:
    <---------------->8-------------------->8------------------------>
    ERROR: AmFilter: An error occured while processing request. Access will be denied.
    [AgentException Stack]
    com.sun.identity.agents.arch.AgentException: HttpServletRequestHelperFactory.getAttributesForUser(...) failed
    <---------------->8-------------------->8------------------------>
    Anything I have missed to configure?
    I already read the "Troubleshooting the Agent Deployment"-
    appendix.
    Thanks to anyone who can help,
    Juergen

    Juergen
    Sorry to post from another forum, but do you have an answer to this:
    http://swforum.sun.com/jive/thread.jspa?threadID=47920&tstart=0
    thank you

  • How Can Get DTD elements/Attribute In java

    Dear Friends,
    I want to get DTD Element in java Like by using DOM parser we can get Elements/Attribute in XML.
    <!ELEMENT author (#PCDATA)>
    <!ATTLIST author
         id (2 | 4 | 6) #REQUIRED
    >
    <!ELEMENT book (author, page)>
    <!ATTLIST book
         id (1 | 2 | 3 | 4) #REQUIRED
         name CDATA #REQUIRED
    >
    <!ELEMENT library (book+)>
    <!ELEMENT page (#PCDATA)>
    By Example
    i wants i can get elements library -> childs are book
    book child have Attributes id and name..
    how can i get .
    pls help me
    with regards
    Siddharth singh

    Build an XML-ORM then integrate it into the DOM, then have a nice day.

  • Windows 8 and Elements 11 with premier

    Cannot get Elements 11 with premier to download. Keeps telling me my IE needs to be 4 or higher. Running windows 8, IE 10, with an embedded flash player 11.3, any ideas why this error keeps occuring and preventing me from downloading the software?

    Similar to your problem, but it crashes during launch, not after a period of use. I posted this at DPReview to see if anyone there has some insights:
    I just rebuilt my PC as the machine was suffering random hardware crashes. So I took the opportunity to migrate to Windows 8 (with a format and clean install, not upgrade) and also upgrade a few other bits, e.g Elements from 8 to 11. Most stuff works, but Elements 11 just refuses to start.
    Running the Elements launcher does nothing (it fails before anything appears). Running the Editor directly from the Program File folder shows the splash screen, but then Windows shows a dialogue saying the app has stopped working. I've tried compatibility mode and running as admin (it throws a UAC dialogue, which is odd for an app designed to run as a normal user under Windows 8).
    The Event Viewer shows the crash coming from the call to ntdll.dll:
    PhotoshopElementsEditor.exe
    11.0.0.0
    505d12ab
    ntdll.dll
    6.2.9200.16420
    505aaa82
    c0000005
    0004f7d5
    f78
    01cdd9e7f71d02bf
    C:\Program Files (x86)\Adobe\Photoshop Elements 11\PhotoshopElementsEditor.exe
    C:\Windows\SYSTEM32\ntdll.dll
    38b995ea-45db-11e2-be75-50465d517d2b
    My other software works fine, including Lightroom 4.3 and Reader XI, so it's not a general Adobe or Windows problem.
    I've searched around, but there's not much help out there. There were suggestions to delete the contents of the User/AppData/Roaming/Adobe folder, but that didn't help. Uninstalling and reinstalling doesn't change anything. I even downloaded the trial version from Adobe to see if that was more recent than the DVD, but it seems to be the same version number (from 22nd September 2012) and suffers the same issue.
    So, has anyone else got this software to work on Windows 8 Pro? If so, did it "just work", or did you have to do anything?

  • Intresting problem with JDOM and xmlns in root element.

    Hi all,
    I am trying to parse a xml file using a jdom java code.This code works fine if I remove xmlns attribute in the root element.Please tell me how to fix this issue.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Xml
    <process name="CreateKBEntryService" targetNamespace="http://serena.com/CreateKBEntryService" suppressJoinFailure="yes" xmlns:tns="http://serena.com/CreateKBEntryService" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:bpelx="http://schemas.oracle.com/bpel/extension" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:nsxml0="http://localhost:8080/axis/services/CreateKBEntryService" xmlns:nsxml1="http://DefaultNamespace" xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    <partnerLinks>
              <partnerLink name="client" partnerLinkType="tns:CreateKBEntryService" myRole="CreateKBEntryServiceProvider"/>
              <partnerLink name="CreateKBEntryPartnerLink" partnerLinkType="nsxml0:CreateKBEntryLink" partnerRole="CreateKBEntryProvider"/>
         </partnerLinks>
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
    Java:
    import java.io.*;
    import java.util.*;
    import org.jdom.Document;
    import org.jdom.Element;
    import org.jdom.input.SAXBuilder;
    public class sample1 {
    public static void main(String[] args) throws Exception {
    // create a XML parser and read the XML file
    SAXBuilder oBuilder = new SAXBuilder();
    Document oDoc = oBuilder.build(new File("file location "));
         Element root = oDoc.getRootElement();
         System.out.println(root.getName());
         String tgtns= root.getAttributeValue("targetNamespace");
         System.out.println("tgt ns "+ tgtns);
    List list= root.getChildren("partnerLinks");
         Iterator it1= list.iterator();
         System.out.println(list.size());
         while(it1.hasNext()){
              Element partnerlinks = (Element)it1.next();
              List list2= partnerlinks.getChildren("partnerLink");
              System.out.println(list2.size());
              Iterator it2= list2.iterator();
              String[][] partnerLinkval = new String [2][list2.size()];
              int i=0,j=0;
              while(it2.hasNext())
                   Element el2= (Element)it2.next();
              String ElementName = el2.getName();
              partnerLinkval[i][j]= ElementName;
              j++;
              String Attribute = el2.getAttributeValue("myRole");
              partnerLinkval[i][j]= Attribute;
              i++;
              j--;
              System.out.println("Saving in array "+el2.getName());
              System.out.println("Saving in array "+Attribute);
              System.out.println("array length"+partnerLinkval.length);
              for (int l=0;l<2;l++){
              for(int k=0;k<partnerLinkval.length;k++)
                   System.out.println(partnerLinkval[l][k]);
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Result:
    Without Xmlns in xml file
    process
    tgt ns http://serena.com/buildserviceflow
    1
    2
    Saving in array partnerLink
    Saving in array BpelServiceFlowProvider
    Saving in array partnerLink
    Saving in array null
    array length2
    partnerLink
    BpelServiceFlowProvider
    partnerLink
    null
    Result with xmlns:
    process
    tgt ns http://serena.com/CreateKBEntryService
    0

    Hi,
    I am also having the same problem using jdom, my code works fine when there is no xmlns attribute but when i put the xmlns attribute back in doesn't work.
    Did you manage to find a way to solve this problem?

  • How can I get the Attribute Value in the existing XML Elements-Reg.

    Dear All,<br /><br />  I have the InDesign Document with xml Based, now I want to get the XML Elements name and XML Attributes for each Elements, using SDK Concepts. <br /><br />Example:<br /><br /> <chapter>  chapter1 </chapter> id = "ch001"<br /> <sec> Section ....</sec> id ="se001"<br /> <para> para ....</para> id="pa001"<br /><br />How can I get the XMLElements & XML Attributes in the InDesign-XML Structure.<br /><br />Please  any one can suggest me....<br /><br />Thanks & Regards<br />T.R.Harihara SudhaN

    Dear Dirk
    Many Thanks for the Suggestions, Now I search and study the XML concepts. Meanwhile, I need your suggestions for further Development in SDK -XML concepts.
    I am using the SnippetRunner -SDK file, their given some XML based programmes. [Create XML Elements, Elements + Attributes, XML Comments] and etc...
    Hope U will help me to Develop the SDK- XML Concepts.
    Thanks & Regards
    T.R.Harihara SuduhaN

  • I bought the wrong Elements 13:-(. Need to get in contact with some support?

    Hello! I have just bought elements 13 and I did it wrong . I have a Mac and i bought for windows. How can i get in contact with someone who could help me solve this?

    You need to start at this link:
    <Contact Customer Care>
    Good luck.

  • First of all, I would have to say that getting in touch with you is a nightmare and I am not at all happy that I can't just email or live chat with someone who can help!  I am not a technical person, I just want to be able to use Photoshop Elements and ge

    First of all, I would have to say that getting in touch with you is a nightmare and I am not at all happy that I can't just email or live chat with someone who can help!  I am not a technical person, I just want to be able to use Photoshop Elements and get on with it. I bought Photoshop Elements via Amazon some months ago and it worked fine.  I then got a message that advised that the trial version would expire, which it subsequently has (I have been trawling your site for weeks and weeks trying to find an email or phone contact to get some assistance).  Relucltantly, I am now typing this - and I suspect it will not help in the slightest!  I bought the FULL not TRIAL edition of Photoshop Elements and I have contacted Amazon who confirmed this, but say I need to contact you.  Can you please let me know how I can resolve this?  Louise A Fraser

    Hi Louise, sorry to hear of your problems. This is not Adobe. We are mainly support volunteers, other users like you, trying to help one another.  You need to contact Adobe directly for activation and licencing issues. Click the link below. Use the dropdown menu for boxes (1) & (2) to scroll down the list and choose:
    1. Adobe Photoshop Elements
    2. Adobe ID, and signing-in
    3. Click on the blue button: Still need help? Contact us – then click the area marked chat 24/7, then click “start chat ”
    It’s usually possible to start a live chat, if an Adobe agent is free, and often to get the problem fixed right away. Have your serial number available. The agent can directly troubleshoot your system if you agree to activate the Adobe Connect add-on. Don’t let them pass the buck. Stay connected and ask to speak with a supervisor if necessary.
    Click here to get help now Contact Customer Care

  • How do i get elements on my new pc with no cd drive?

    i have elements 10 as a cd package - ive just got a new pc with now cd drive how can I get elements without buying it again? I am not very IT savvy so please help!

    You say you are not very IT savvy but you know how to download and install a new software, right?  If so then on your new machine, go to the link I have provided below and download PSE10 for your use.  You will need to enter your serial number to activate it.
    <Download Photoshop Elements products | 12, 11, 10>
    Hope this helps.

  • Mapping of XML attributes with XML elements in Mediator Transformations

    Hi,
    The soure XML look like as below in the source directory of file adapter/read:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!-- Edited by Oracle JDeveloper 11.1.1.1.3®
    -->
    <CATALOG>
    <PLANT COMMON="Bloodroot" BOTANICAL="Sanguinaria canadensis">
    <ZONE>4</ZONE>
    <LIGHT>Mostly Shady</LIGHT>
    <PRICE>$2.44</PRICE>
    <AVAILABILITY>031599</AVAILABILITY>
    </PLANT>
    <PLANT COMMON="Columbine" BOTANICAL="Aquilegia canadensis">
    <ZONE>3</ZONE>
    <LIGHT>Mostly Shady</LIGHT>
    <PRICE>$9.37</PRICE>
    <AVAILABILITY>030699</AVAILABILITY>
    </PLANT>
    <PLANT COMMON="Marsh Marigold" BOTANICAL="Caltha palustris">
    <ZONE>4</ZONE>
    <LIGHT>Mostly Sunny</LIGHT>
    <PRICE>$6.81</PRICE>
    <AVAILABILITY>051799</AVAILABILITY>
    </PLANT>
    </CATALOG>
    The target XML will be as below in the target directory of file adapter/write.:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!-- Edited by Oracle JDeveloper 11.1.1.1.3®
    -->
    <CATALOG>
    <PLANT>
    <COMMON>Bloodroot</COMMON>
    <BOTANICAL>Sanguinaria canadensis</BOTANICAL>
    </PLANT>
    <PLANT>
    <COMMON>Columbine</COMMON>
    <BOTANICAL>Aquilegia canadensis</BOTANICAL>
    </PLANT>
    <PLANT><COMMON>Marsh Marigold</COMMON>
    <BOTANICAL>Caltha palustris</BOTANICAL>
    </PLANT>
    </CATALOG>
    So, I need to map attributes(COMMON and BOTANICAL) of XML data in the source with common and botanical elements of the XML in the target. How should I map attributes with elements in the XSL editor of the Mediator Transformation.
    Thanks,
    Arnab

    I will test it.
    I sale myself ONLY half CNY!

  • How do I get an attribute on a simple element?

    I am trying to get an attribute on a simple element that has a type of "nonNegativeInteger". I've tried numerous ways to do this and the validator rejects them all.
    I tried the following:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded"
    type="nonNegativeInteger">
    <complexType>
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    bit I get the following:
    <Line 110, Column 38>: XSD-2027: (Error) Invalid element 'complexType' in 'element'
    This was suggested previously:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded"
    base="nonNegativeInteger">
    <complexType>
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    where the type in the <element> is changed to base but it gives the message:
    <Line 110, Column 39>: XSD-2026: (Error) Invalid attribute 'base' in element 'element'
    The following works but does not provide any type checking for the data in the tag:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded">
    <complexType content="mixed">
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    The following is accepted but the attribute definition is ignored and the XML is flagged as having an invalid attribute.
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded">
    <simpleType base="nonNegativeInteger">
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </simpleType>
    </element>
    How can I have both attributes and type checking on a simple element?

    Did you try the following:
    <element name = "birthdate">
    <complexType>
    <complexContent>
    <extension base="nonNegativeInteger">
    <attribute name="format"
    type="string"/>
    use="default"
    value="CCYYMMDD"/>
    </extension>
    </complexContent>
    </complexType>
    </element>
    The element is defined to be a complexType and having complexContent because it has an attribute. The complexContent can have either extension or restriction as its children. They define the type of derivation of the element from the base.
    Hope this helps..
    Cheers,
    Chetan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Paul Anderson ([email protected]):
    I am trying to get an attribute on a simple element that has a type of "nonNegativeInteger". I've tried numerous ways to do this and the validator rejects them all.
    I tried the following:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded"
    type="nonNegativeInteger">
    <complexType>
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    bit I get the following:
    <Line 110, Column 38>: XSD-2027: (Error) Invalid element 'complexType' in 'element'
    This was suggested previously:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded"
    base="nonNegativeInteger">
    <complexType>
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    where the type in the <element> is changed to base but it gives the message:
    <Line 110, Column 39>: XSD-2026: (Error) Invalid attribute 'base' in element 'element'
    The following works but does not provide any type checking for the data in the tag:
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded">
    <complexType content="mixed">
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </complexType>
    </element>
    The following is accepted but the attribute definition is ignored and the XML is flagged as having an invalid attribute.
    <element name="birthdate" minOccurs="1" maxOccurs="unbounded">
    <simpleType base="nonNegativeInteger">
    <attribute name="format" type="string" use="default"
    value="CCYYMMDD"/>
    </simpleType>
    </element>
    How can I have both attributes and type checking on a simple element?<HR></BLOCKQUOTE>
    null

  • How can I get the element value with namespace?

    I tried to get a element value in xml has namespace but i can't.
    I removed the namespace, i can get a element value.
    How can i get a element value with namespace?
    --1. Error ----------- xml ------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    *<TaxInvoice xmlns="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0 http://www.kec.or.kr/standard/Tax/TaxInvoiceSchemaModule_1.0.xsd">*
    <ExchangedDocument>
    <IssueDateTime>20110810133213</IssueDateTime>
    <ReferencedDocument>
    <ID>318701-0002</ID>
    </ReferencedDocument>
    </ExchangedDocument>
    <TaxInvoiceDocument>
    <IssueID>201106294100</IssueID>
    <TypeCode>0101</TypeCode>
    <IssueDateTime>20110810</IssueDateTime>
    <PurposeCode>02</PurposeCode>
    </TaxInvoiceDocument>
    <TaxInvoiceTradeLineItem>
    <SequenceNumeric>1</SequenceNumeric>
    <InvoiceAmount>200000000</InvoiceAmount>
    <TotalTax>
    <CalculatedAmount>20000000</CalculatedAmount>
    </TotalTax>
    </TaxInvoiceTradeLineItem>
    </TaxInvoice>
    --2. sucess ----------- xml ---------remove namespace---------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <TaxInvoice>
    <ExchangedDocument>
    <IssueDateTime>20110810133213</IssueDateTime>
    <ReferencedDocument>
    <ID>318701-0002</ID>
    </ReferencedDocument>
    </ExchangedDocument>
    <TaxInvoiceDocument>
    <IssueID>201106294100</IssueID>
    <TypeCode>0101</TypeCode>
    <IssueDateTime>20110810</IssueDateTime>
    <PurposeCode>02</PurposeCode>
    </TaxInvoiceDocument>
    <TaxInvoiceTradeLineItem>
    <SequenceNumeric>1</SequenceNumeric>
    <InvoiceAmount>200000000</InvoiceAmount>
    <TotalTax>
    <CalculatedAmount>20000000</CalculatedAmount>
    </TotalTax>
    </TaxInvoiceTradeLineItem>
    </TaxInvoice>
    ---------- program ------------
    procedure insert_table
    l_clob clob,
    wellformed out boolean,
    error out varchar2
    is
    l_parser dbms_xmlparser.Parser;
    xmldoc xmldom.domdocument;
    l_doc dbms_xmldom.DOMDocument;
    l_nl dbms_xmldom.DOMNodeList;
    l_n dbms_xmldom.DOMNode;
    l_root DBMS_XMLDOM.domelement;
    l_node DBMS_XMLDOM.domnode;
    l_node2 DBMS_XMLDOM.domnode;
    l_text DBMS_XMLDOM.DOMTEXT;
    buf VARCHAR2(30000);
    xmlparseerror exception;
    TYPE tab_type is Table of xml_upload%ROWTYPE;
    t_tab tab_type := tab_type();
    pragma exception_init(xmlparseerror, -20100);
    l_node_name varchar2(300);
    begin
    l_parser := dbms_xmlparser.newParser;
    l_doc := DBMS_XMLDOM.newdomdocument;
    dbms_xmlparser.parseClob(l_parser, l_clob);
    l_doc := dbms_xmlparser.getDocument(l_parser);
    l_n := dbms_xmldom.makeNode(l_doc);
    l_nl := dbms_xslprocessor.selectNodes(l_n, '/TaxInvoice/TaxInvoiceDocument');
    FOR cur_tax In 0..dbms_xmldom.getLength(l_nl) - 1 LOOP
    l_n := dbms_xmldom.item(l_nl, cur_tax);
    t_tab.extend;
    t_tab(t_tab.last).ed_id := '5000000';
    dbms_xslprocessor.valueOf(l_n, 'IssueID/text()', t_tab(t_tab.last).tid_issue_id);
    dbms_xslprocessor.valueOf(l_n, 'TypeCode/text()', t_tab(t_tab.last).tid_type_code);
    END LOOP;
    FORALL i IN t_tab.first .. t_tab.last
    INSERT INTO xml_upload VALUES t_tab(i);
    COMMIT;
    dbms_xmldom.freeDocument(l_doc);
    wellformed := true;
    exception
    when xmlparseerror then
    --xmlparser.freeparser(l_parser);
    wellformed := false;
    error := sqlerrm;
    end insert_table;

    l_nl := dbms_xslprocessor.selectNodes(l_n, '/TaxInvoice/TaxInvoiceDocument');try to change as follow
    l_nl := dbms_xslprocessor.selectnodes(l_n,'/TaxInvoice/TaxInvoiceDocument','xmlns="urn:kr:or:kec:standard:Tax:ReusableAggregateBusinessInformation:1:0"');Edited by: AlexAnd on Aug 17, 2011 12:36 AM

  • How do I get Elements 13 64 bit to play .mts video files with sound as they do in Elements 11 32 bit?

    I have upgraded to Elements 13 64 bit from Elements 11 32 bit and .mts video files now play without sound - they still play perfectly with sound on Elements 11 32 bit.
    Is there something that needs to be changed to get Elements 13 to play them with sound or have Adope simply hooped .mts playback in Elements 13 64 bit?
    I am running on Windows 8.1 Professional with Media Centre on a Dell XPS15 and have Elements 13 64 bit and Elements 11 32 bit installed.
    Adobe, how do I get the support that is supposed to be available for 90 days after activation?

    Hello jl666,
    I have noticed the same issue having upgraded to PSE13 64bit from PSE9 on Windows 7.  This has been reported to Adobe in several forum threads and I have myself tried on three occasions to get Adobe Technical Support to acknowledge or respond to this issue, so far without any success. 
    Despite the fact that Adobe publically claims to support this format, I was told in my last chat with their technical support that I should buy Premiere Pro and that Elements has never and does not support any video data...
    Unterstützte Dateiformate | Premiere Elements, Photoshop Elements
    Here is my chat transcript which I attach in the hope that someone from Adobe will take this issue seriously and work towards providing a fix.
    Sanyogita: Hello. Welcome to Adobe Technical Support.
    Jon Barber: .MTS files no longer play with sound. .DV files no longer play at all.
    Jon Barber: Hello
    Sanyogita: One moment while I look up your customer record.
    Sanyogita: Please allow me a moment to search for the information.
    Jon Barber: ok
    Sanyogita: I can see you have PSE 13
    Jon Barber: Correct and previously PSE 9 where everything worked fine...
    Sanyogita: MAy I know which application are you using for >MTS files
    Sanyogita: .MTS files
    Jon Barber: This issue is mentioned in various threads in your forums as well, but no response or solution from adobe yet
    Jon Barber: Organiser just double clicking on the file to play it. They play, but with no sound. When I play them in Windows the sound is correctly played
    Sanyogita: In PSE 13 there is no provision of playing videos with sound
    Sanyogita: You need premiere pro to play videos with sound
    Jon Barber: Other formats are correctly played with sound. 
    Jon Barber: Please tell me why I have paid €80 to upgrade from PSE9 to get worse functionality then!
    Jon Barber: This is nonsense!
    Sanyogita: You should purchase Premiere pro for videos
    Sanyogita: PSE 13 is only for photos
    Jon Barber: Complete nonsense and not advertised in your documentation. Are you trying to tell me that no video files play with sound, because that is simply not true!
    Sanyogita: Please purchase Premiere elements for videos
    Jon Barber: Adobe sucks - I will pass your comments onto the appropriate forum threads and hope that other customers also let you know how they feel about this reduction in functionality from previous versions.
    Sanyogita: previous versions of PSE never supported video application
    Jon Barber: You are misinformed. These videos work fine on PSE 9 and most files still work on PSE13, just .MTS files have no sound
    Sanyogita: I am sorry ,I am not an expertise in this product
    Sanyogita: Let me connect you to that team
    Jon Barber: Yes,I can tell that - perhaps you could pass this open bug onto someone who does
    Jon Barber: Please do not close this bug - I am getting annoyed at having to reopen it
    Sanyogita: Please stay online I will transfer your chat now
    Jon Barber: ok thank you
    info: Please wait while I transfer the chat to the appropriate group.
    info: You are now chatting with Jayita Sen.
    Jayita Sen: Hello. Welcome to Adobe Technical Support.
    Jayita Sen: Please allow me a moment while I look into your account & verify the details.
    Jon Barber: Hello
    Jayita Sen: John we only support download &  first installation of PSE 13
    Jayita Sen: please contact the forums for further support
    Jon Barber: This issue is mentioned in several forums and no solution has so far been forthcoming from Adobe.
    Jon Barber: I paid €80 to upgrade from PSE9 and now have worse functionality than before and now you are telling me you cannot help. Is that what Adobe considers customer support?!
    Jon Barber: By the way I did recently download and initally install PSE13 so according to your rules you should provide support.
    Jayita Sen: Jon we don't support "Unexpected behaviours or how to issues"
    Jayita Sen: only forums support it
    Jon Barber: This is not a 'how to issue', it is a bug!
    Jon Barber: It is functionality that previously worked and no longer does. I am not requiring lessons in how to use the system, just trying to do something that already worked in previous versions.
    Jon Barber: Frankly I find these support responses from Adobe shocking. What I expect to hear from you is 'thank you for highlighting this issue, we will work on finding a solution and get back to you and others with the same problem in the customer forums" Not an extraordinary set of excuses for poor software.
    Jayita Sen: I am sorry Jon...but forums is where you can only get the support
    Jon Barber: Customers having to help customers since clearly no-one at Adobe has a clue about their own product. How many customers do you expect to have in 12 months with this service?
    Jon Barber: Goodbye - please contact me if you are geniunely interested in helping your customers rather than fobbing them off with excuses.

Maybe you are looking for

  • External hard drives always spinning....is this normal?

    I have a few external hard drives for my Mac Pro, a couple Weibetech 1TB drives, and a Drobo device that I just got to work as a backup. I just switched to this Mac Pro from a Macbook, and I am noticing my external drives are always spinning, and som

  • 24" imac arrived today

    1 word BIG Now, I have to get back to fooling with this thing Peter

  • PSE 7 bright vivid colors, doesn't match prints

    I tried searching for a thread to answer this question but I could not find something that really helped specifically. Use PSE7 to edit my jpg's and when I'm happy with the results then go to print, my prints do not match what I created on screen.  T

  • Will not understand?

    Will not understand? Is there a new iPhone or not If the answer is yes When will the report about him

  • Sticky notes in iOS App

    I have a Adobe PDF document the i want to add sticky notes to in the Adobe App on iOS. However when I click the edit option it tells me the document is protected. The documents securtiy settings are: Adding sticky notes works fine on a pc. Is there a