How should schema look like for

hello,
we get the following xml-file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<TELEFONBUCH xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.oracle.com/xdb/tel.xsd">
<GRUPPE>
<ID>A134535</ID>
<NAME>Feuerwehr Frankfurt</NAME>
<GRUPPE>
<ID>A298478</ID>
<NAME>Feuerwachen</NAME>
<EINTRAG>
<ID>A198478</ID>
<NAME>Feuerwache 1</NAME>
<RUFNUMMER>
<ID>A343478</ID>
<LEITUNGSGRUPPE>externer Ruf</LEITUNGSGRUPPE>
<NUMMER>06912345678</NUMMER>
</RUFNUMMER>
<RUFNUMMER>
<ID>A123478</ID>
<LEITUNGSGRUPPE>Direktleitung</LEITUNGSGRUPPE>
<NUMMER>1234</NUMMER>
</RUFNUMMER>
</EINTRAG>
</GRUPPE>
</GRUPPE>
</TELEFONBUCH>
Could someone give help how the schema should look like to model the multiple hierarchie of the <GRUPPE>-Element?
Please help.
Thanks in advance.
Anna

Basically it will look something like...
http://download-west.oracle.com/docs/cd/B13789_01/appdev.101/b10790/xdb06stt.htm#sthref747
You will need a type with contains an element which is of the type..

