XML: Using static & placeholder text inside element with children?

Hi there
I’m working with simple XML data with the following structure:
Root
     Row
          Company_name
          Physical_address
          Phone
          Website
          Email_address
     Row
          Company_name
          Physical_address
          Phone
          Website
          Email_address
etc.
The row element will be repeated many times. In setting up my InDesign document I’d like to use static text within each Row element. What’s confusing me is where I should use the Row tag. I’d like my imported XML data to run as continuous text, thus:
Company: placeholder text
Address: placeholder text
placeholder text
placeholder text
placeholder text
Company: placeholder text
Address: placeholder text
placeholder text
placeholder text
placeholder text
I tried setting it up like this, with the parent text frame given the Root tag:
<Row>Company: <Company_name>placeholder text</Company_name>
Address: <Physical_address>placeholder text</Physical_address>
<Phone>placeholder text</Phone>
<Website>placeholder text</Website>
<Email_address>placeholder text</Email_address></Row>
…but when I import my XML file I lose all my static text and each child element is indented more than its parent element. I would guess that by placing my static text within the Row tag it gets replaced when each Row element is imported, but where else would I place it? Do I have to create anchored text frames (tagged with Row) within the Root frame to hold each Row element?
I’d appreciate any insights.
Message was edited by: Graham vdR

OK, I’ve figured out the first problem. I just needed to play around with the options in the dialogue that comes up when importing XML. Specifically, the “Do not import contents of whitespace-only elements” needs to be checked. I still don’t see why that should affect whether or not my static text stays in place.
Now, my new question is this: It looks like all the child elements of a container element have to appear in the document in the same order in which they appear in the XML file. Is this right? If I swap my Email_address and Website tags around in my placeholder text, either the email address disappears or it appears at the end (depending on the options I select in the dialogue upon import). So if I want to change the order in which they appear I have to do so in the XML file as well?

