I need the XML elements appear in different paragraphs ...  Could do this with a script?

I need the XML elements appear in different paragraphs ...
Could do this with a script?
Thanks...

You can use this / Puedes usar esto
insertTextAsContent("\n",XMLElementPosition.beforeElement);                  
//  or             
insertTextAsContent("\r", XMLElementPosition.afterElement);
Necesitaria mas información,

Similar Messages

  • SELECT Fails for a WITHIN clause if the xml element have a DASH

    I am using a context index on a CLOB Column and one of my records is like this.
    ?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <cid-spf xmlns="java:com.verid.ident">
    <tran-id>1020022445889</tran-id>
    <tran-time>1187984936000</tran-time>
    <mode>3</mode>
    <spoofer>
    <name/>
    <ph>
    <number>12106337000</number>
    </ph>
    </spoofer>
    <spfd>
    <name/>
    <ph>
    <number>13173708869</number>
    </ph>
    </spfd>
    <st-time>1187984936000</st-time>
    <dest-number>12106878012</dest-number>
    </cid-spf>
    When I run a query
    SELECT * FROM identity_event
    WHERE contains (identityeventdata,'1187812924000 WITHIN ST-TIME')>0
    All my other xml elements works just fine.
    I get this error.
    [1]: (Error): ORA-12801: error signaled in parallel query server P003, instance maralpinor03.trogdor.com:maralpin3 (3) ORA-29902: error in executing ODCIIndexStart() routine ORA-20000: Oracle Text error: DRG-50901: text query parser syntax error on line 1, column 24

    The dash or hyphen (-) has special meaning to Oracle text. It means MINUS. Any time that you want Oracle Text to treat such a special character as regular text, you need to escape it, either by putting a backslash (\) in front of each special character or by enclosing a whole word or phrase within curly brackets ({}). Please see the demonstration below.
    SCOTT@10gXE> CREATE TABLE identity_event
      2    (identityeventdata  CLOB)
      3  /
    Table created.
    SCOTT@10gXE> INSERT INTO identity_event VALUES
      2  ('<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      3  <cid-spf xmlns="java:com.verid.ident">
      4  <tran-id>1020022445889</tran-id>
      5  <tran-time>1187984936000</tran-time>
      6  <mode>3</mode>
      7  <spoofer>
      8  <name/>
      9  <ph>
    10  <number>12106337000</number>
    11  </ph>
    12  </spoofer>
    13  <spfd>
    14  <name/>
    15  <ph>
    16  <number>13173708869</number>
    17  </ph>
    18  </spfd>
    19  <st-time>1187984936000</st-time>
    20  <dest-number>12106878012</dest-number>
    21  </cid-spf>')
    22  /
    1 row created.
    SCOTT@10gXE> CREATE INDEX your_index ON identity_event (identityeventdata)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS
      4    ('FILTER        CTXSYS.NULL_FILTER
      5        SECTION GROUP CTXSYS.AUTO_SECTION_GROUP')
      6  /
    Index created.
    SCOTT@10gXE> -- wrong:
    SCOTT@10gXE> SELECT * FROM identity_event
      2  WHERE contains (identityeventdata,'1187812924000 WITHIN ST-TIME')>0
      3  /
    SELECT * FROM identity_event
    ERROR at line 1:
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-50901: text query parser syntax error on line 1, column 24
    SCOTT@10gXE> -- correct:
    SCOTT@10gXE> SELECT * FROM identity_event
      2  WHERE contains (identityeventdata,'1187984936000 WITHIN {ST-TIME}')>0
      3  /
    IDENTITYEVENTDATA
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <cid-spf xmlns="java:com.verid.ident">
    <tran-id>1020022445889</tran-id>
    <tran-time>1187984936000</tran-time>
    <mode>3</mode>
    <spoofer>
    <name/>
    <ph>
    <number>12106337000</number>
    </ph>
    </spoofer>
    <spfd>
    <name/>
    <ph>
    <number>13173708869</number>
    </ph>
    </spfd>
    <st-time>1187984936000</st-time>
    <dest-number>12106878012</dest-number>
    </cid-spf>
    SCOTT@10gXE> SELECT * FROM identity_event
      2  WHERE contains (identityeventdata,'1187984936000 WITHIN ST\-TIME')>0
      3  /
    IDENTITYEVENTDATA
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <cid-spf xmlns="java:com.verid.ident">
    <tran-id>1020022445889</tran-id>
    <tran-time>1187984936000</tran-time>
    <mode>3</mode>
    <spoofer>
    <name/>
    <ph>
    <number>12106337000</number>
    </ph>
    </spoofer>
    <spfd>
    <name/>
    <ph>
    <number>13173708869</number>
    </ph>
    </spfd>
    <st-time>1187984936000</st-time>
    <dest-number>12106878012</dest-number>
    </cid-spf>
    SCOTT@10gXE>

  • When duplicating a field, even when the original field is locked, the duplicated fields appear at different positions on pages that are the same size. How do I make them uniform?

    I'm trying to put a hidden time stamp field on the bottom of all pages of a thousand page document, yet when I duplicate the field, the reproduced fields appear at different positions on different pages. Is there a way to make them all appear uniformly on each page. I've tried using the Lock function in the Properties menu before duplicating but to no avail. Please help.

    I go to Tools>Forms> Edit...Do you want to detect...No. Add New Field>Text Field. I lay out my field at the bottom of the page, adjust the Properties (Hidden but printable, read only, font, alignment), Lock the Properties. Then I right-click and hit Duplicate.

  • How to escape or remove the special characters in the xml element by regula

    Hi members,
    How to escape or remove the special characters in the xml element by regular expression  in java??
    For Example ,
    <my:name> aaaa </my:name>
    <my:age> 27 </my:age>
    In the above example , i have to retrieve the value of the <my:name> Element(For examlpe -- i have to get "aaaa" from <my:name> tag)...
    How to retreive this value by using DOM with XPATH in java
    Thanks in Advance

    Hi members,
    I forget to paste my coding for the above question....This is my coding......In this display the error...... Pls reply ASAP.......
    PROGRAM:
    import java.io.IOException;
    import java.util.Hashtable;
    import java.util.Map;
    import org.w3c.dom.*;
    import org.xml.sax.SAXException;
    import javax.xml.parsers.*;
    import javax.xml.xpath.*;
    public class DOMReaderForXMP {
         static Document doc;
         static XPath xpath;
         static Object result;
         static NodeList nodes;
         public DOMReaderForXMP() throws ParserConfigurationException, SAXException,
                   IOException, XPathExpressionException {
              DocumentBuilderFactory domFactory = DocumentBuilderFactory
                        .newInstance();
              domFactory.setNamespaceAware(true);
              DocumentBuilder builder = domFactory.newDocumentBuilder();
              doc = builder.parse("d:\\XMP.xml");
              XPathFactory factory = XPathFactory.newInstance();
              xpath = factory.newXPath();
         public static void perform(String path) throws Exception {
              result = xpath.evaluate(path, doc, XPathConstants.NODESET);
              nodes = (NodeList) result;
         public void check() throws Exception {
              perform("//my:name/text()");
              if (!nodes.item(0).getNodeValue().equals("application/pdf")) {
                   System.out.println("Mathces....!");
    ERROR:
    Exception in thread "main" net.sf.saxon.trans.StaticError: XPath syntax error at char 9 in {/my:name}:
    Prefix aas has not been declared

  • [JS-CS4] - How to read the XML Element and its Attributes

    Dear All,
      I have the doubt regarding: reading the xmlElement and its attributes.
    Here I droping the xml script
    //============= Start ======================//
    var myDoc = app.activeDocument;
    var Fpath = File("../Projects/Entity_map.xml");
      if (Fpath.exists)
       Fpath.open("r");
       var Cont= Fpath.read();
      var roots = new XML(Cont);
      var myEveryName = new Array();
      var myEveryContent = new Array();
      var myEveryAttributes = new Array();
      traverse(roots);
    //$.writeln(myEveryName);
    //$.writeln(myEveryContent);
    $.writeln(myEveryAttributes.length);
    for(var i=0; i<myEveryAttributes.length; i++)
      $.writeln(myEveryAttributes[i]);
    function traverse(tree) {
        myEveryName.push(tree.name());
    myEveryContent.push(tree.text());
      myEveryAttributes.push(tree.getAttribute);
    // you get the contents by using .text() insted of .name()
        if(tree.elements().length() > 0) {
            for(var i=0; i<tree.elements().length(); i++) {
                traverse(tree.elements()[i]);
    //============== End =====================//
    and the XML Structure is
    //===============XML =====================//
    <?xml version="1.0" encoding="UTF-8"?>< Entity_Convertion>
    < Entitys char="Ç" GID="173"/></ 
    Entity_Convertion>
    //===============End ====================//
    Here I'm getting the XML Elements and its contents, but not xmlAttributes.
    Please any one can help me, then I will appreciate...
    Thanks & Regards
    T.R.Harihara SudhaN

    Dear All,
      I have the doubt regarding: reading the xmlElement and its attributes.
    Here I droping the xml script
    //============= Start ======================//
    var myDoc = app.activeDocument;
    var Fpath = File("../Projects/Entity_map.xml");
      if (Fpath.exists)
       Fpath.open("r");
       var Cont= Fpath.read();
      var roots = new XML(Cont);
      var myEveryName = new Array();
      var myEveryContent = new Array();
      var myEveryAttributes = new Array();
      traverse(roots);
    //$.writeln(myEveryName);
    //$.writeln(myEveryContent);
    $.writeln(myEveryAttributes.length);
    for(var i=0; i<myEveryAttributes.length; i++)
      $.writeln(myEveryAttributes[i]);
    function traverse(tree) {
        myEveryName.push(tree.name());
    myEveryContent.push(tree.text());
      myEveryAttributes.push(tree.getAttribute);
    // you get the contents by using .text() insted of .name()
        if(tree.elements().length() > 0) {
            for(var i=0; i<tree.elements().length(); i++) {
                traverse(tree.elements()[i]);
    //============== End =====================//
    and the XML Structure is
    //===============XML =====================//
    <?xml version="1.0" encoding="UTF-8"?>< Entity_Convertion>
    < Entitys char="Ç" GID="173"/></ 
    Entity_Convertion>
    //===============End ====================//
    Here I'm getting the XML Elements and its contents, but not xmlAttributes.
    Please any one can help me, then I will appreciate...
    Thanks & Regards
    T.R.Harihara SudhaN

  • How to associate an xml from httpservice to datagrid if the xml element name contains periods in it

    Following is the xml from an http service, how to associate
    this xml to a data grid (employee name, number) since it contains
    periods(dots) in xml element name.
    An early help is appreciated.....
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <com.companyx>
    <person>
    <employee.data>
    <employee.name>mrx</employee.name>
    <employee.number>1001</employee.number>
    </employee.data>
    <employee.data>
    <employee.name>mry</employee.name>
    <employee.number>1002</employee.number>
    </employee.data>
    <employee.data>
    <employee.name>mrz</employee.name>
    <employee.number>1003</employee.number>
    </employee.data>
    <page>0</page>
    </person>
    </com.companyx>
    Thanks,
    Vijay Karthik

    HI
    GOOD
    IT IS POSSIBLE IN ABAP
    Extensible Markup Language (XML) is a simple, very flexible text format derived from SGML (ISO 8879). Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of a wide variety of data on the Web and elsewhere.
    XSD->
    XML Schemas express shared vocabularies and allow machines to carry out rules made by people. They provide a means for defining the structure, content and semantics of XML documents. in more detail.
    XDS->
    XDS can process data images from CCD-, imaging-plate, and multiwire-detectors in a variety of formats. Detector specific Input file templates greatly simplify the use of XDS; they are provided as part of the documentation.
    XDS runs under Unix or Linux on a single server or a grid of up to 99 machines of the same type managed by the MOSIX system; in addition, by using OpenMP, it can be executed in parallel on up to 32 processors at each node that share the same address space.
    http://www2.stylusstudio.com/SSDN/default.asp?action=9&fid=23&read=2926
    /people/r.eijpe/blog/2006/02/19/xml-dom-processing-in-abap-part-iiia150-xml-dom-within-sap-xi-abap-mapping
    THANKS
    MRUTYUN

  • Format Payment Instructions - Need the XML file.

    Hi,
    We have a requirement to print first page of this check print program to go to one printer and the second page onwards should go to different printer.
    In order to achieve this requirement we had planned to have 2 programs. first program will be the standard 'Format Payment Instructions' which will print only the first page and we will have second program which will call the JAVA FO Processing API with the XML file generated from the first program and the layout name to generate the PDF file.
    But the problem here is we are not able to find the XML file for the 'Format Payment Instructions' program. Does this program generates the XML file in a different directory? Can anybody help us with the Unix path name where the XML file will be generated.
    Thanks
    Lakshmanan A.

    You can upload the ECCN XML file from the GTS cockpit -> SAP Compliance Management -> Classification/Master Data -> Load ECCNs from XML file.
    You normally get the ECCN XML files from data provider website.
    Edited by: Howard Dai on Feb 27, 2009 11:36 AM

  • Find the XML Element [ email ]

    Hi All,
    I am new to InDesign scripting.
    I want to know how to find the XML Element [<email>] in n number of nested structure?
    Give me any idea.
    Thanks, RAJ

    Hi RAJ,
    See my updated code below:
    var myDocument = app.activeDocument;
    FindEmail(myDocument);
    alert("process Completed");
    function FindEmail(elm)
        for (var i = 0; i < elm.xmlElements.length; i++)
            XMLelementName=elm.xmlElements[i].markupTag.name.toString();
            if(XMLelementName=="email")
                elm.xmlElements[i].markupTag = "mail";
            FindEmail(elm.xmlElements[i]);
    Regards,
    Ramkumar .P

  • When attempting to format region and set date and time the busy icon appears and seems to stay like this?

    when attempting to format region and set date and time the busy icon appears and seems to stay like this?

    Click on DU's Partition tab when you have the raw drive name selected, then set it to one partition, Mac OS Extended. If it crashes or freezes, it is finding a bad block and can't write.
    In any event, if you want to use the drive, and have not zeroed it before, you should now.
    Click on Erase -> Security Options -> Zero out data. Still with the full drive selected and not any partition(s).
    Then repartition the drive if needed.
    Boot from the DVD if that doesn't work. And no, TTPro has never mapped out bad blocks let alone create partitions.
    Disk Utility in 10.4.8 is quite good, excellent in fact. No need for an alternative.
    Your eMac drive may need to touch of Disk Utility itself. FSCK from the command line, clear the caches with Applejack along with check for corrupt plists. Between Disk Utilty and Applejack (free/shareware) never had to use TechTool Pro - or at least there weren't any errors after those two got done. But if you want a good 3rd party, pick up Disk Warrior 4.

  • When printing a signed document with Adobe Reader, the comment icons appear.  How do I prevent this

    When printing a signed document with Adobe Reader, the comment icons appear.  How do I prevent this ?

    When printing from Reader, select Document instead of Document and Markups:

  • I'm in iPhone 5.  I transfer photos to a Windows 7 PC, using the USB cable.  Lately, the photos are appearing in Windows Explorer within monthly folders, with gibberish titles.  The folder names will be 8 random letters and numeric characters.  I ten

    I'm in iPhone 5.  I transfer photos to a Windows 7 PC, using the USB cable.  Lately, the photos are appearing in Windows Explorer within monthly folders, with gibberish titles.  The folder names will be 8 random letters and numeric characters.  I tend to let photos build up, so there are about 2 years worth of these monthly folders… Between 20 and 25.  This is a huge hassle… I'm unable to tell what months are in each folder, by the folder name.…  Have to open each folder to see which month is in there.  I want to be able to look at all the photos on the iPhone in one view, as I was able to in the past.  How do I stop this foldering of photos, by months??  Thank you.  BC

    I have the same issue. I searched and finally got only one answer is -- Apple suggest customer using iMAC to transfer and backup photos instead of Windows. How great the solution is it!

  • I have installed 0S5 but restoring the backup doesn't work. the following messages appear: An error accurred while restoring this iphone (-20)  because the backup was corrupt or not compatible with iphone being restored (my iphone 3GS)

    I have installed 0S5 but restoring the backup doesn't work. the following messages appears: An error accurred while restoring this iphone (-20), followed by another message:  because the backup was corrupt or not compatible with iphone being restored (my iphone is 3GS), I tried restoring the factory settings and then restore the backup, but the same problems and I have lost all my contacts, pictures etc

    Hi Ckuan,
    Thanks a lot for your advice.    
    Deleting the correupted back up means to delete the information of one month since the last back up I made is one month ago.....right? 
    This back up I made right before I restored my iphone.  During the restore however my OS was upgraded to 5.1.1. and reading the comments on the internet it seems I am not the only one whom experience this problem. 
    Can it be that if I downgrade my OS back to 5.1. the back up will not be considered as corrupted?  If so, how do I downgrade the iphone?
    Thanks in advance.

  • I bought the HD season version of breaking bad, however I only need the regular @ 19.95. How can I change this and get the difference refunded?

    bought the HD season version of breaking bad, however I only need the regular @ 19.95. How can I change this and get the difference refunded?

    When you purchase an HD video on a supported device or computer, only HD video will be downloaded. To download the SD version, you need to download the video again from your Purchased page. Conversely, if you purchase an HD video on an unsupported device, the SD version will be downloaded. Then, you will need to download the HD version from your Purchased page. Learn more about downloading previous purchases."
    iTunes: Purchasing and viewing HD videos

  • Hi, It's my last day test on adobe elements 12. I want to buy it now but It's looks only posible to buy the Adobe elements 13 version. If I buy this 13 version, I'm going to loose all the projects I did before with the elements 12 test evaluation? Thanks!

    Hi, It's my last day test on adobe elements 12. I want to buy it now but It looks only posible to buy the Adobe elements 13 version. If I buy this 13 version, I'm going to loose all the projects I did before with the elements 12 test evaluation? Thanks!

    licancabur123
    Are you currently working on a tryout of Premiere Elements 12 downloaded from Adobe?
    If so, you do not have to buy from Adobe. You can purchase the version from an authorized reseller of
    the product.
    At that point, you can leave the 12 tryout installed and just install your purchased serial number from
    the authorized reseller or uninstall the tryout and just install the purchased product with its serial number.
    When you open a tryout 12 project file (with Adobe watermark) in a purchased Premiere Elements 12, the
    Adobe watermark should disappear
    a. if you use Timeline/Delete Rendered Files
    or
    b. do nothing...so of us have found that just opening the tryout file in a purchased product removes the Adobe
    watermark automatically.
    As for
    If I buy this 13 version, I'm going to loose all the projects I did before with the elements 12 test evaluation?
    Are you talking about the Adobe watermark? You will not lose the projects, but whether or not the Adobe watermark
    is removed in a purchased version which is not the version in which it was created is of concern.
    I will see what exploration and experimentation on that I can do.
    ATR

  • I get lots of missed calls on my iPhone 5. Caller's first attempt goes straight to my voicemail but the second attempt gets through. I have proved this with my home landline too. Any ideas?

    I get lots of missed calls on my iPhone 5. Caller's first attempt goes straight to my voicemail but the second attempt gets through. I have proved this with my home landline too. Any ideas?

    First thing you need to check is if you have do not disturb on to find this out got to settings-do not disturb and tap on it and turn it off this should work

Maybe you are looking for