Given a XSD, and an XPath - find type of leaf element

Given a XSD, and an XPath (refering to an element in a XML document
satifying that XSD), is there an utility which return the "type" of the given XPath
element.
One approach just to traverse the XSD tree, generated by the XSDBuilder,
as per the elements specified in the XPath, until you find the type of the leaf
element in the XPath.
Is there an API/ utility which does this currently?
Thanks
PS:
For example given an XSD :
<element myTypeElem type="myType/>
<complexType name="myType">
<sequence>
<element firstElem type="integer"/>
<<element secondElem type="string"/>
</sequence>
</complexType>
Then the type of XPath : /myTypeElem/firstElem ---> integer
and type of XPath : /myTypeElem/secondElem ---> string

Traverse the schema and retrieve the value of the type attribute for the specified XPATH element.

Similar Messages

  • Given a XSD, and a XPath- ways to find the type of the XPath leaf element

    Given a XSD, and an XPath (refering to an element in a XML document
    satifying that XSD), is there an utility which return the "type" of the given XPath
    element.
    One approach just to traverse the XSD tree, generated by the XSDBuilder,
    as per the elements specified in the XPath, until you find the type of the leaf
    element in the XPath.
    Is there an API/ utility which does this currently?
    Thanks
    PS:
    For example given an XSD :
    <element myTypeElem type="myType/>
    <complexType name="myType">
    <sequence>
    <element firstElem type="integer"/>
    <<element secondElem type="string"/>
    </sequence>
    </complexType>
    Then the type of XPath : /myTypeElem/firstElem ---> integer
    and type of XPath : /myTypeElem/secondElem ---> string

    Unfortunately,
    XPath is currently unaware of XML Schemas and as such cannot tell anything about the type of an element. XPath 2.0 is supposed to fix this in due time.
    Cheers.
    Rob

  • Given some xml and an xsd, how to remove extra stuff in the xml.

    Hi. I have a question. I am trying to use the various XML libraries to parse/validate an xml file given an XSD schema. I want to remove the extra stuff in the xml to output a new xml. The problem is as I validate or parse the SAXParseException it produce only gives me the localName. Is there a way I can keep track of something detail like the XPath as I validate or parse??? Thank for the help in advanced

    forgot to mention. Basically, I want to try to validate and find all the errors in the an old xml, then be able to fix the errors to end up having an valid xml file.

  • XML Comparison without DTD & XSD and able to return XPath of the Diff Node

    Dear All,
    I am new xml concept in java.
    First xml can have n of nodes and second xml can have n of the node.
    The node is new to second xml when compare to first xml.It has to go change list.
    1. My job is to compare 2 xml document and return the XPath of the Nodes.
    2. Both xml do not have any association like XSD,DTD and XSLT.
    3. I am looking for java api to find/return xpath of the node.
    Please help me.
    Saravanan.P

    Don't know if there's a method for this in the default XML parsing interface of Java (JAXP). I never came across a method which would return an XPath expression based on a Node and a Document. Only the other way around: return the Node(s) based on a Document and an XPath expression. Maybe some Java XML framework like XStream or an Apache XML framework have this functionality. It would be possible (not really nice though) to create such a method yourself. Based on a Document and a Node as input you could iterate through the parent elements until you reach the root Node and return the path. You would need to take into account that a Node can be part of a NodeList, so you have to retrieve the index of the Node in the list too.
    Ronald

  • HT4906 I want to download the new updates I think to the 10.9 but our mac was given to us and when it comes to the last page it asks for the user name and password but this mac was wiped clean. How do I find out this info so I can get iPhoto?

    I want to download the new updates I think to the 10.9 but our mac was given to us and when it comes to the last page it asks for the user name and password but this mac was wiped clean. How do I find out this info so I can get iPhoto? To be honest I'm not even sure what type of Mac I have and don't know how to find out what kind it is
    I'd also like to make address labels and don't know where to find that either

    You would make address lables with the Contacts app.
    If you don't have the user name and password used to set up the machine then you need to purchase the apps for yourself.

  • I have 10.6.8 and have installed two new printers HP 8610 and an Epson 7880 and can not find the Page Set-up menu anywhere in the applications I a trying to print from. There are no page sizes, paper types, appearsto be locked on a 13x19 size but It.

    Hi to the Mac Folks,
    I have 10.6.8 and have installed two new printers HP 8610 and an Epson 7880 and can not find the Page Set-up menu anywhere in the applications I a trying to print from. This is regardless of either printer selected.
    I primarily print photos from Photoshop CS5.  The term Page Set-up has gone missing in the file pull down menu. Can't make any choices  There are no page sizes, paper types, appearsto be locked on a 13x19 size paper format. Either being too large or too small.
    Saw a 2008 locked issue about this however none of the help fit my situation, options discussed are not available to me.
    Preview has no "Page Setup" - or does it?
    Does the constant struggle with computer compatability weirdness issues ever end or is it a enslavement scheme?
    Woody

    Hey,
    if you know the name(s) of the root folder(s) you want to access (eg. by making a note on the Windows side) then you can make them appear by just doing Shift-Command-G in Finder ("Go to Folder…"), and entering the full path to the required folders.  You can then navigate all the contents as normal.
    HTH,
    S.

  • I have AI 16.2.1 and can not find Touch Type Tool.

    AI 16.2.1 and can not find Touch Type Tool.  Where can I find the new feature?

    If you are paying the monthly fee, then you should be able to download AICC from the Creative Cloud management app.

  • Try to do my first XML Schema in SQL Server 2012 Mangement Studio(SSMS2012)-How to execute the xsd and xml files in SSMS2012?

    Hi all,
    I learmed the basic stuff of XML, DTD, DOM, etc. long time ago. Now, I came back to resume my XML journey and try to learn the XML Schemas, XPath and XQuery. I have Microsoft SQL Server 2012 Management Studio (SSMS2012) in our computer network. From
    Page 221 of the old Book "Beginning XML 2nd Edition" written by David Hunter, et.al., (published by Wrox), I copied the name5.xsd and name5.xml :
    <?xml version="1.0"?>
    <schema xmlns=http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.wrox.com/name" xmlns:target="http://www.wrox.com/name"
    elementFormDefault="qualified">
    <element name="name">
    <complexType>
    <sequence>
    <element name="first" type="string"/>
    <element name="middle" type="string"/>
    <element name="last" type="string"/>
    </sequence>
    </complexType>
    </element>
    </schema>
    <?xml version="1.0"?>
    <name
    xmlns=http://www.wrox.com/name"
    xmlns:xsi="http://www.wrox.org/2001XMLSchema-instance"
    xsi:schemaLocation="http://www.wrox.com/name name5.xsd"
    title="Mr.">
    <first>John</first>
    <middle>Frizgerald</middle>
    <last>Doe</last>
    </name>
    How can I execute these two files in my SSMS2012 for doing my first XML Schema trial?
    Please kindly help, advise and respond.
    Thanks in advance,
    Scott Chang

    Hi Eric Zhang, Thanks for your nice response.
    1) I saw the CREATE XML SCHEMA COLLECTION (Transact-SQL) and tried  its first example "Create XML schema collection in the database" in my SQL Server 2012 Management Studio (SSMS2012):
    -- Create a sample database in which to load the XML schema collection.
    -- Copied this set of code stsments from Microsoft Library (ms176009)
    -- ColesMS12_20a.sql (saved in C:/Documents/SQL Server Management Studio)
    -- 19 March 2015 1145 AM
    CREATE DATABASE SampleDB
    GO
    USE SampleDB
    GO
    CREATE XML SCHEMA COLLECTION ManuInstructionsSchemaCollection AS
    N'<?xml version="1.0" encoding="UTF-16"?>
    <xsd:schema targetNamespace="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
    xmlns ="http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" >
    <xsd:complexType name="StepType" mixed="true" >
    <xsd:choice minOccurs="0" maxOccurs="unbounded" >
    <xsd:element name="tool" type="xsd:string" />
    <xsd:element name="material" type="xsd:string" />
    <xsd:element name="blueprint" type="xsd:string" />
    <xsd:element name="specs" type="xsd:string" />
    <xsd:element name="diag" type="xsd:string" />
    </xsd:choice>
    </xsd:complexType>
    <xsd:element name="root">
    <xsd:complexType mixed="true">
    <xsd:sequence>
    <xsd:element name="Location" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType mixed="true">
    <xsd:sequence>
    <xsd:element name="step" type="StepType" minOccurs="1" maxOccurs="unbounded" />
    </xsd:sequence>
    <xsd:attribute name="LocationID" type="xsd:integer" use="required"/>
    <xsd:attribute name="SetupHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="MachineHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="LaborHours" type="xsd:decimal" use="optional"/>
    <xsd:attribute name="LotSize" type="xsd:decimal" use="optional"/>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>' ;
    GO
    -- Verify - list of collections in the database.
    select *
    from sys.xml_schema_collections
    -- Verify - list of namespaces in the database.
    select name
    from sys.xml_schema_namespaces
    -- Use it. Create a typed xml variable. Note collection name specified.
    DECLARE @x xml (ManuInstructionsSchemaCollection)
    GO
    --Or create a typed xml column.
    CREATE TABLE T (
    i int primary key,
    x xml (ManuInstructionsSchemaCollection))
    GO
    -- ////The following code statements are not used in order to create SampleDB
    -- Clean up
    ---DROP TABLE T
    ---GO
    ---DROP XML SCHEMA COLLECTION ManuInstructionsSchemaCollection
    ---Go
    ---USE Master
    ---GO
    ---DROP DATABASE SampleDB
    It worked and I got the following results:
    1 4 NULL sys 2009-04-13 12:59:13.390 2012-02-10 20:16:02.097
    65536 1 NULL ManuInstructionsSchemaCollection 2015-03-19 11:47:17.660 2015-03-19 11:47:17.660
    http://www.w3.org/2001/XMLSchema
    http://schemas.microsoft.com/sqlserver/2004/sqltypes
    http://www.w3.org/XML/1998/namespace
    http://schemas.microsoft.com/sqlserver/2004/07/adventure-works/ProductModelManuInstructions
    But, I don't undertand (i) what SCHEMA COECTION is, (ii) what <xsd:schema targetNamespace=.....</xsd:complexType> are, (iii) How I can specify my "project specific" schema in the Microsoft SCHEMA COLLECTION to check my xml file.
    2) I dived in the XQuery programmimng in SSMS2012 in the last few weeks. I used the examles of Ad-Hoc XML File Query by Seth Delconte (in
    httpS://www.simple-talk.com/content/print.aspx?article=1756) in my SSMS2012. They worked. But I don't understand the (i) Importing XML data using a function, (ii) Using the XQuery contans()
    function to find substrings, (iii)Efficiency comparisons in the article.
    Please kindly help me in enlightening me to resolve the difficulties listed in 1) and 2).
    Thanks,
    Scott Chang

  • Importing XSD to Create a Msg Type.

    Hi All,
    Can anyone plz tell me how to create a msg type based on external XSD.I hav gone thru help.sap.com. there it is mentioned for Data Type.It is given that to go for Tools->Import XSD.but i din't find any such option there.Instead, i hav gone for creating External Definition and was successful in creating a DataType using External Definition.But to my surprise, the created Data type is not listed under Data types.Instead it is listed under External Definitions. This is for Data Types.But i need for Message Type.Plz help me out as i hav very severe dead lines.
    Thnx in Advance.
    Anil.

    Hi Anil,
    You could create Message Type (MT) in 3 ways :
    1. Manual: Create Data Type (DT) & Create MT refering to it.
    2. Import XSD as DT: Create a new DT by giving a name. The structure can be imported from a XSD. Tools-> Import XSD. (Note: the name of DT here should match the 'complex type' name in XSD). Then create a MT refering to this DT.
    3. Import XSD as External Definition: An XSD can be imported into External definitions, and this creates the MT directly, and no DT required. They appear only under 'External Definitions'. Note: This XSD should contain a 'complex type' definition, which stands for DT. And also a root element declaration refering to this type, which stands for MT. In this case, we can have one XSD containing multiple DTs and MTs within it. All these MTs can be seen under the 'Messages' tab within an External Definition.
    Once an MT is created in one of these 3 ways, the other concepts of Interfaces, mappings etc. remain the same.
    Hope this gives the differences, and clarifies your concerns.
    regards,
    Pops V

  • I have downloaded the latest pages  update on my iPad, but my iMac still has version 4.3 and I cannot find out how to update it only desktop. When I try to send something from my iPad pages to via email to be opened on my desktop in Pages, it won't open P

    I have downloaded the latest pages update on my iPad, but my iMac still has Pages version 4.3, and I cannot find out how to update it on my desktop. When I try to send something from my iPad pages via email to be opened on my desktop in Pages, it won't open in Pages. I get a message that it can't be opened because the version is too old. I sent the document as a PDF and it worked. But I want to be able to use Pages back and forth. HOw do I update the Pages version on my desktop iMac?

    The file format used by the iOS versions of the iWork apps can only be read by the new iWork apps on your Mac - i.e. Keynote 6, Pages 5 & Numbers 3. Those versions for the Mac require Mavericks, OS X 10.9. The "too old" error on a Mac comes if you are trying to open an iWork '08 or earlier file in the newest apps. If you do have the newest apps you can open the files from your iPad.
    If you can't or don't want to upgrade to Mavericks & the newest iWork apps your best option would be to export/share the files from the iPad to a type an older version of iWork can read such as Word, text, Excel, etc.
    Or contact AppleCare. They made this mess, let them fix it.

  • Question regarding xsd and shredding

    All,
    I have the following xsd and xml file, I register the xsd in xmldb and create a resource from the xml file. Upon registration of the xsd, the proper (I think) tables are created and upon creating the resource the primary table seems to have a row in it. I am having a problem trying to figure out how to get the values out of the types that have the enumeration values. Any help would be appreciated.
    $sqlplus / as sysdba
    SQL*Plus: Release 10.2.0.3.0 - Production on Tue Aug 28 10:40:41 2012
    Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, Real Application Clusters, OLAP and Data Mining options
    SQL> select * from V$VERSION
    2 /
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    PL/SQL Release 10.2.0.3.0 - Production
    CORE 10.2.0.3.0 Production
    TNS for HPUX: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    SQL>
    xsd:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
         <xs:element name="ITEMS" xdb:defaultTable="TMP_ITEMS">
              <xs:complexType xdb:SQLType="TMP_ITEMS_T" xdb:maintainDOM="false">
                   <xs:sequence>
                        <xs:element name="ITEM_GROUP" xdb:SQLCollType="ITEM_GROUP_ROW_NTT">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="GROUP_A"/>
                                       <xs:enumeration value="GROUP_B"/>
                                       <xs:enumeration value="GROUP_C"/>
                                       <xs:enumeration value="GROUP_D"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                        <xs:element ref="ITEM" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ITEM" xdb:defaultTable="TMP_ITEM" xdb:SQLType="TMP_ITEM_T" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="ITEM_NUMBER" type="xs:string"/>
                        <xs:element name="ITEM_STATUS">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="ACTIVE"/>
                                       <xs:enumeration value="INACTIVE"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                        <xs:element name="ITEM_DATE" type="xs:string"/>
                        <xs:element name="ITEM_ID" type="xs:string"/>
                        <xs:element ref="ITEM_SUBGROUP_1" maxOccurs="unbounded"/>               
                        <xs:element ref="ITEM_SUBGROUP_2" maxOccurs="unbounded"/>               
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ITEM_SUBGROUP_1" xdb:defaultTable="TMP_ITEM_SUBGROUP_1" xdb:SQLType="TMP_ITEM_SUBGROUP_1_T" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="SUBGROUP_1_ID" type="xs:string"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:element name="ITEM_SUBGROUP_2" xdb:defaultTable="TMP_ITEM_SUBGROUP_2" xdb:SQLType="TMP_ITEM_SUBGROUP_2_T" xdb:maintainDOM="false">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="SUBGROUP_2_ID" type="xs:string"/>
                        <xs:element name="SUBGROUP_2_TYPE">
                             <xs:simpleType>
                                  <xs:restriction base="xs:string">
                                       <xs:enumeration value="SUBGROUP_TYPE_2_TYPE_A"/>
                                       <xs:enumeration value="SUBGROUP_TYPE_2_TYPE_B"/>
                                       <xs:enumeration value="SUBGROUP_TYPE_2_TYPE_C"/>
                                  </xs:restriction>
                             </xs:simpleType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>xml:
    <?xml version="1.0"?>
    <ITEMS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="tmp_items.xsd">
         <ITEM_GROUP>GROUP_A</ITEM_GROUP>
         <ITEM>
              <ITEM_NUMBER>1</ITEM_NUMBER>
              <ITEM_STATUS>ACTIVE</ITEM_STATUS>
              <ITEM_ID>0000000123</ITEM_ID>
              <ITEM_SUBGROUP_1>
                   <SUBGROUP_1_ID>SG1_000000987</SUBGROUP_1_ID>
              </ITEM_SUBGROUP_1>
              <ITEM_SUBGROUP_2>
                   <SUBGROUP_2_ID>SG2_000000987</SUBGROUP_2_ID>
                   <SUBGROUP_2_TYPE>SUBGROUP_TYPE_2_TYPE_A</SUBGROUP_2_TYPE>
              </ITEM_SUBGROUP_2>
         </ITEM>
         <ITEM>
              <ITEM_NUMBER>2</ITEM_NUMBER>
              <ITEM_STATUS>INACTIVE</ITEM_STATUS>
              <ITEM_ID>0000000456</ITEM_ID>
              <ITEM_SUBGROUP_1>
                   <SUBGROUP_1_ID>SG1_000000654</SUBGROUP_1_ID>
              </ITEM_SUBGROUP_1>
              <ITEM_SUBGROUP_2>
                   <SUBGROUP_2_ID>SG2_000000654</SUBGROUP_2_ID>
                   <SUBGROUP_2_TYPE>SUBGROUP_TYPE_2_TYPE_A</SUBGROUP_2_TYPE>
              </ITEM_SUBGROUP_2>
         </ITEM>
    </ITEMS>registration of xsd:
    BEGIN
      IF DBMS_XDB.CREATERESOURCE(
         abspath => '/public/tmp/tmp_items.xsd',
         data    => BFILENAME ('XSD_DIR','tmp_items.xsd')
      THEN
         DBMS_XMLSCHEMA.REGISTERSCHEMA(
            schemaurl => 'tmp_items.xsd',
            schemadoc => sys.UriFactory.getUri('/public/tmp/tmp_items.xsd')
         COMMIT;
      END IF;
    END;creation on xml resource:
    declare
       v_return BOOLEAN;
    BEGIN
       v_return := DBMS_XDB.CREATERESOURCE(abspath => '/public/tmp/tmp_items.xml', data => BFILENAME('XML_DIR', 'tmp_items.xml'));
    END;query the high level:
      select xml.item_number                  as item_number,
             extractvalue(value(i),'/ITEMS/ITEM_GROUP') item_status
      from tmp_items i,
           table(i.xmldata.item) xmlquery the sub_group for one high level:
    select *
    from table(
    select xml.ITEM_SUBGROUP_2
      from tmp_items i,
           table(i.xmldata.item) xml
           where xml.item_number = '1')When I execute the above query, I can't seem to extract the value out of the subgroup_2_type element. I used the extractvalue function to get it out of the high level, but can't seem to get it right here.
    Thanks
    Eric
    Edited by: Eric Schrauth on Aug 28, 2012 8:39 AM

    Have to create a base view on the elements that will always be there and other views on the items that might not and query them appropriately. Right?Not necessarily.
    The usual approach is to use an OUTER JOIN :
    SELECT x1.item_number
         , x1.item_status
         , x2.*
    FROM tmp_items t
       , XMLTable(
           '/ITEMS/ITEM'
           passing t.object_value
           columns item_number     varchar2(15) path 'ITEM_NUMBER'
                 , item_status     varchar2(15) path 'ITEM_STATUS'
                 , item_subgroup_2 xmltype      path 'ITEM_SUBGROUP_2'
         ) x1
       , XMLTable(
           '/ITEM_SUBGROUP_2'
           passing x1.item_subgroup_2
           columns subgroup_2_id   varchar2(15) path 'SUBGROUP_2_ID'
                 , subgroup_2_type varchar2(15) path 'SUBGROUP_2_TYPE'
         ) (+) x2
    ;Or the equivalent with ANSI JOIN :
    SELECT x1.item_number
         , x1.item_status
         , x2.*
    FROM tmp_items t
       , XMLTable(
           '/ITEMS/ITEM'
           passing t.object_value
           columns item_number     varchar2(15) path 'ITEM_NUMBER'
                 , item_status     varchar2(15) path 'ITEM_STATUS'
                 , item_subgroup_2 xmltype      path 'ITEM_SUBGROUP_2'
         ) x1
       LEFT OUTER JOIN
         XMLTable(
           '/ITEM_SUBGROUP_2'
           passing x1.item_subgroup_2
           columns subgroup_2_id   varchar2(15) path 'SUBGROUP_2_ID'
                 , subgroup_2_type varchar2(15) path 'SUBGROUP_2_TYPE'
         ) x2
         ON 1 = 1
    ;

  • Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. How do I fix this?

    Safari and firefox 'cannot find the server' for every other page that i navigate to, unless I turn Wifi off and on. Once i reconnect to the network, the page loads, but after loading a few more pages, the same thing happens all over again.
    This happens each and every time, on different Wifi networks, in different locations.  On the other hand, I don't ever encounter this problem when I tether my laptop to my mobile phone's 3g/2g network using Personal Hotspot. How do I fix this?

    Try this DNS server ...
    Open System Preferences > Network > Advanced > DNS
    Click + and type:
    208.67.222.222
    Click + again and do the same.
    208.67.220.220
    Click OK.
    Quit and relaunch both your browsers to test.
    If that doesn't help, try here >  iOS: Troubleshooting Wi-Fi networks and connections
    And here >  Wi-Fi: How to troubleshoot Wi-Fi connectivity

  • How to derive date from given month, year and day?

    Hi all,
    I have a doubt in date function. I need to create a date from the given month, year and day. How can i do it?

    consider this example
    REPORT zconvertdate001 .
    TYPES : BEGIN OF tt_date_in,
            day(2),
            sep1,
            month(3),
            sep2,
            year(4),
            END OF tt_date_in.
    DATA : wa_date_in TYPE tt_date_in VALUE '07-Jul-2006'.
    TYPES : BEGIN OF tt_date_out,
            day(2),
            month(2),
            year(4),
            END OF tt_date_out.
    DATA : wa_date_out TYPE tt_date_out.
    TRANSLATE wa_date_in-month TO UPPER CASE.
    SELECT SINGLE mnr
    INTO wa_date_out-month
    FROM t247
    WHERE spras EQ sy-langu
    AND   ktx EQ wa_date_in-month.
    CONCATENATE wa_date_in-year wa_date_out-month wa_date_in-day
           INTO wa_date_out.
    WRITE : / ' Date in:', wa_date_in,
            / 'Date out:', wa_date_out.

  • Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Itunes 10.6.1.7 problem: when I change the file "media type" from 'Music' to 'Podcast' the file disapears from ITUNES. I do this via (1) right click, (2) select 'Get Info', (3) select 'options' tab, and (4) change media type. What is the problem?

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • Can no longer see projects in library viewer in imovie '08 and need to find a different apple editing program

    Can no longer see projects in library viewer in imovie ’08 and need to find a different apple editing program
    I had approximately 15 projects that I can no longer see in imovie. I have read almost every thread on this community for imovie regarding error messages associated with looking for clips. In each case I have rebuilt the project.  However, today I continually received a message to search for a .dv file. I have located the file and even changed the .dv file to .mov file and yet none of my projects will appear. I have rebooted, deleted the plist and nothing works.
    I was planning on buying a new Mac in 2014 with new editing, and use my old Mac as a backup for imovie files. Very frustrated that I can’t work with any projects now! I se the files in my Movies/imovies/iprojects folder but they don’t appear in the viewer.
    Does anyone have a suggestion on how to get back my projects into the viewer? Or, can someone recommend a basic program compatible with imovie 08 that I can use to import my exiting projects into?

    No, Wasn't sure if I could continue to upgrade to 9.0.9 since my Mac is relatively old.
    Just don't understand why I have to keep starting a project over and over again. As I type this, the imovie icon is jumping and asking for "clip 135-02-05-05;27:15" cannot be found. Without this file, the movie cannot play properly."  I have located this clip and pointed imovie to the clip, and nothing happens. I even try to locate the corresponding clip in the event viewer but it is not there.
    Today is the first time I have not been able to see my projects in the viewer.

Maybe you are looking for

  • Program using class "cl_salv_table"

    Hi Experts, I am new to this class (cl_salv_table). I wrote a program with general ABAP code. But, according to my standard I should use standard ALV factory class i.e., 'CL_SALV_TABLE'.  I wouls appreciate if anybody could send me the code using thi

  • Run Smart Index Wizard more than once?

    Afternoon all, RH8 generating WebHelp. Quick question on how the Smart Index Wizard works. I've run it once, made no changes to any topic, ran it again and got many more entries added to the Index. So, should one run the Smart Index Wizard multiple t

  • Can I get iCloud on my MacBook Pro 10.6.8?

    I have a MacBook Pro Version 10.6.8. I just got an iPhone 5 and would like to sync my iCal to my phone. What do I need to do? Do I need to download the latest operating system to get iCloud? I have not downloaded an operating system previously.

  • QT Macworld keynote works with new user account

    Hi, This is a really annoying problem, I can only watch yesterdays Macworld keynote if I setup a new user account and view using that user. When I login using my own user account the QT stream just times out. I have checked all my network and QT sett

  • Links in .swf blocked?

    Hi! I am designing a website in dreamweaver. I designed a banner and navigation bar in flash. (CS3) My problem is that while the banner and nav bar work fine when previewed in flash, once I put them into dreamweaver and preview the site in my broswer