Basic question XML Publisher: how to access the tags in the higher levels?

Hi all
We have a fundamental question in the XML editor.

We have an xml hierarchy as below:

< CD_CATALOG >
<>CATALOG
CATALOG < CAT_NAME > 1 < / CAT_NAME >
< CD >
Heading1 < TITLE > < /title >
ARTIST1 < ARTIST > < / ARTIST >
< CD >
< CD >
Title2 < TITLE > < /title >
ARTIST2 < ARTIST > < / ARTIST >
< CD >
< / CATALOGUE >
<>CATALOG
CATALOG < CAT_NAME > 2 < / CAT_NAME >
< CD >
Title 3 < TITLE > < /title >
ARTIST3 < ARTIST > < / ARTIST >
< CD >
< CD >
TITLE4 < TITLE > < /title >
ARTIST4 < ARTIST > < / ARTIST >
< CD >
< / CATALOGUE >
< / CD_CATALOG >

We need to create a report as below:
Catalog_name CD_TITLE CD_ARTIST CATALOG 1 HEADING1 ARTIST1
CATALOG 1 TITLE2 ARTIST2
CATALOGUE 2 TITLE 3 ARTIST3
CATALOGUE TITLE4 2 ARTIST4

So we have a loop at the < CD > Help for each CD. But when we are inside this loop, we cannot access the CAT_NAME value which is at a higher level.
How can we solve this?

Now, we use the workaround of set_variable and get_Variable. We are defining the value of CAT_NAME inside an outer loop and use it inside the loop internal using get_variable.
Is the right way to do it, or are there better ways to do this? We run into problems when data within tables.

You can use


copy to your model

    

Tags: Business Intelligence