Similar Messages

  • How would a calc all script look like for this outline

    I understand that
    When you perform a default calculation (CALC ALL) on a database, Essbase calculates the dimensions in this order:
    If both a dimension tagged as accounts and a dimension tagged as time exist, and if formulas are applied to members on the accounts dimension, Essbase calculates in this order:
    Dimension tagged as accounts
    Dimension tagged as time
    Other dense dimensions (in the order in which they are displayed in the database outline)
    Other sparse dimensions (in the order in which they are displayed in the database outline)
    Otherwise, Essbase calculates in this order:
    Dense dimensions (in the order in which they are displayed in the database outline)
    Sparse dimensions (in the order in which they are displayed in the database outline)
    but what would the calc srcipt look like for the below outline
    Dense 1 = 1822 (Accounts)
    Dense 2 = 32 (Periods)(Time)
    Sparse 1 = 12
    Sparse 2 = 10
    Sparse 3 = 17
    Sparse 4 = 21
    Sparse 5 = 22
    Sparse 6 = 7
    Sparse 7 = 79
    Sparse 8 = 761
    Sparse 9 = 1081
    Sparse 10 = 12140
    Thanks in advances
    Edited by: Next Level on May 18, 2012 1:43 AM

    No need to get excited, especially as you have already answered the question.
    As you wrote:
    If both a dimension tagged as accounts and a dimension tagged as time exist, and if formulas are applied to members on the accounts >>dimension, Essbase calculates in this order:
    Dimension tagged as accounts
    Dimension tagged as time
    Other dense dimensions (in the order in which they are displayed in the database outline)
    Other sparse dimensions (in the order in which they are displayed in the database outline)So Essbase will calculate, in listed order, the following dimensions:
    Accounts
    Period
    Years
    Subledger
    Company
    Region
    Division
    Ledger
    MfgCenter
    Business Center
    SubLedger
    As I and others have written, doing a CALC ALL on the above is not a great idea for a variety of reasons and I personally think this could likely be done pretty easily as an ASO database, but that's with just a hint as to what your requirements are.
    If you don't believe me (and I suggest that you do not for your edification) the above calc order is really easy to test. Create a copy of the database, clear it out, find one level zero intersection for all dimensions and do a lock and send/submit to get one block of data. Use the following commands in a calc script: SET UPDATECALC OFF; SET AGGMISSG ON ; SET MSG DETAIL ; CALC ALL ; That will show you (quickly) exactly what and in what order the database gets calculated. Just take a look at the application log.
    Regards,
    Cameron Lackpour

  • What is javamail.providers and what should it look like?

    Just to ward off the swarm: Yes, I checked the FAQ. No, it did not answer my question.
    What is javamail.providers and what should it look like?
    I've been looking around for this answer on these forums and on Google, but no where can I find a description of what exactly this file is, and certainly not what one looks like. Most topics are about it not being found although people's problems always seem to be something completely different.
    NOTE: I am not trying to make my own provider or anything like that, I simply want to know what this file should look like and what its content does. Even if only for curiosity.
    Can someone hold my hand through the rocky path to an example file?
    Thanks in advance.

    The documentation you're looking for starts on page 26 of the [JavaMail API Design Specification|http://www.oracle.com/technetwork/java/javamail-1-149769.pdf],
    which is available from the [JavaMail web site|http://www.oracle.com/technetwork/java/index-141777.html], and is included in
    the JavaMail download zip bundle.
    Normally there is no javamail.providers file.
    There is a javamail.default.providers file in the mail.jar file that lists the providers that
    are included with JavaMail.

  • My 2008 Mac Pro is no longer recognizing memory in the B card. Is it simply a defective card or should I look elsewhere for an answer.

    My 2008 Mac Pro is no longer recognizing memory in the B card. Is it simply a defective card or should I look elsewhere for an answer? It was working unntil sometime early this year. Thank you for any enlightenment you can provide.

    I'm not sure I understand. You swapped the A and B modules. The B module does not show up in the A modules slot? That would indicate the module is bad. If the A module doesn't show up in the B module's slot, then the slot is bad.

  • I have just finished editing a feature length documentary for theatrical  release. How should I output it for the highest quality finished product?

    I have just finished editing a feature length documentary for theatrical  release. How should I output it for the highest quality finished product?

    You may find this article. interesting.
    Good luck,
    Russ

  • Make tables, views etc, aviable for public users, how could sql look like?

    Hey specialists,
    I produced under my username several tables, views and sequenzes. How could sql or Psql look like to create for all items a public synonym.
    where could I read more information about giving privilegs for tables etc to other users, for instance in dba-studio
    regards
    robert

    Hi!
    Create a sql script for sql*plus like:
    set head off echo off feedback off pagesize 999 line 120 trimsp on
    spool crepsn.sql
    select 'create public synonym ' || object_name || ' for '|| object_name || ';' || chr(10)
    from  user_objects
    where object_type in ( 'TABLE', 'VIEW', 'SEQUENCE', 'PACKAGE', 'PROCEDURE', 'FUNCTION' )
    and   object_name not like 'BIN$%'
    and   object_name not in ( select synonym_name
                               from   sys.dba_synonyms
                               where  owner = 'PUBLIC'
                               and    synonym_name = object_name
                               and    table_owner =  user )
    order by object_type, object_name
    spool off
    prompt creating Public Synonyms
    set termout on feedback on
    @crepsn
    set echo offThis creates public synonyms for the given object types of objects the current user is the owner of.
    If you get an error that a public synonym is already defined, the obectname
    is already in use by another user in the database.
    After this you have to give other users / public access to your objects via grants.
    Regards

  • Thrive Should not look like a mibile device to web sites

    How can I connect to a web site without looking like a mbile device?  For example, goto eBay and you get a screen formatted for a cell phone.  This is not a cell phone and can easily handle the standard web page.
    Goto to the gMail web interface and again you get a screen formatted for a cell phone which does NOT have all of the funtionality of the full web interface.
    At the least there should be an option as to how your wish the device to present itself to web sites.  Are there other prowers that will solve this problem?

    Sorry for the typos guys.  Here is the corrected request.
    How can I connect to a web site without looking like a mobile device?  For example, goto eBay and you get a screen formatted for a cell phone.  This is not a cell phone and can easily handle the standard web page.
    Goto to the gMail web interface and again you get a screen formatted for a cell phone which does NOT have all of the funtionality of the full web interface.
    At the least there should be an option as to how your wish the device to present itself to web sites.  Are there other browsers that will solve this problem?

  • What would the best process chain look like for this MD data load scenario?

    Hi there,
    I have the following setup. SAP BW connection to external system via DBConnect (DB2 database).
    We have 73 master data text data sources to load either once a week or everyday through process chain. We have not decided on the exact schedule yet.
    All the master data text DataSources pull data from the SAME VIEW created on the DB2 external system:
    VWDEDMASTERDATA
    The structure of the view is the following:
    DEDNAME
    DEDNAMETYPE
    DEDNAMECODE
    DEDNAMEDESC
    DEDNAMELONGDESC
    So, everytime master data text is extracted for all the 73 objects it queries the same view over and over again VWDEDMASTERDATA. We only differentiate in the datasource on the FIELDS tab which InfoObject should DEDNAME map to and then in InfoPackage we filter on the exact object/field to query.
    So essentially, every time we run InfoPackage for master data text object the external system gets queried in the following way:
    SELECT * from VWDEDMASTERDATA where DEDNAME = [FIELD/InfoObject specified in InfoPackage]
    So, if I have to have all 73 objects loaded, essentially the same SQL statement has to execute 73 times. In this scenario, what would be the proper process chain setup that has perfomance in mind? How should the InfoPackages be arranged, in parallel, sequentially, how many in a row, etc?
    Let me know if you need more information.
    thanks

    They would like to send the letters to me
    Depending upon how they send the letters to you and how they expect Acrobat to convert them you could be bordering on a license violation that prohibits you from using your version of Acrobat as a server-based product.
    Adobe offers server based products to convert rtf files into pdf files. Some require your company to run a server, but one seams exactly what they may want. The createpdf service is run by Adobe and seems capable of doing what your company wants.
    https://www.acrobat.com/createpdf/en/home.html

  • Keychain - bare bones set up - what should it look like

    Hello
    Sorry for asking such a boring question but:
    WHAT DOES A BARE-BONES Keychain SETUP LOOK LIKE?
    I am the single user of the machine and thus its administrator. I understand that a login keychain is set up on login, but I also have a keychain called my username. Do I need this? All I want is the absolute basic setup - number of keychains, locked - yes or no? etc etc
    I want to store a single password - my internet mail access password. Should this be stored in my login keychain or another one (eg: my username keychain).
    Long time Mac user, but never had to deal with this stuff until 10.4.9 came to town...
    Cheers
    PowerBook G4 17   Mac OS X (10.4.9)   1Gb RAM + Lacie External Firewire HD

    Glad to help clarify for you. The 10.4.9 update isn't at fault for keychain problems. If users have keychain problems they need to look elsewhere than a system update.
    Everyone who posts on these forums has a problem, but that doesn't mean the problem is widespread, universal, or due to some update (although that is possible in some cases.) The other side of the story are the thousands of users who have no problems and don't post on these forums for that reason.
    I've been using Mac OS since 1986 and Mac OS X since it's original beta release. So far I've never had a keychain problem of any kind on any Mac I've used. If you maintain your system you shouldn't have any problems either.
    Passwords and keychains have been a part of OS X always. You can't create a user account without them. The keychain, however, is a relatively transparent component with which the user rarely if ever has to deal.
    And, although I've never used Windows all that much, I know it well enough to know that it, too, uses passwords and wallets (their word for keychains.) They are a fact of life on any multi-user operating system.
    Kappy's Personal Suggestions for OS X Maintenance
    For disk repairs use Disk Utility. For situations DU cannot handle the best third-party utilities are: Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.0 is now Intel Mac compatible. TechTool Pro provides additional repair options including file repair and recovery, system diagnostics, and disk defragmentation. TechTool Pro 4.5.2 is Intel Mac compatible; Drive Genius is similar to TechTool Pro in terms of the various repair services provided. The current version, 1.5.1, is Intel Mac compatible.
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.
    OS X automatically defrags files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive. As for virus protection there are few if any such animals affecting OS X. You can protect the computer easily using the freeware Open Source virus protection software ClamXAV. Personally I would avoid most commercial anti-virus software because of their potential for causing problems.
    I would also recommend downloading the shareware utility TinkerTool System that you can use for periodic maintenance such as removing old logfiles and archives, clearing caches, etc.
    For emergency repairs install the freeware utility Applejack. If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the commandline.
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand. I also recommend booting into safe mode before doing system software updates.
    Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    1. Retrospect Desktop (Commercial - not yet universal binary)
    2. Synchronize! Pro X (Commercial)
    3. Synk (Backup, Standard, or Pro)
    4. Deja Vu (Shareware)
    5. PsynchX 2.1.1 and RsyncX 2.1 (Freeware)
    6. Carbon Copy Cloner (Freeware - 3.0 is a Universal Binary)
    The following utilities can also be used for backup, but cannot create bootable clones:
    1. Backup (requires a .Mac account with Apple both to get the software and to use it.)
    2. Toast
    3. Impression
    4. arRSync
    Apple's Backup is a full backup tool capable of also backing up across multiple media such as CD/DVD. However, it cannot create bootable backups. It is primarily an "archiving" utility as are the other two.
    Impression and Toast are disk image based backups, only. Particularly useful if you need to backup to CD/DVD across multiple media.
    Visit The XLab FAQs and read the FAQs on maintenance, optimization, virus protection, and backup and restore.
    Additional suggestions will be found in Mac Maintenance Quick Assist.
    Referenced software can be found at www.versiontracker.com and www.macupdate.com.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • What defects should I look out for on a new C2D MacBook?

    Hi all,
    So, here's my Mac story. I've had macs for the past 4 years, I just like working on them when I have the option. When the new MacBook came out last Spring I immediately bought one, and then 3 returns laters, I got one that wasn't falling apart and was happy. Then the C2D came out, and I was antsy to upgrade. I know it was foolish but I talked myself into a MBP C2D. I got that, about 2 weeks ago and was very dissapointed in the display, grainy and all. So I talked to apple and they're taking it back. But here I am with no laptop again. SO I purchased a new C2D MacBook, and it arrives today.
    So back to the question ... what defects with the new one should be on the look out for? It's difficult to figure out which MacBook people are talking about when they talk about their problems.
    Thanks for the help

    To be honest, you shouldn't be looking for any defects. There were some problems with a small percentage of the original MacBooks which have since been resolved and should not appear on the new Core 2 models. Get your MacBook and enjoy it. If you discover something is not working the way you feel it should, address it then. To be on the look out for problems that you may have heard others having is only going to make you worry and probably think you have found a problem where none may exist.

  • Brett L was so helpful.  I would like to know how to register a 'like' for him and to thank him.

    I asked for help last week, and Brett L of this community solved my iPhone problem.  I want to thank him and to click like for the response, but I can't seem to do that. 

    You can do that in the topic you posted.

  • I'd like to go back to Snow Leopard from Lion.What should I look out for?

    I downloaded OS X Lion from the Mac App Store back in February, and I'm getting sick of Lion so I'd like to go back to Snow Leopard. I have the install disc. Will all of my files be used in Snow Leopard, or will I have to save all of them?

    Downgrade Lion to Snow Leopard
    1.  Boot from your Snow Leopard Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Set the format type to Mac OS Extended (Journaled.) Click on the Options button, set the partition scheme to GUID then click on the OK button. Click on the Partition button and wait until the process has completed.
    4. Quit DU and return to the installer. Install Snow Leopard.
    This will erase the whole drive so be sure to backup your files if you don't have a backup already. If you have performed a TM backup using Lion be aware that you cannot restore from that backup in Snow Leopard (see below.) I suggest you make a separate backup using Carbon Copy Cloner 3.4.1.
    If you have Snow Leopard Time Machine backups, do a full system restore per #14 in Time Machine - Frequently Asked Questions.  If you have subsequent backups from Lion, you can restore newer items selectively, via the "Star Wars" display, per #15 there, but be careful; some Snow Leopard apps may not work with the Lion files.

  • Other than main software update, how should I prepare Mac for Lion?

    I'm not at all talented at updating software and operating systems, etc.
    I am aware that i should do the software update from the apple symbol menu on the top left of our screens, but other than that I am unsure about anything else i should do before instaling Lion.
    I've resisted the urge to download it so far, i thought I'd wait to see how it went.
    One way or the other, i am going to get it, if thats where Apple wants to go, then it makes sense to follow them there,while i'm using a mac, but I just want to make sure I'm not one of those that are current;ly being told that they should have checked this or that before installing.
    I don't have any expensive applications to worry about becoming disfunctional, i don't really have that many apps on the iMac at all, but things like flash worry me, I'm terrible at comprehending the file system on any computer, so moving things around and deleting things terrifies me.
    Anyway, I just wondered if someone could give me a small checklist to refer to before I let the Lion out of it's cage.
    Thanks.

    First as mentioned above have a clone backup handy. HDD are cheap these days I personally have a clone copy of my snow leopard system in case I need it.  Use carbon copy cloner or superduper!
    Then make sure you dont need any of the any PowerPC only application. A way to do this is found on this page http://www.cultofmac.com/os-x-lion-kills-rosetta-powerpc-support-heres-what-to-d o-about-it/103458 .
    If you don't need any of these applications then go ahead and delete them.  Lion kills support for these applications so you won't be able to open them.
    A list of compatible liion application is found here http://roaringapps.com/
    then you can go ahead and upgrade or make clean install of lion.  I personally prefer the clean install and is what I did.  I prefer to erase my whole hardd drive and install clean.  Then used migration assistant and my clone backup to import all my settings and applications.  You can also install all applications from scratch if you prefer.
    If you want to make a bootable DVD or USB stick to make a clean install it's easy just contact me if you want the steps. 
    Hope this helped.

  • Installed nvidia, how should xorg look?

    I just installed the nvidia driver for a 7600gts. Then I ran nvidia-xconfig. I can log into X, although it is slow. I am new to this and was wondering if the "Device" section needed anything added to it, such as agp, and things like that, that could increase performance. If so would someone mind telling me what I need in the "Device" section and if I need anything how I add it? Thanks, .
    Section "Device"
    ### Available Driver options are:-
    ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
    ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
    ### [arg]: arg optional
    #Option "SWcursor" # [<bool>]
    #Option "HWcursor" # [<bool>]
    #Option "NoAccel" # [<bool>]
    #Option "ShadowFB" # [<bool>]
    #Option "UseFBDev" # [<bool>]
    #Option "Rotate" # [<str>]
    #Option "VideoKey" # <i>
    #Option "FlatPanel" # [<bool>]
    #Option "FPDither" # [<bool>]
    #Option "CrtcNumber" # <i>
    #Option "FPScale" # [<bool>]
    #Option "FPTweak" # <i>
    #Option "DualHead" # [<bool>]
    Identifier "Card0"
    Driver "nvidia"
    VendorName "nVidia Corporation"
    BoardName "G73 [GeForce 7600 GS]"
    EndSection

    I have found this page but do not know which commands to use and how to use them. But I think it is a big start.
    http://us.download.nvidia.com/XFree86/L … dix-b.html
    This keeps showing up, for instance when I run glxgears:
    Xlib:  extension "Generic Event Extension" missing on display ":0.0".
    Xlib:  extension "Generic Event Extension" missing on display ":0.0".
    Sometimes many lines of it.
    Last edited by Preston C. (2009-04-03 05:33:13)

  • How to set permissions like "For all users" with Sandbox

    Hello!
    Hello!
    I am using Sandbox for Mac OS X Leopard and I've got a question to you:
    How can I set up a folder to behave like the For all users folder in the users directory?
    Greetings

    Well, sandbox sets ACL's not posix permissions. The sticky bit is a posix permission. Sand box will allow you to do something similar to the sticky bit using ACL's, but the exact duplication of the sticky bit is not possible, but something just as useful or more useful can be easily implemented.
    To set the sticky bit you will need an app called FileXaminer or the Terminal.app command line.
    to set the sticky bit simply put "1" in front of the the permissions number when you run chmod on the command line, here is an example:
    chmod 1775 /users/data/shared #assigns permissions 775 and the sticky bit#
    chmod 775 /users/data/shared #assigns permissions 775 without the sticky bit#
    note: note actual use of the chmod and chown commands will, in most cases require the sudo (super user do) command to be used with them. example:
    sudo chmod 1775 /users/data/shared #assigns temporary super user priviledge#
    The way I set my shared user's directories with ACL's is this:
    first I created folder /users/data -permissions=777 (everyone).
    I had three users so I created folders for each in /users/data:
    /users/data/user1 #this is just example-substitute real user name#
    /users/data/user2
    /users/data/user3 #etc,etc,#
    set the posix permission on each user folder 700 (owner:read,write,execute)
    set the owner and group on each one accordingly:
    chown user1:staff /users/data/user1 #substitute real user name#
    chown user2:staff /users/data/user2
    chown user3:staff /users/data/user3 #(etc,etc)#
    Now each user has their own data folder they can read and write to at will (when they are logged in to their user account).
    They can safely create and maintain their data and no one can delete it.
    Since these are shared data accounts. other users will need to read the data, this is where the ACL's come in.
    You will need to use Sandbox to place ACL's for each allowed user, on each of the user directories:
    0: user:joe inherited allow list,addfile,search,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsec urity,file_inherit,directoryinherit
    1: user:mary inherited allow list,addfile,search,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsec urity,file_inherit,directoryinherit
    2: user:sue inherited allow list,addfile,search,add_subdirectory,readattr,writeattr,readextattr,writeextattr,readsec urity,file_inherit,directoryinherit
    Basically with the above ACL's the only thing the allowed user can't do is delete files. They can copy files, they can add files, etc. This behavior is somewhat similar to what can be accomplished with the sticky bit, but much more controlled and structured. That is the beauty of using ACL's.
    Using SandBox you can taylor the permissions as you see fit for each every user. You can set permissions for an administrator to delete files as well. You can take away or add permissions for each user as you see fit. let your imagination be your guide.
    ACL's weren't meant to replace posix permissions, but rather to allow administrators to fine tune user permissions.
    Kj

Maybe you are looking for