How to set xml tag to nothing in indesign using applescript?

Hi guys,
I need set xml tag to nothing(for tables)  in indesign using applescript.
Please help me.

Hi,
tell application "Adobe InDesign CC 2014"
    tell active document
        if (count of story) > 0 then
            tell story 1
                if (count of tables) > 0 then
                    tell table 1
                        set tag_name to associated XML element ----------------> i can't get xml  tag, i am receiving the  xml tag is nothing.
                        if (tag_name = nothing) then
                            display dialog ("This table has no tag")
                        else
                            set markup_tag to markup tag of tag_name
                            set n to name of markup_tag
                            display dialog ("Tag name is " & n)
                        end if
                    end tell
                end if
            end tell
        end if
    end tell
end tell
I can't get xml tag for table,  i am received nothing

Similar Messages

  • How to set XML.ignoreWhitespace = false; in HttpService /Result?

    Please ask these kind of questions on flexcoders or the Adobe Flex Forums.  This is for development of the SDK itself.<br /><br />Matt<br /><br /><br />On 11/17/08 12:56 AM, "venubwal" <[email protected]> wrote:<br /><br />A new discussion was started by venubwal in<br /><br />Developers --<br />  How to set XML.ignoreWhitespace = false;  in HttpService /Result?<br /><br />I want to carry/preserve Leading & trailing spaces<white spaces> in event's result....<br />I am using service as :<br />_webService = new HTTPService();<br />_webService.url = serviceUrl;<br />_webService.method = "POST";<br />_webService.resultFormat = "e4x";<br />......<br />...Again i am checking it as -in<br />private function serviceResultHandler(event:ResultEvent):void<br />        {<br />        stopExecution();<br />        var doc:XMLDocument = new XMLDocument();<br /> doc.ignoreWhite = false;<br />        XML.ignoreWhitespace = false;<br />doc.parseXML(event.result as XML);<br />       Alert.show(event.result.toString(),"....serviceResultHandler...");<br /><br />But, i am not able see L&T spacesin alert() where I can see L&T spaces in Servlet/Java side which assigned as metaResponse<br />as....<br />      OutputStream writer = response.getOutputStream();<br />      OutputStreamWriter outputStreamWriter = new OutputStreamWriter(writer,"UTF-8");<br />JaxbSerializationUtil.serializeObjectToWriter(outputStreamWriter, metaResponse);<br /><br />________________________________<br />View/reply at How to set XML.ignoreWhitespace = false;  in HttpService /Result? <a href=http://www.adobeforums.com/webx?13@@.59b70bd4><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b70bd4!folder=.3c060fa3>  form to cancel your email subscription.

    By Using XML.ignoreWhitespace = false; <br />I am able to Store/Carry/Save L&T white spaces in XML and i can retrive values with whitespaces...<br /><br />It is in case of loading from Java<DB> to Flex.<br /><br />But the actual problem is with xmlObject.toString()/toXMLString()<br />is not able to carry whitespace, while it should carry as parameter to Java Servlet..so that it can be get using request.getParameter() [..then it is serializing/deserializing]<br /><br />So, how i can preserve the L&T whiteSpaces on XML.toString()/toXMLString() method.<br /><br />OR else<br />How we can set Http request attribute in Flex, so that we can use ( AnY_Object)request.getAttribute()...

  • Could anyone please let me know how to set a ICC profile with Acrobat dlls using Csharp or VB

    Could anyone please let me know how to set a ICC profile with Acrobat dlls using Csharp or VB

    Cant we even use the dlls in an application?
    In order to automate Acrobat, you need to have Acrobat installed. There is
    nothing you can do with just the DLLs. As was already stated, Acrobat is
    not licensed for use on a server, but regardless of that, it's also
    not technically suitable for server use. You need to find a solution
    outside of Acrobat to solve your problem.
    It also seems that you don't have a good understanding of what is going in
    inside a PDF file. PDF is a very complex file format, and based on
    your questions
    and followup questions, you need to spend a considerable amount of time
    getting familiar with the PDF file format to understand how color works in
    the PDF context. Reader the PDF spec, while paying special attention to the
    section about color. You will find out that if you want to convert the
    color space of a "PDF file", you actually need to convert the color space
    associated with every single object in your PDF file. That is fairly simple
    for vector graphic and text, but when it comes to images, you may have to
    convert the image data. Once you have a good understanding of what it is
    you need to do within the PDF file, then you can start looking for tools
    that allow you to do that. Again, Acrobat and therefore the Acrobat SDK is
    not suitable for this task. If you want to stay with Adobe products take a
    serious look at the PDF Library, which his licensed through Datalogics (
    http://www.datalogics.com/products/pdf/pdflibrary/). As you've mentioned,
    there are other, non-Adobe PDF libraries that you can also use, but this is
    the Acrobat SDK forum, so I won't discuss any of those 3rd party solutions.
    You are wasting your time while looking for a simple solution that does not
    exist.

  • How to set my own gui status when i use selection-screen

    how to set my own gui status when i use selection-screen command
    and
    how to set the names in the application tool bar when function keys are created

    Make sure that you do this in event "AT SELECTION-SCREEN OUTPUT".
    Run Txn ABAPDOCU and check 'DEMO_SEL_SCREEN_STATUS' for sample.
    Also check out following discussion -
    Selection Screen PF-STATUS
    Cheers,
    Sanjeev

  • How to Read XML tags....

    Hi guys...
    Can any one here tell me how to read the XML tag in PL/SQL.
    In table Enquiry there are following fields.
    Id          number
    Status          varchar2(5)
    Request          XML
    Reply          XML
    Error          varchar2(10)
    Now the following XML will be in request column from the requester.
    I have to get the,
    ->request which is in BODY tag,
    ->ID number which is in from tag (its the persons unique ID to check his BILL)
    Fetch the request from the database and updates it into the REPLY field with the same syntax.
    <message>
    <to> 123 </to>
    <from>789</from>
    <body> unbill </body>
    <messagenumber> 01 </messagenumber>
    </message>
    Can any one have the solution to this, how can I read the XML tags, process & again inserts as an XML.
    Thanks.

    Maybe something like this will be a pointer...
    SQL> CREATE TABLE t AS
      2  select 1 as id, 'C' as status, XMLTYPE('<message><to>123</to><from>789</from><body>unbill</body><messagenumber>01</messagenumber></message>') as request, XMLTYPE('<reply/>') as reply, 'NO ERROR' as error from dual
      3  ;
    Table created.
    SQL>
    SQL> SELECT * from t;
            ID S
    REQUEST
    REPLY
    ERROR
             1 C
    <message><to>123</to><from>789</from><body>unbill</body><messagenumber>01</messagenumber></message>
    <reply/>
    NO ERROR
    SQL>
    SQL> UPDATE t
      2  SET reply = updateXML(request,'/message/body/text()','bill')
      3  ;
    1 row updated.
    SQL>
    SQL> SELECT * from t;
            ID S
    REQUEST
    REPLY
    ERROR
             1 C
    <message><to>123</to><from>789</from><body>unbill</body><messagenumber>01</messagenumber></message>
    <message><to>123</to><from>789</from><body>bill</body><messagenumber>01</messagenumber></message>
    NO ERROR
    SQL>

  • How to change XML Tag sequence in XML Publisher Reports

    Hi Experts,
    I am working on XML Publisher reports, EBS 11I and Database 9i. I have standard report 'PO Printed Purchase Order Report (XML)', it's output type is XML. I want to change the sequence of groups in XML file.
    I am getting XML tags like below at present:
    LIST_G_HEADERS \ G_HEADERS \ LIST_G_HEADER_NOTES
    I want to change the sequence of groups like below.
    LIST_G_HEADERS \ G_HEADERS \ LIST_G_LINES \
    Could somebody help me how to change the sequence of XML Groups.
    Thanks in advance.

    Paul,
    This works.  Thanks!
    I am still working through the implications of having a data connection defined.  I notice that every time I submit, it creates two records in my database, one with all the fields blank, and one with the data and attachment.
    I will have to do some more digging into the double submission, but at least it is uploading the file.
    Thanks again,
    Ed

  • How to pass XML tags in a soapbody parameter having datatype as string?

    Hi,
    I need to pass XML tags as a String parameter in SOAP:Body.
    When I tried send SOAP Request, The SOAP Request was changing < to <
    and > to > respectively. Is there any way to ensure that the XML tags (< and >) remain as it is without getting changed.
    I also tried to retrieve XML file and stored in a StringBuffer and tried to send SOAP Request but i am still receiving the < and > tags in my SOAP Request.
    Pl suggest some alternatives to avoid storing the XML in the form of string and instead directly store the XML into a XML Node so that i can avoid the above condition
    Thanks in advance,
    gnsinhyd

    Hi,
    The sample code I used is as follows:
    package somepackage;
    import javax.mail.internet
    import javax.xml.messaging.*;
    import javax.xml.soap.*;
    import javax.xml.transform.*;
    import javax.activation.*;
    public class SomeClassName{
    // Some namespace declarations
    public static void main(String[] args) throws someExceptions{
    try
    // Create the connection
    SOAPConnectionFactory connectionFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = connectionFactory.createConnection();
    // create a new SOAP message using SAAJ API�s
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage request = messageFactory.createMessage();
    // Create a SoapAction header
    MimeHeaders headers = request.getMimeHeaders();
    headers.addHeader("SOAPAction", "soapaction url");
    // Object for SOAP Message parts
    SOAPPart part = request.getSOAPPart();
    SOAPEnvelope envelope = part.getEnvelope();
    envelope.addNamespaceDeclaration("xsd","http://www.w3.org/2001/XMLSchema");
    envelope.addNamespaceDeclaration("xsi","http://www.w3.org/2001/XMLSchema-instance");
    //envelope.addNamespaceDeclaration("enc","http://schemas.xmlsoap.org/soap/encoding/");
    envelope.addNamespaceDeclaration("soap","http://schemas.xmlsoap.org/soap/envelop/");
    //envelope.setEncodingStyle("http://schemas.xmlsoap.org/soap/encoding/");
    SOAPBody body = envelope.getBody();
    SOAPHeader header = envelope.getHeader();
    // Now, build the ClaimStorage element in the body for our request
    Name somename = envelope.createName("somename");
    // � and configure it with the specifics of our request
    SOAPElement ClaimStorage = body.addTextNode("somename");
    ClaimStorage.addNamespaceDeclaration("xmlns","url");
    ClaimStorage.addChildElement(somename).addTextNode("somename");
    ClaimStorage.addChildElement(xmlclaim).addTextNode("<XMLTAGS">); <---THE PROBLEM IS HERE
    ----> THE XML TAGS < > ARE CHANGING TO &LT; AND &GT; MOST PROBABLY DUE TO POST I THINK.
    // Save Message
    request.saveChanges();
    // View SOAP Request
    System.out.println("\n Soap Request:\n");
    request.writeTo(System.out);
    System.out.println();
    // Now, create a connection to the HTTP SOAP endpoint
    URLEndpoint endpoint = new URLEndpoint("url.asmx");
    // Send request, view response. In a real program, we�d process the response envelope programmatically to see if there was a fault, etc.
    System.out.println("request =\n" + request);
    SOAPMessage response = connection.call(request, endpoint);
    // View the output
    System.out.println("\nXML Response\n");
    // Create Transformer
    TransformerFactory tff = TransformerFactory.newInstance();
    Transformer tf = tff.newTransformer();
    // Get reply content
    Source sc = response.getSOAPPart().getContent();
    System.out.println("SOAP Body" + response.getSOAPBody());
    // Set output transformation
    StreamResult result = new StreamResult(System.out);
    tf.transform(sc, result);
    System.out.println();
    // Close connection
    connection.close();
    System.out.println("\nResponse =\n" + response);
    catch (Exception e)
    e.printStackTrace();
    Pl. reply as soon as possible
    Thanks in advance

  • How to get XML tag attribute vaue in Oracle

    Hi,
    I have XML file which have order tag
    <submitOrderRes>:Application Exception: SOS</submitOrderRes>.
    From this xml file i want to display only the tag value , which is 'Application Exception: SOS'.
    how to get this tag value by select SQL
    any help is appreciate
    TY

    I don't know your query
    Here is the example
    SQL> l
      1  select
      2  extractvalue(xmltype(dbms_xmlgen.getxml('select * from emp where rownum=1'))
      3  ,'/ROWSET/ROW/ENAME') col_value
      4* from dual
    SQL> /
    COL_VALUE
    SMITHSS

  • How to delete xml tags Urgent

    on release function i am inserting this value
    "(&-box*&", "&*box-&
    " in to my text box,
    in text box will display like this (squarebox), when i am
    trying to delete
    squarebox ,
    box deleting but
    (&-box*&", "&*box-&
    these xml elements are showing , what i have to
    do ? it has to delete,
    it amy have multipule box in my equation. how do delete xml
    elements in this case, this is my xml code. how to delete? any one
    can help me?

    Then you should provide more details on what you want this new script should do.
    To "delete XML tags in already tagged text", all you need is use the "untag" command on an XML Element. But how would the script "know" what XML Element should be untagged?
    Disclaimer: This reply is in no way enforceable, legally binding, a promise or contract, an agreement (written, verbal, or otherwise), a commitment, obligation, or free or paid-for offer of any kind to further help, guide, aid, tip, or not hinder you, or contribute to, correct, investigate, comment on or assist with any existing, forthcoming, or planned project.

  • How to delete XML Tags in already tagged text?

    Hi everyone,
    I looked in all the topics but with no results.
    Is there anyone that can help me with this script?
    Thanks
    Ivan

    Then you should provide more details on what you want this new script should do.
    To "delete XML tags in already tagged text", all you need is use the "untag" command on an XML Element. But how would the script "know" what XML Element should be untagged?
    Disclaimer: This reply is in no way enforceable, legally binding, a promise or contract, an agreement (written, verbal, or otherwise), a commitment, obligation, or free or paid-for offer of any kind to further help, guide, aid, tip, or not hinder you, or contribute to, correct, investigate, comment on or assist with any existing, forthcoming, or planned project.

  • How to extract xml tag name contains dashes

     
    Hi, How to parse XML file to extract root tag contains dashes in Flex,for example
    XML Input is: <regular-body>Text of my post...</regular-body>
    expected output is : regular-body
    I appreciate any of your suggestions or inputs

    Do you want to get the name of the XML ELEMENT regular-body, or the value in the XML file "Text of my post...".
    If its the latter, then you could use the bracket/quote notation for extracting the value, like in the following example:
    image = xmlWeather[0]..parameters["conditions-icon"]["icon-link"][idx]
    I use this when parsing weather information from a 3rd party in which their XML is loaded with dashes.
    If you are looking to get the actual element name, not sure how to do that.  I would think that if you are using an XML file, you would have at least the high level element known.

  • Tecra All Models - How to set Asset Tag

    Hello,
    For the past year we have used a tool to set the asset tag on toshiba notebooks. It runs from an external floppy drive, but the disk is overwritten en we do not have any copies of this tool.
    I am pretty sure one of my colleagues downloaded this tool from the toshiba site but we are unable to find it anywhere. Can someone provide a download link or an alternative tool wich is able to set and display a notebook's asset tag.
    The commands we used in this tool are
    assettag /da
    assettag /sa
    Hope you can help
    Kind Regards,
    Sander74
    _**UPDATE** The filename of this tool is assettag.exe**_
    Message was edited by: Sander74

    Thanks for your answers.
    We tried to undelete the content of the overwritten floppy but we were not able to restore all data. We did manage to restore some text files, htm file and a diz file. I'll post the content below.
    As you can see there a comments that suggest that this is indeed a toshiba tool. Perhaps someone reading this has better searching skills then i do.
    *_CONTENT OF ASSETTAG.EXE_*
    DMI Asset Tag Utility Version 1.02.1
    Copyright(c) 1999 Toshiba America Information Systems
    This procedure has installed the assettag program to your
    hard disk. It has copied the following files to the
    directory C:\Asst_tag
    AssetTag.diz
    assettag.exe
    AssetTag.htm
    AssetTag.txt
    ATINST.bat
    Disk1.id
    readme.txt
    tosh001.gif
    tosh002.gif
    For more information view the assettag.htm file.
    *_CONTENT OF ASSETTAG.HTM_*
    SM BIOS Asset Tag Utility Version 1.02.1
    Copyright (c) 1999 Toshiba America Information System. All rights reserved.
    The SM BIOS Asset Tag Utility displays a variety of useful data fields from the SM BIOS. In addition, is capable of setting or changing the value of the asset tag field of the SM BIOS. Since the asset tag field is in the BIOS, the hard disk may be reformatted and reinstalled without effecting the field's contents.
    This program is a command line, non-interactive program, suitable for use in batch files and other automated environments. It is a real mode DOS program, and can not be run in pure 32 bit environments such as Windows NT.
    usage: ASSETTAG &lt;switch&gt; [string]
    Switch
    Usage
    /DA
    Display asset tag string
    /DM
    Display system manufacturer string
    /DP
    Display model string
    /DC
    Display chassis serial number string
    /DS
    Display system serial number string
    /SA &lt;string&gt;
    Write asset tag string
    /F &lt;filename&gt;
    Write asset tag string based on contents of specified serial number - asset tag mapping file (see format below).
    The Asset Tag has a maximum length of 31 bytes.
    Examples:
    ASSETTAG /SA 12345
    ASSETTAG /SA "123 456" (quotes to embed spaces.)
    ASSETTAG /F ATLIST.DAT
    The /F switch specifies that the asset tag to be written to the BIOS should be obtained from a file, the name of which is given as a parameter following the /F switch. This file contains a list of serial numbers and asset tags in the format:
    Serial number white space Asset tag
    Each line should contain a system serial number, with no leading white space. Following the serial number, one or more white space characters (space or tab) delimit the serial number from the start of the asset tag. The first following non-white space character is taken to be the start of the asset tag, which will continue until the end of the line. Thus, asset tags may not begin with white space, but can contain almost any character thereafter.
    For example:
    12345678 FA99485
    TE992837 ACCT992
    30899283 Loaner Unit
    If the lines above were placed in a file and used by the assettag program, then a PC with the serial number of 12345678 would be set with the tag FA99485. A PC with the serial number 30899283 would be set with the asset tag value of Loaner Unit.
    Kind Regards,
    Sander74

  • How to set "dooutboundwss" tag to true

    Hi,
    I need to set dooutboundwss tag to true .
    Since this needs to be set, to send the wssecurity username token from business service to the endpoint...
    Can any one pls help it ASAP?

    Create a Replace in your message flow of the Request Action.
    Set the XPath value to ./ctx:security/ctx:doOutboundWss
    Set the In Variable to outbound
    Set the Expression to 'true'
    Replace Node Contents checkbox selected.

  • How to set persistent binding for QLA2300 (Sun branded -uses qlc driver)

    How to set persistent binding for QLA2300 (Sun branded ) HBA using qlc driver from Sun?
    Are there any CLI's for it?
    Is it done automatically?
    Is there any way by which we can infer that persistent binding is done?
    Platform: Solaris 9 on SPARC

    Persistent binding is effectively provided by STMS (MPxIO) - is there anything in particular you're wanting to do that STMS doesn't provide?

  • How to set up remote access on wvc80n without using TZO

    Just purchased the WVC80N, but how do you set it up for remote access without using TZO?  I can not get TZO to work w/ my Uverse 2wire 3800-hgv-b router.  Please help as the uverse customer support has not been helpful with port forwarding either.

    Hi, I'm a newbie at this, so pls be patient with my terminology...  I want to install 2 or 3 of these cameras in my mother's home, and I will have AT&T DSL service (one dynamic IP address) there with only a modem/wireless router.  I want to access the cameras from my laptop or from my Blackberry Tour when I am traveling.  Also want to allow access for my other relatives.  I do not have another home computer to serve as a WHS, and my laptop is obviously not connected to the internet all of the time.  Can I use the DDNS setup with DynDNS to provide access?  The instructions that I read seemed to imply that I needed a WHS in order to forward ports, etc.  Thanks in advance for your help.. Garry

Maybe you are looking for

  • ALV Report - Production Scheduling Report

    Hello Gurus, I need to write an ALV report of open production order operations per selection criteria.  If the production orders are linked to any sales order, then the result of ALV should also contain the sales order data. Selection screen should c

  • EAR Deployment error!

    I have created a servlet client to test a secured web service. When I deploy the EAR,I get error: Result => deployment aborted : file:/C:/DOCUME~1/uname/LOCALS~1/Temp/temp1530011368822716654CapsWS_EAR.ear Aborted: development component 'CapsWS_EAR'/'

  • Hyper-V Host (Win 8) to XP Virtual Machine File Transfer

    Hello guys, first post here, and I've got a question about transferring files from the host computer to an xp hyper v virtual machine. I've researched and tried many methods but some are too complicated or in the case of the floppy it doesn't have en

  • New Error - Unable to Create Any Backups (com.adobe.versioncue.boot - Failed to start com.adobe.vers

    A new error just started showing up in my Vc logs: com.adobe.versioncue.boot - Failed to start com.adobe.versioncue.backup.schedule. Since the report of this error, I am unable to create any kind of Version Cue backups. Has anyone else seen this erro

  • Condition Record maintenance Doubt

    Dear SD collegures,     when i maintain a basic price condition record for example Pr00 i maintained material 'A' is costing 100. then Today i changed the value to 98 and 100 rupees validity is changed to yesterday. then i give new price 98 is valid