Similar Questions

  • using trees - how to get the higher levels

    I have create a hierarchical tree based on a couple of tables via a record group, which I create on the fly.

    Then I let users attach documents to nodes of the tree. The problem is that the node may not exist in the database but they can build as they go. So I need to insert all archives on tree in table when they attach a document. I don't want to do this before I am only interested when they are attaching documents - rather than storing all data that can never be used.

    My problem is when they attach the document I want to find all the levels in this particular tree to insert.

    that is, if my tree is as follows

    1
    -1 b
    2
    -2B
    3
    -3B
    -3 c

    and the attachment of the user against the 3 c I want to insert 3 in the table, and then 3B, then the document against 3 b, so I need to know what its top level in this case is 3.

    How is the best way to do this? I have the NODE_DEPTH property - to know its not top level and the VALUE of the NŒUD to know the value and NODE_LABEL for the description, but how can I find my uplevel when its not stored in a table anywhere.

    Hello
    See the GET_TREE_NODE_PARENT function in the Form Builder Help

  • How to access the software so that I just paid. I assigned to a user. The user connects and subscription is not found. The site seems to crash randomly and just sends me in circles. How can I get a refund is my next question.

    How to access the software so that I just paid. I assigned to a user. The user connects and subscription is not found. The site seems to crash randomly and just sends me in circles. How can I get a refund is my next question.

    [Profanity removed... MOD]

    Hello

    I just checked the details of your team, and the license that you have assigned intervenes as well on the same Adobe ID.

    Please see the below help documents:

    Applications creative Cloud back in test mode after an update until 2015 for CC

    Solutions to connection errors, activation and connection with creative Cloud applications and Creative Suite

    Kind regards

    Sheena

  • How to access the Clipboard Premiere Pro?

    I don't know if I need to use the SDK for it or not.

    Basically, I want to be able to COPY items different lots of first, as presets, transitions and clips... in the Clipboard, one at the time and then all of this Clipboard information SAVE somewhere where it will not be overwritten when the next thing is copied to the Clipboard.

    Then I'll program a system (probably using AutoHotKey) where any particular item can be recalled and placed in the active Clipboard, then pasted directly into the first as usual.

    This would allow me to use customized keyboard shortcuts to instantly apply any effect I want, any transition I want and any group of clips that I want the timeline... incredibly easy and flawless.

    I tried to use the function clipboardAll() to autohotkey (Clipboard and ClipboardAll), but it does work for the copied elements in first... only for the text and images and things like that. It seems to me that the first has its own special Clipboard it uses for the more complicated things like copy effects or clips on the timeline.

    Once again, my question is, how to access the Clipboard Premiere Pro ? Where this file is located in the Windows? I searched through all folders in AppData first and I don't see anything that resembled the Clipboard information... I do not know if this is the right place to look.

    I downloaded the SDK, but I don't see any information on the Clipboard in the included help file, so I don't know if the SDK may be useful for this.

    I am so, so grateful if someone could help me with this. I'm a video editor, not a programmer, so this kind of thing is not very easy for me.

    There is no way to access the Clipboard Premiere Pro, in the way you described.

    What do you do with the items you want to copy? Perhaps there is another way.

  • How to access the BIOS on Satellite C50-A-1F

    Hey folk,

    A small question:

    How to access the BIOS of my laptop?

    I tried this method and f12, f1, f2 etc.

    Thanks in advance

    Have you ever tried to look for similar issues here in the forum?

    Check this one:
    http://forums.computers.Toshiba-Europe.com/forums/thread.jspa?threadID=76740

  • How to access the function of magnification?

    How to access the magnifcation function?

    Hello!

    In order to ensure the most accurate information is provided, we will need to know the model of the printer you are using.

    If it is a time sensitive question, our team of technical assistance to the United States is standing, ready to help you 24/7 by Email http://bit.ly/EmailCanon or by phone at 1-800-OK-CANON (1-800-652-2666) Monday to Friday between 10:00 and 10: 00, et (07:00 to 19:00 PT).

    Thank you and have a great day!

  • How to access the files from google docs?

    Hello

    can someone tell me how to access the mp3 files saved on google docs.

    as I am able to recover google docs docs files.

               connection = (HttpConnection) Connector.open("http://docs.google.com/feeds/documents/private/full/-/document");
                connection.setRequestMethod(HttpConnection.GET);
                connection.setRequestProperty("Authorization", auth);
                connection.setRequestProperty("Content-type","application/atom+xml");
    

    but the mp3 files do not appear in the xml only doc files are listed?

    any idea how to get mp3 files?

    Thankx

    @Sannyo: agree with you.

    I also saw that. This is only the docs.

    ------------------------------------------------------------------------------------
    Kudo press to say thank you to the developer.
    Also, press accept it as a button when you got the Solution.

  • LaserJet 8150dn start button is stuck - how to access the mechanism internal?

    Can someone tell me how to access the internal mechanism of the switch so that I can repair or replace it. My LaserJet 8150dn works very well (it is plugged into a power strip which has a power button) but the switch is blocked. He is pushed back and he does not feel as there is no 'spring' behind it more to push back in position.

    I don't want to arbitrarily start unscrewing panels external printers.

    I did a search for repair instructions, but all I get are sites that offer their professional services. Given that it is age of pay a repairman to work on it would not be a wise investment. Any help would be appreciated. Thank you

    Hi azsigningagent,

    It is a product of the profit margin. For the best answer to your questions, you need to transfer your question at the following links.

    http://h30499.www3.HP.com/T5/business-support-forums/CT-p/business-support

    http://h30499.www3.HP.com/T5/printers-LaserJet/BD-p/BSC-413

  • How to access the CLI Mode in cisco sf 302 - 08 p 8-port 10/100 Managed switch

    Hello

    Can someone help me on how to access the CLI mode in cisco sf 302 - 08 p 8-port 10/100 Managed switch. I treid the each method they mentioned in the administration guide. I am not able to enter the command debug mode and comand menu after resetting the default password. Once connected, sound directly to guide me to switch main menu.

    Hello FAL, Mark,.

    Thank you for your participation in the community of support to small businesses. My name is Nico Muselle of Cisco Sofia HWC.

    To access the CLI, you must make sure that the version of the firmware on your switch is at least 1.1.0.73 or preferably higher. Then activate telnet or ssh on the switch and opening of these sessions or a console session you will see that you are in CLI mode. You can return to the console to function menu using the menucommand.

    I hope that answers your questions!

    Best regards

    Best regards

    Nico glacier

    Senior Network Engineer - CCNA - CCNA security

  • x 61: how to access the fan for cleaning?

    Lately, I have a humming noise after an hour or two of my x 61 (7675-CTO), some have suggested to clean the fan.

    Question: How to access the fan? I have the manual from lenovo, he speaks of various regions, such as the keyboard, dimm, HD, but not opening fan? Your help step by step will be appreciated.

    In addition, what is the best way to clean the fan?

    Any reference to the video will be great. Thank you.

    take off the keyboard and you can clean the fan blades, but if you need Strip fan apart, you will need to disassemble the entire assembly.

    Buzz can mean that your fan needs to be replaced, if that's the case, then I would say that you extend the warranty on the laptop (you can buy post warranty on certain models of x 61, so you must call Lenovo customer service).

  • How to access the MDS of Hudson and Machine Unix resources?

    Hello
    How to access the MDS of Hudson and Machine Unix resources?

    I can do even Jdeveloper using the local filesystem n oramds Protocol and access resources.

    Please share the information for Hudson & Unix Machine?

    Kind regards
    En

    Need for resources MDS configure using adf - config.xml in the application. You can also change the configration of 'Oracle_SOA1\bin\ant-sca-package.xml '.

    Concerning

    En

  • How to access the info in my iCloud account

    How to access the info in my iCloud account?

    You can access much of the iCloud.com on a computer or through specific applications on your mobile device such as contacts, calendars, iCloud Drive, Photos. What exactly you were looking for and what type of device.

  • How to access the bios?

    I am trying to install a new OS, how to access the bios on my HP Pavilian dv8?

    Hello:

    You should be able to access the BIOS by pressing the F10 key as soon as you see the HP welcome screen.

    Paul

  • How to access the BIOS on a Pavilion Elite e9237c with mouse and keyboard wireless?

    I have a desktop computer Pavilion Elite e9237 with a wireless keyboard and mouse. I tried to access the BIOS by pressing F10 at startup with no luck, and I can't access any of the other menus for the start-up eiither. I don't have a PS/2 port on my computer, so I can't get a wired keyboard and mouse. Does anyone know how to access the BIOS with this configuration?

    I bought a USB keyboard and he answered in the same way... No bios access. I then studied why it did not work and discovered that it was the way in which he has been connected to the computer. I had initially plugged into a USB hub when he was not working and I moved it directly into a USB port and it works! I plugged my keyboard wireless directly into the USB port and it works too! Thanks for your help... I wouldn't have thought of it if it wasn't for to recommend you the USB keyboard.

  • How to access the firefox on laptop Office keeping all the features?

    How to access the firefox on laptop Office keeping all tabs and bookmarks?

    Hello

    You may be able to do this in Firefox Sync configuration on both devices. Please see for detailed instructions.

Maybe you are looking for