How to find the selection character is xml tag or not?(CS2-js)

I have a xml tagged indesign document, when i select a tag in paragraph i cant able to find it as xml tag, it only shows me the character contents as small box, is there any way to find the selected item is xml tag or not ?
thanks
subha

I have a xml tagged indesign document, when i select a tag in paragraph i cant able to find it as xml tag, it only shows me the character contents as small box, is there any way to find the selected item is xml tag or not ?
thanks
subha

Similar Messages

  • How to find the selected item in alv grid or table control

    can any one tell me please
    how to find the selected item in alv grid or table control

    In table control, If you goto screen painter and goto table control properties ( f2 ), there is one check-box w/selColumn check that and give column name. Then add that column to your internal table.
    IN PAI
      LOOP AT it_tkhdr.
        FIELD it_tkhdr-sel_row
          MODULE tab_tkhdr_mark ON REQUEST.
      ENDLOOP.
    MODULE tab_tkhdr_mark INPUT.
      MODIFY it_tkhdr INDEX tc_tkhdr-current_line.
    ENDMODULE.                 " tab_tkhdr_mark  INPUT
    here it_TKHDR is internal table sel_row is field for selection
    After that, you can loop at it_tkhdr where sel_row is 'X' to get selected rows.
    regards,
    Gagan

  • How to find the special character in a give string/sentance

    Hi All,
    I have one task to complete with in the give time. Since i am not very good in PL/SQL i need your your help.
    Requirement is :
    I have to come up with the SQL or PL/SQL code which should return and find the special or hidden character in the datafiles name in a database. There are nearly 400+ database are present in almost all the flavor of UNIX and i have to check the each and every database.
    As you know , Name of the data file will be like this :
    /u02/instance_name\oradata\datafile_01.dbf So it should avoid these things and find out only the special characters in the datafile name.
    a-z , A-Z , 0-9 and \ Please keep in mind that ...... I will be firing the Oracle script from Oracle 9i client which will access all the database from Oracle 9i to 11g in one short and give me the result.
    Please help me to resolve this issue and let me know if you need more information.

    Hi,
    Mukesh wrote:
    Hi Frank,
    This is excellent function. Thanks for you responce.
    I want to modify this query in such a way that .... i should get only those datafiles name which are holding special characters. I don't know how to put this in where condition. :( Here's one way:
    SELECT  file_name
    ,       ...     -- other expressions, if you want any
    FROM    dba_data_files
    WHERE   TRANSLATE ( file_name
                      , '?0123456789.ABCDEFGHIJKLMNOPQRSTUVWXYZ\_/abcdefghijklmnopqrstuvwxyz'
                      ) IS NOT NULL Among the other expressions you can put into the SELECT clause (if you want to) is a copy of the TRANSLATE function, as you had in your message. That would highlight exactly which character(s) made the file_name invalid.

  • How to find the glyphs character using js in indesign cs2?

    i want to find whether the glyphs character(registered trademark symbol)is applied with character style superscript or not, i cant able to fix the glyphs character in the find preference, how to do it?
    thanks
    subha

    You are mixing two concepts. There is a
    i major
    difference between a
    b glyph
    and a
    b character.
    A glyph is any singular graphic in a font.
    A character is an instance of a character set (in InDesign, and in Mac OS X, it's the Unicode set; older programs use 'code pages' to translate codes into characters). [*]
    Why are they different? Well, a ligature ('ffi', for example) is not a single character, containing the characters 'f', 'f', and 'i'. It
    i is
    a single glyph in most fonts, but (usually!) you cannot insert an 'ffi' directly. Programs that do allow insertion of glyphs (again, such as InDesign) are also smart enough to decompose it into single characters 'f', 'f', and 'i' again.
    Why is this distinction important? In CS2, you can search for
    i characters
    but not for
    i glyphs
    (in CS3 and higher you can, but you cannot specify "+superscript").
    All aside, you can insert a trademark character directly into InDesign by calling up the Glyphs :-) panel and double-click the glyph. (It works because the 'TM' is also a valid Unicode character.) Then just cut it, and paste into the 'Find' field of the Find Text box. Alternatively, since you can see the Unicode value in the Glyphs panel, you can enter the Unicode directly into the search field, surrounded by less-greater than: < 2122 > (without the spaces). This works for all Unicode characters.
    Even better is that the character is also in the Find drop down menu -- "Registered Trademark Symbol". This inserts the shortcut "^r" in the Find box -- but it only works for a selected set of characters.
    Since this is the Scripting forum, I'm guessing you want to use this in a script. Well, both "< 2212 >", and "^r" can be used in the search string to specify the character. Do the search and examine for each found item if it has a position Superscript or not.
    [*] Post-edit: to expand a bit more, a table in the font associates Unicodes (character values) with glyphs, not the other way around. Every Unicode character available in the font associates to at least one single glyph. There may be more Unicodes than glyphs in a font (there is no law against associating more than one Unicode to a glyph -- for instance, both 'space' and 'non-breaking space' point to a single space glyph), and there may also be more glyphs than Unicodes (the 'ffi' glyph has a Unicode value -- now considered an early error in the Unicode definition! -- but the 'Th' glyph does not). Most programs only allow Unicode characters in text.

  • How to find the selection profile w.r.t plants.

    Hi,
    I have a list of 50 plants, how can i find the list of selection profile that includes these plants. Apart from going inside each and every selection profile.
    Thanks
    Aswath

    Hi Aswath,
    Make use of the badi SAPAPO/SDP _SELECTOR to get
    critical fields and tables and you can create your
    custom report to find out this information
    Regards
    R. Senthil mareeswaran.

  • How to find the select statement has written all selected values into text

    Hi,
    I am using form6i. i am selecting a set of values from database tables based upon some user parameters and writing into the text file using Text_io.put_line . In this case how we can make sure that the text fille contains all the data what we are selected from selected statement. somebody told that there might be chances of aborting of data while writing into the text file. is there any way to fild out the selected statements has written all the selected fields and corresponding output into the .txt file.
    Please suggest me.

    somebody told that there might be chances of aborting of data while writing into the text fileWhat kind of "chance" does that somebody refer to?
    If you want to verify if the number of records (lines) in the file matches the number of records from the cursor, you could re-open the written file in read-mode and count the number of lines by reading one by one, then compare the number of lines with the number of records from the cursor.

  • How to find the user entered value is Integer or not?

    hi,
    i want to find, whether the user entered value is Integer or not. If it is Integer, i wanna continue the program. otherwise send an error message. i tried to find for function in API. But i couldn't. can somebody help me with sample code. very urgent.

    Do a Integer.parseInt(<string value>) in a try catch block If a NumberFormatException is thrown, the entered number is not an integer.

  • How to find the datasource of an ODS which is not activated yet in Metadata

    Through SAP Help, we find a useful ODS that we want to use to build up queries, but it's not easy to locate the Infosource and Datasource of it through the SAP Help.  I remember there is a functionality in the Metadata Repository that the data flow of an InfoCube or ODS can be shown there.  I get to the Metadata Repository and locate the ODS already, but can't find the functionality any more that can show the data flow of the ODS.   If I can see the data flow, then I think I can find the corresponding infosource and datasource of it.  Anyone's input is greatly appreciated!

    hello Bhanu,
    From SAP Help, find the known Infosource help document, I copy part of the documentation below (see in between two dashed lines):
    Document History (Item Level)
    Technical name: 0BBP_DOC_ITM_1
    Based on DataSource: Customer-specific name space, for example ZBBP_TD_DOC_I
    The help uses the datasource name starting with Z, does it mean there is no datasource on R3 side that we need to manually create it?
    Thanks

  • How to find the table name on which integrity constraint not found

    Hi All
    How to acheive this
    I have a lot of tables with lot of primary key - foreign key
    relationship.
    In plsql
    when any inserts happen in the child table & the corresponding row is not present in the parent table, we get an exception
    ORA-02291: integrity constraint (user1.ppk) violated - parent key not found
    On this exception , in the exception block i want to trap teh name of the parent table on which the primary key for the particular child table was not there
    Is it possible to retrieve the parent table in this way. I am looking for a generic plsql code block which can help to acheive this
    Regards

    scott@ORA92> SET SERVEROUTPUT ON
    scott@ORA92> DECLARE
      2    e_no_parent_key EXCEPTION;
      3    PRAGMA            EXCEPTION_INIT (e_no_parent_key, -2291);
      4    v_fk_cons       VARCHAR2 (61);
      5    v_owner            VARCHAR2 (30);
      6    v_parent_table  VARCHAR2 (61);
      7    v_pk_cons       VARCHAR2 (30);
      8    v_parent_column VARCHAR2 (30);
      9  BEGIN
    10    INSERT INTO emp (empno, deptno) VALUES (99, 60);
    11  EXCEPTION
    12    WHEN e_no_parent_key THEN
    13        -- extract schema.constraint_name from sqlerrm:
    14        v_fk_cons:= SUBSTR (SQLERRM,
    15                      INSTR (SQLERRM, '(') + 1,
    16                      INSTR (SQLERRM, ')') - (INSTR (SQLERRM, '(') + 1));
    17        DBMS_OUTPUT.PUT_LINE ('Foreign key constraint violated: ' || v_fk_cons);
    18        -- extract parent schema.table and parent key:
    19        SELECT owner, table_name, constraint_name
    20        INTO     v_owner, v_parent_table, v_pk_cons
    21        FROM     user_constraints
    22        WHERE     (owner, constraint_name) =
    23            (SELECT r_owner, r_constraint_name
    24             FROM     user_constraints
    25             WHERE     owner || '.' || constraint_name = v_fk_cons);
    26        DBMS_OUTPUT.PUT_LINE ('Parent table: ' || v_owner || '.' || v_parent_table);
    27        DBMS_OUTPUT.PUT_LINE ('Parent key: ' || v_owner || '.' || v_pk_cons);
    28        -- extract parent table columns:
    29        FOR rec IN
    30          (SELECT column_name
    31           FROM   user_cons_columns
    32           WHERE  owner = v_owner
    33           AND    table_name = v_parent_table
    34           AND    constraint_name = v_pk_cons)
    35        LOOP
    36          DBMS_OUTPUT.PUT_LINE
    37            ('Parent table column: ' || rec.column_name);
    38        END LOOP;
    39  END;
    40  /
    Foreign key constraint violated: SCOTT.FK_DEPTNO
    Parent table: SCOTT.DEPT
    Parent key: SCOTT.PK_DEPT
    Parent table column: DEPTNO
    PL/SQL procedure successfully completed.

  • How to find the linkname based on its ractangle?- indesign cs2- js?

    i selected the rectangle , which holding one image init, i cant able to get the image name, how to solve this in indesign cs2?
    -thanks
    subha

    myRect.graphics[0].itemLink.name;

  • How to identify the Selected row number or Index in the growing Table

    Hi,
    How to find the selected Row number or Row Index of growing  Table using Javascript or Formcalc in Interactive Adobe forms
    Thanks & Regards
    Srikanth

    After using bellow script it works fine
    xfa.resolveNode("Formname.Table1.Row1["this.parent.index"].fieldname").rawValue;

  • What is latest bundle patch level for exadata x3-2 machine? how to find the doc?

    We have a exadata x3-2 machine. I have a question: What is latest bundle patch level for exadata x3-2 machine? how to find the doc?
    Thanks in advance.

    Check note id 888828.1
    This has all the infomation you need.

  • Check whether the selected character is an xml open/close tag character...

    Hi Everyone,
    I am using InDesign CS4 and i need some help from you.
    Is there any better way to check the selected character is an XML open/close tag character in the text instead of using the unicode.
    Thanks in advance
    Thiyagu

    I'm having trouble understanding your requirements. I think you're trying to remove the zero-width non-breaking spaces that don't hold tags. Is that right?
    If that's the case, you don't really have to worry about the tags. You can do a normal find and replace:
    app.findTextPreferences.findWhat = "<feff>";
    app.changeTextPreferences.changeTo = "";
    app.activeDocument.changeText();
    It will match the characters that hold the tags, but won't remove them. Actually, it will say it removed them, but won't actually do it—or will replace them immediately? I don't know.
    (As far as I know, there is no way to match the 0xfeffs with a grep find, which is what it looks like you were trying. It would be super awesome if there weren't as many different  notations for unicode characters as there are means of finding them.)
    If you're trying to remove the characters that hold the tags, I think your only option is to untag the elements. You can't remove the 0xfeffs but keep the tags.

  • How to find the number of fetched lines from select statement

    Hi Experts,
    Can you tell me how to find the number of fetched lines from select statements..
    and one more thing is can you tell me how to check the written select statement or written statement is correct or not????
    Thanks in advance
    santosh

    Hi,
    Look for the system field SY_TABIX. That will contain the number of records which have been put into an internal table through a select statement.
    For ex:
    data: itab type mara occurs 0 with header line.
    Select * from mara into table itab.
    Write: Sy-tabix.
    This will give you the number of entries that has been selected.
    I am not sure what you mean by the second question. If you can let me know what you need then we might have a solution.
    Hope this helps,
    Sudhi
    Message was edited by:
            Sudhindra Chandrashekar

  • How to escape the special character ' (ascii 39) in a select query?

    Hi,
    does anybody know how to escape the special character ' (ascii 39) in a select query?
    I've tried a lot of ways but nothing seems to work, for example I try to get all
    names in table foo where coloumn name contains a '-sign (ascii 39)
    select name from foo where name like '%\'%';
    select name from foo where name like '%{'}%';
    select name from atg_horse where name like '%chr(39)%'
    ... but neither works, I end up with a ORA-01756: quoted string not properly terminated
    I would apriciate any help
    /Carl-Michael

    friends
    thanks for ur time and effort that u gave to reply to my problem.
    But my main problem is that when my application (VC++ 7) fires the following query in the oracle database , it does not return any rows.
    SELECT count(*) FROM ORGANISATION WHERE UPPER(ORGANISATION.ORGANISATIONNAME)
    LIKE N'&#946;%' ORDER BY ORGANISATION.ORGANISATIONNAME
    the above question in the previous thread was just to check on sql plus as it's editor does not support unicode characters.