Similar Messages

  • Replacing special characters from xml document/text inside element

    Hi
    Is there any way to replace the xml codes to special characters inside an entire xml document/ for a text in element.
    I want to get the xml codes to get replaced to respective special character(for any special character)
    Please see the sample xml xml element below
    <Details>Advance is applicable only for &lt; 1000. This is mentioned in Seller&apos;s document</Details>
    Thanks in advance .. any help will be highly appreciated.

    So, just to be sure I understand correctly, you want this :
    <Details>Advance is applicable only for &lt; 1000. This is mentioned in Seller&apos;s document</Details>
    to be converted to :
    <Details>Advance is applicable only for < 1000. This is mentioned in Seller's document</Details>
    If so, I'll say again : the resulting XML document will be invalid.
    Extensible Markup Language (XML) 1.0 (Fifth Edition)
    The ampersand character (&) and the left angle bracket (<) MUST NOT appear in their literal form, except when used as markup delimiters, or within a comment, a processing instruction, or a CDATA section. If they are needed elsewhere, they MUST be escaped using either numeric character references or the strings " &amp; " and " &lt; " respectively. The right angle bracket (>) may be represented using the string " &gt; ", and MUST, for compatibility, be escaped using either " &gt; " or a character reference when it appears in the string " ]]> " in content, when that string is not marking the end of a CDATA section.
    Ask whoever "they" are why they would want to work with not wellformed XML.

  • Are there pepes out there using ipads to make group music with children who have profound and multiple learning difficulties? I am and I'd love to share the ideas.

    Are there pepes out there using ipads to make group music with children who have profound and multiple learning difficulties? I am and I'd love to share the ideas.
    I am the music teacher in a  Special school in London UK currently working with Drake Music who are a charity that go into schools to enable music making through music technology. Our purpose is to enable a group of 7 children who have profound and multiple learning difficulties to play instruments on the ipads or through the soundbeam and to be able to play and jam together with me underscoring on the guitar. We're having a lot of fun and we're all learning a lot about what can be achieved using the amazing ipad technology. If you're doing a similar project I'd love to hear from you and we can swap notes!

    See Recover your iTunes library from your iPod or iOS device.
    You can use iTunes to easily manage multiple devices by having each sync with selected playlists. I don't personally have any recommendations for other software but perhaps others might.
    tt2

  • Using Accordion Style text inside Flash

    Looking for some ideas on how I could have text object with a link inside to display the information below the link still inside the text object. My thoughts were to use an html file inside the text object and have links that would display an accordion like text below the link. Before I start venturing in this direction, thought there may be a better approach?
    Basic concept: Paragraph of text, inside the paragraph a link. When clicked the additional text appears below the link and the rest of the text pushes down, musch like an accordion style panel.
    Look inside SPRY and there is nothing there.
    Any ideas?
    THANKS

    That's because it's probably stripping the characters it doesn't like, such as HTML and formatting. Your best strategy at that point is to convert it before you send it through your script so your script tolerates it. You can try the encode() function run on your string which will URL encode it and the decode() function can restore it. Otherwise you need to replace anything your script doesn't like with something else intentionally. e.g. turn <i>italics</i> into [i]italics[/i] and then later fix it.
    I myself would look at what PHP is doing. Chances are it's running the striptags function. It's just a safety measure to stop SQL injections (make code safer). But that may not be what you want. If you're at all uncomfortable with that, you'd best not do it though. You take the risk someone will sneak something in that you do not want.

  • How to send different XML using static URL

    Hi Guys,
    I have the problem, my legacy system sends xml messages to XI by HTTP, my legacy system support only a static url http://host:8000/sap/xi/adapter_plain
    I have more than one interface, how did u fix this problem. I need to send xml to XI with out defining INTERFCAE on URL.
    can anybody explain how to handle this issue, help would be really appreciated.
    Thanks,
    k s reddy

    You have two options:
    1. use enhanced receiver determination (but for that, you'll have to use java mapping from input message to receivers), it will only work from 3.0 SP16 / 7.0 SP7;
    2. use a generic interface, where you define all possible message type tags with occurrence 0...1.
    Regards,
    Henrique.

  • [HTTP Sender]How to send different XML using static URL

    Hi all,
    I have a problem, my legacy system send XML messages to SAP XI by HTTP, I know that I need to use HTTP Sender adapter, the problem is that legacy system support only a static URL. I have more than one interface, how could I fix this problem?
    Can I send the XML message to SAP XI without define INTERFACE on URL? How can I handle this?
    Thank in advance,
    Daniel Torres

    Hi Srinivas,
    The legacy system is a java application, that send XML messages to SAP XI server using HTTP protocol. So I just ask to legacy system team to change the application to add <b>server</b>, <b>namespace</b> and <b>interface</b> attributes to the URL querystring.
    So for each XML message you should especify mesage interface that it belongs to. You do it by especifying on URL as message atribute for exemple:
    HTTP://[SAPXISERVER]:80[SYSTEM ID]/sap/xi/adapter_plain?service=[BS SERVICE]&namespace=[MESSAGE INTERFACE NAMESPACE]&interface=[MESSAGE INTERFACE]
    So if you have for example information belows:
    <b>MESSAGE INTERFACE</b> = MI_MYMESSAGEINTERFACE_IB
    <b>MESSAGE INTERFACE NAMESPACE</b> = urn:teste:mymessageinterface
    <b>SERVICE</b> = MY_LEGACY
    <b>SYSTEM ID</b> = 10
    <b>SAPXISERVER</b> = MYSAPXI
    Your url should looks like: http://MYSAPXI:8010/sap/xi/apadter_plain?service=MY_LEGACY&namespace=urn:teste:mymessageinterface &interface=MI_MYMESSAGEINTERFACE_IB
    You should have a different message interface for each XML that you send to SAP XI.
    Message was edited by:
            Daniel Torres
    Message was edited by:
            Daniel Torres

  • Use GUID for setting partition element with bcdedit

    The following is an example of a valid BCDEDIT command:
    BCDEDIT /set {ntldr} /device partition=d:
    If a disk were added to the system and the drive letter of the
    partition just referenced was no longer "d:" then it would not
    be found by the loader. 
    Could a volume name such as
    \\?\Volume{e1e236ee8-7dbd-1223-a442-806d61f356de}
    be used in place of the drive letter in the same command ?
    (If not, my next question would be how to reset the
    element in a script...perhaps some hints?)
    Thank you.

    Hi,
    Which OS are installed in the disk you attached to system? Windows XP?
    Do you want to makes a dual boot?
    Please run bcdedit /enum in privileged command prompt, and upload the result here.
    Andy Altmann
    TechNet Community Support

  • How to read xml-stylesheet Processing Instruction from XML using DOM Parser

    Hi,
    I am trying to read an xml that contains xsl stylesheet PI using DOMParser. The parse() method reads the entire contents of the XML except the PI instruction. Below is the XML I am using to read
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <?xml-stylesheet href="../../../lang/en-us/style0/usc_profile.xsl" type="text/xsl"?>
    <Oblix oblang="en-us" xmlns="http://www.oblix.com/" xmlns:oblix="http://www.oblix.com/">
    <ObProfile>
    </ObProfile>
    </Oblix>
    Can anyone let me know if there are any propery settings to be done for the DOM parser before parsing?. If so, what is the property to be set?.
    Thanks in Advance
    Muthu

    A COTS product builds the XML and inserts the respective xsl (xml:stylesheet) file name to be used for transforming the xml. I am trying to interrupt this xml and make some updations on an element and finally send the updated xml to the stream.
    For the above process, I parse the input XML using DOMParser and update the elements (some internal elements). While I view the final XML that would be passed to the stream, I found the <?xml-stylesheet... PI is missing.
    I somehow managed using a temp fix by doing the below. I manually pulled the PI using document.getFirstChild().getNodeValue() and reconstructed the PI and inserted it to the outgoing XML. This needs to be done every time. This might run into problems when more than one PI is used in the XML.
    If the parsed XML could get the PI along with it the above problem could be resolved.
    Is there any property that could be set on the parser (prior to parsing) to resolve the issue?.

  • Issue with working on a webservice that has  xml elements with attributes

    This is  a branchout of Thread: Some more complex sample of invokin WS needed_
    We are working on a project that involves a outbound SALT Web service call that includes complex elements with attributes..We are looking for options of how to use FML API's to pass these attribute values from the application code.
    We opened a ticket with oracle where we were suggested to frame the entire xml and pass the xml using the FML32 of the complex element. But when we framed the xml for Service and put the entire XML which includes the attributes using the FML ID of Service.
    Please find a sample Schema and XML similar to the one we are working on...its associated code
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:element name="Service" type="Service_Type" nillable="true">
              <xs:annotation>
                   <xs:documentation>Comment describing your root element</xs:documentation>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="Service_Type">
              <xs:sequence>
                   <xs:element name="DateTime" type="xs:dateTime" nillable="true">
                   </xs:element>
                   <xs:element name="UUID" nillable="true">
                   </xs:element>
                   <xs:element name="Status" type="xs:string" nillable="true" minOccurs="0" maxOccurs="unbounded">
                   </xs:element>
              </xs:sequence>
              <xs:attribute name="Version" type="xs:string" use="required">
              </xs:attribute>
              <xs:attribute name="Name" type="xs:string" use="required">
              </xs:attribute>
         </xs:complexType>
    </xs:schema>
    The sample XML is :
    ___<?xml version="1.0" encoding="UTF-8"?>___
    ___<!--Sample XML file generated by XMLSpy v2010 rel. 2 (http://www.altova.com)-->___
    ___<Service Name="TestService" Version="1.1" xsi:noNamespaceSchemaLocation="Untitled6.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">___
    ___     <DateTime>2001-12-17T09:30:47Z</DateTime>___
    ___     <UUID>text</UUID>___
    ___</Service>___
    wsdlcvt generated the mif file with Service as a FML32 type and all its child elements as "mbstring". We tried to leave as it is and we also tried to replace all the child elements and just had a mif entry for "Service" as a mbstring neither produced a different output...Tried to dump using Ferror32 which did not dump any..._
    The sample C/C++ code as per suggestions were to do the following...
    _1) Have a string with the entire XML for Service_
    xmldata="<Service Name=\"TestService"\ Version="1.1\"_ xsi:noNamespaceSchemaLocation=\"Untitled6.xsd\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">_
    _     <DateTime>2001-12-17T09:30:47Z</DateTime>_
    _     <UUID>text</UUID>_
    _</Service>";_
    _2) Use Fmbpack32 to create a mbstring data_
    _memcpy(reqmbptr, (char*)xmldata.data(),xmldata.length());_
    _len=xmldata.length();_
    _Fmbpack32(mbcodeName,reqmbptr,len, packdata,(FLDLEN32 *)&packedlen,0);_
    userlog("Size of packedlen is %d",packedlen);
    3) Add the packed data to the output buffer
    Fadd32(fmlbuffer,Service, packdata,packedlen );
    But we do not see the Service tag populated in the GWWS outbound request.Everything else makes it....any help on how to move ahead would be appreciated...

    It seems you switch to the 10gR3 GA and now the whole XML data is mapped to FLD_MBSTRING.
    I will forward my sample to you by mail, but this sample is not offical sample, it is just QA test case. You can refere it and check what's the difference.
    Please let me know your mail address.
    Regards,
    Xu he

  • A few questions about using an XML file to add text into a TextArea component set as html

    I'm using AS2 in Flash CS3.
    I have a TextArea component in the stage that's loading its text from an XML and I've been able to use the ul and li tags to create lists. However, when I try to include a nested list it just inserts a line break between the nested list and the main list rather than indent it further. Is there a solution for this issue?
    Failing that, how would I be able to add non-breaking spaces into the XML so they will render inside the TextArea component? I've tried   and &#160; without success. I scoured the net for some help with this and found some information about modifying the font embedding xml file with a new entry for the non-breaking space and that didn't work either, so that leaves me somewhat stumped.

    flash doesn't handle nested lists (as you now know).  you can work-around that limitation using css and creating your own indent styles.  css have a marginLeft property you can use.

  • Pages '09: Can't use AppleScript for selected text inside tables?

    When I run get selection on selected text in a Pages document, I get something like this:
    <pre>text from character 1 to character 4 of body text of document id 9943974 of application "Pages"</pre>
    When I run get selection on selected text inside a table cell in a table in a Pages document, I get something like this:
    <pre>text from character 1 to character 4 of some table of document id 3539679 of application "Pages"</pre>
    When I run get selection on selected text inside a table cell in ANOTHER table in the same Pages document, I get the exact same thing. It still says "some" table. So there is no way to distinguish between tables if there are more than one table in the same Pages document.
    Am I correct in understanding that this means that most AppleScript commands for manipulating text are unusable inside table cells?
    For example, it seems impossible to get the properties of the selection when the selection is selected text inside "some" table. So it's impossible do anything about text styles, etc.
    Is AppleScript support in Pages ’09 really that limited, or am I missing something?

    The first script below should return the character style of any selection made in Pages ’09, whereas the second script should apply the "XXX" character style to any selection:
    --BEGINNING OF SCRIPT 1
    tell application "Pages"
    activate
    tell application "System Events" to tell process "Pages"
    -- Show the format bar:
    if not (pop up button 1 of window 1 exists) then
    click menu item "Show Format Bar" of menu 1 of menu bar item "View" of menu bar 1
    end if
    -- Show the styles drawer and character styles:
    if menu item "Show Styles Drawer" of menu 1 of menu bar item "View" of menu bar 1 exists then
    keystroke "t" using {shift down, command down}
    end if
    tell front window
    tell checkbox 1 of group 1 of drawer 1 -- “Show or hide character styles.” checkbox
    repeat until it exists
    delay 0.1 -- wait until the styles drawer is open
    end repeat
    if description is "show character style" then click
    end tell
    -- Get the row index (although it is not a property) of the character style:
    tell menu button 2 -- “Choose a character style.” menu button
    click
    set k to 0
    repeat
    set k to k + 1
    if value of attribute "AXMenuItemMarkChar" of menu item k of menu 1 exists then exit repeat
    end repeat
    keystroke return -- hide the menu
    end tell
    -- Get the character style name:
    if k > 1 then set k to k + 1
    value of static text 1 of row k of outline 1 of scroll area 2 of splitter group 1 of group 1 of drawer 1
    end tell
    end tell
    end tell
    --END OF SCRIPT 1
    --BEGINNING OF SCRIPT 2
    set myStyle to "XXX" -- the name of the character style you want to apply
    tell application "Pages"
    activate
    tell application "System Events" to tell process "Pages"
    -- Show the format bar:
    if not (pop up button 1 of window 1 exists) then
    click menu item "Show Format Bar" of menu 1 of menu bar item "View" of menu bar 1
    end if
    -- Show the styles drawer and character styles:
    if menu item "Show Styles Drawer" of menu 1 of menu bar item "View" of menu bar 1 exists then
    keystroke "t" using {shift down, command down}
    end if
    tell front window
    tell checkbox 1 of group 1 of drawer 1 -- “Show or hide character styles.” checkbox
    repeat until it exists
    delay 0.1 -- wait until the styles drawer is open
    end repeat
    if description is "show character style" then click
    end tell
    set characterStyles to value of static text 1 of rows of outline 1 of scroll area 2 of splitter group 1 of group 1 of drawer 1
    set k to 0
    repeat with thisStyle in the characterStyles
    set k to k + 1
    if thisStyle as text is myStyle then exit repeat
    end repeat
    -- Apply the character style:
    if k > 1 then set k to k - 1
    click menu button 2 -- “Choose a character style.” menu button
    click menu item k of menu 1 of menu button 2
    end tell
    end tell
    end tell
    --END OF SCRIPT 2
    I suppose that +paragraph styles+ should work the same.
    I'm beginning to know Pages ’09 a little better now.
    Message was edited by: Pierre L. (show format bar)

  • How to Centre tables with out centreing the text in elements?

    Ok so this bug has been boggling my brains for a while. When i create a table and center it, all the text inside the table also center justifies (in the output and preview, but is not visible in HTML editor), no matter what the justification is for the cells, the cells will always justify as the table is justified.
    I have Robohelp ver.8
    In editor
    In output

    ok that solved the alignment problem. But now, i had a flaoting object in my header with navigation buttons. It is no longer floating.
    here is my master page code:
    <?xml version="1.0" encoding="utf-8" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="topic-comment" content="" />
    <meta name="generator" content="Adobe RoboHelp 8" />
    <title>SHARQ_Master_MO_2_1_2011</title>
    <link rel="StyleSheet" href="SHARQ_MO_2_1_2011.css" type="text/css" />
    <style type="text/css">/*<![CDATA[*/
    div.floating-menu {
    position: fixed;
    background: #000000;
    border: 0;
    width: 150px;
    z-index: 100;
    div.floating-menu a,
    div.floating-menu h3 {
    display: block;
    margin: 0 0.5em;
    /*]]>*/</style>
    </head>
    <body>
    <?rh-region_start type="header" style="width: 100%; height: 26px; background-color: #ffffff;" ?>
    <div class="floating-menu" style="width: 100%; border-left-width: 1px;
       border-right-width: 1px; border-top-width: 1px; border-bottom-width: 1px;
       float: none; background-color: #ffffff;">
      <table style="border: Solid 2px #66ccff; background-attachment: scroll;
         background-image: url('Images/header background.png');
         background-repeat: Repeat-X; left: 0px; top: 0px; height: 50px;"
         cellspacing="0" background="Images/header background.png"
         width="99%">
       <col width="48" />
       <col width="764" />
       <col width="521" />
       <tr style="height: 42px;">
        <td style="vertical-align: top;"><p style="margin-left: 5pt;
                  margin-top: 5pt; margin-bottom: 0pt;"><img
         src="Images\sharq_logo.png" alt="" style="border: none;"
         width="40" height="28" border="0" /></p></td>
        <td style="vertical-align: top;"><p style="margin-bottom: 0pt;
                  font-family: Garamond, serif;
                  color: #00337a; font-weight: bold;
                  margin-left: 5pt;
                  margin-top: 1pt; font-size: 20pt;">Mechanical
         Engineer Training Manual</p></td>
        <td><p style="margin-bottom: 0pt; margin-right: .15in;
           margin-top: 5pt; color: #0064ae;" align="right"><input
         type="image" name="image" src="Images\home.png" title="Home page"
         onclick="window.location.href='Disclaimer.htm'" style="width: 23px;
         height: 21px;" />&#160;<input type="image" value="Go Back"
                 onclick="history.go(-1)"
                 src="Images\Go Back.png"
                 name="image" title="Go back to previous page"
                 style="width: 77px; height: 21px;" />&#160;<script
         type="text/javascript">var sForward = canGo(true);
    var sBackward = canGo(false);
    //Get the path of the root of the project
    var sRelPath = _getRelativePath(document.location, gsStartPage);
    if(sBackward == true)
    document.write('<img src="'+sRelPath+'/images/left_out.png" title="Previous topic" onclick="onPrev()" style="cursor: pointer"/>');
    else
    document.write('<img src="'+sRelPath+'/images/left_in.png" title="No more topics to display"/>');
    if(sForward == true)
    document.write('<img src="'+sRelPath+'/images/right_out.png" title="Next topic" onclick="onNext()" style="cursor: pointer"/>');
    else
    document.write('<img src="'+sRelPath+'/images/right_in.png" title="No more topics to display"/>');</script></p></td>
       </tr>
      </table>
    </div>
    <?rh-region_end type="header" ?>
    <p style="margin-bottom: 1pt; line-height: Normal; margin-top: 1pt;">&#160;</p>
    <?rh-placeholder type="breadcrumbs" ph-align="2" sep-char=" -|- " home="Home"
    usetopicformat="0" ph-style="font-family:Calibri;font-size:8pt;font-weight: normal;font-style: normal;text-decoration: none; margin-top: 5pt" ?>
    <?rh-region_start type="body" ?>
    <p>&#160;</p>
    <?rh-region_end type="body" ?>
    <?rh-region_start type="footer" style="width: 100%; position: relative;" ?>
    <table style="left: 0px; top: 232px; height: 36px;" cellspacing="0"
        width="100%">
      <col style="width: 100%;" />
      <tr>
       <td style="vertical-align: bottom;"><p style="margin-top: 30px;"><span
        style="font-family: Calibri, sans-serif; color: #c0c0c0;">Copyright
        <?rh-symbol_start name="Copyright" ?>©<?rh-symbol_end ?> </span></p></td>
      </tr>
    </table>
    <?rh-region_end type="footer" ?>
    </body>
    </html>

  • Expanding design elements with text?

    I'm developing the following page of a client's site:
    http://www.dancingeyes.com/prackart/profile.html
    and I'm wondering if it's possible to have a specific section of the page layout expand vertically as needed (for text overflow due to browser font size, etc.), and yet move sections below it accordingly?
    For example, on the page linked to above, if for some reason the text in the upper section (the "Family Roots - The Early Years" paragraphs in white over gray background) were to need more vertical space due to larger font size or added content, the medium gray background will correspondingly expand downward to accommodate (as will the outer darker gray browser fill shape, as I want it to). The problem is that it just overflows and overlaps the black-on-white text below ("Working with Clay", etc.), rather than pushing all that content down correspondingly too. Is there some basic layout structure I can/should use to achieve this? Can separate horizontal sections of a layout be made to expand and contract independently, depending on browser/user settings/fluctuations?
    My first hunch was to put all the black-on-white text below in the footer, but that didn't quite work.
    Any ideas/tricks/suggestions for a new Muse user?
    Thanks!

    The first thing to check will be objects with intersecting boundaries. Try to place objects in such a way that they either land above or below the other object or is totally contained inside the other object like a rectangle.
    Any kind of intersections or incorrect overlays can cause the content to be placed in a fixed position rather than flowing in relation to the content above it.
    Cheers,
    Vikas

  • Question regarding creation of xml-elements with numerical values

    When i create xml-documents from xml stored in the database (xmltype table based on an xml-schema), i find that numerical values which were stored as 0.395 (with the "." as the decimal separator) are retrieved as .395.
    Is it possible to apply a format mask so that the numerical value is retrieved as 0.395?
    thanks, Bart
    N.b. Note that i select a complete xml-fragment. So my problem seems related to the storage or retreival of 'schredded' XML. I do not use SQL/XML-functions with relational data, in which case i know how to apply a format mask.

    I don't use XSLT, i just query the XML-documents stored in an XMLType column with a simple SQL-statement.
    I have posted a simple example over here Re: Is it possible to influence the creation of empty elements?

  • Append XML elements with same name in an XML document

    Hi,
    I am using Oracle9i XMLDB utilities to modify an XML document stored in the database. I have a sample XML document like this in the database:
    <Person>
    <Address ID="1"> </Address>
    </Person>
    My task is to include a second <Address> element with a different attribute so that my XML document will become
    <Person>
    <Address ID="1"> </Address>
    <Address ID="2"> </Address>
    </Person>
    After creating the second element, I am using the function xmldom.appendChild() or xmldom.insertBefore() but they remove the first <Address> element and replace it with the second one. This is not what I want since I want both <Address> elements to be present.
    Could anyone please advise.
    Thanks.
    A. Dennis

    Please post your question [url http://forums.oracle.com/forums/forum.jsp?forum=154]here for quick response.
    thank you.
    Regards,
    Anupama
    [url http://otn.oracle.com/sample_code/]OTN Sample Code

Maybe you are looking for

  • How can I open a pdf attachment in Mozilla Thunderbird?

    In my Thunderbird email account, I checked a box for MSWord to open all attachments, but I would like to reverse that decision since I got a pdf attachment, and MSWord doesn't open that. How do I change it back to the way it was so the pdf attachment

  • I still get blocked plug-ins after downloading latest flash player.  Is there a fix for this?

    Blocked plug-ins.  I've downloaded the latest Adobe Flash player after "Delete all" in the System Preferences\Adobe Flash Player Advanced tab, moved the flash player plug-ins from disabled internet plug-ins to internet plug-ins in the Library folder,

  • Changing Video Res. for A Menu

    I am running Encore CS5 and am trying to create a video menu with audio. As I have done this many times in the older versions, I have "alt dragged" the file into the new menu however cant figure out how to change the resolution from HD 1920X1080 to 7

  • Stop Error 34 CACHE_MANAGER

    Installed Win 7 64-bit on both a 2007 and 2009 Mac Pro. Everything worked fine until I installed the Boot Camp drivers from the SL disk. After installing and rebooting, at blue screen with error 34 appeared. Restoring to just before the boot camp dri

  • Product Key Not Working in Unattend

    We cannot get our product key to work in our unattend file. Below is the unattend file (the product key portion). Anyone notice anything wrong, or have any suggestions? I have also tried adding the product key into the custom.ini settings and that di