Maybe you are looking for

  • Low Frame rate with new Apple TV.

    Hi, I just watched a purchased TV show (Top Gear) on my new Apple TV, connected to a 42" flatscreen, and I am not impressed at all with the quality. Apart from the resolution, which we all now, the image is jittery, and the frame rate is so low that

  • Midland-advice/discrepancy

    Hi,  I just pulled one of my annual reports, and I noticed that Midland was reporting my DOFD a month or so after what the OC had reported. What would you do in this situation to get it removed? I would love to clear my report of Midland. Recently, t

  • Display rows affected data from MySQL statement??

    Hi, Im trying to get the return data from a MySQL database, such as the ROWS AFFECTED into after an INSERT sql command. Could anyone help me? I mean I know its easy in PHP to use the "mysql_affected_rows" command, but how do you do this in Java? Many

  • Error while accessing the transfer rules after installation

    I get the status " Idoc type in the source system is not available"  when i try to access the transfer rules of delivery service ,0sd_c04 infocube. can anyone help me to fix the error.

  • IPHoto 5.0.4 stopped suddenly today

    iPhoto 5.0.4 won't start. It suddenly stopped working today. I cannot access my photos. It's been working fine till today. I've already trashed pref file, I dragged the photo library to desktop and iphoto started up, but without my 5000 plus photos.