Problem Mapping Tags to Styles in CS2

Hello, I am running CS2 (V4.0.5) on XP SP2. I have XML-tagged text that I am mapping to styles/map by name. While the paragraph styles apply correctly, character style sheets that shouldn't apply are being applied as well. I have replicated this multiple times.

Hi,
Can you provide some text examples from your xml file. This because to identify the concern in the xml coding.
Regards
Thiyagu

Similar Messages

  • Map tags to style problem.

    Hello!
    I have a problem with indesign that i cannot understand. On the picture below, you can see my structure. PARAGRAPH is the tag of the text frame. Inside the text frame i have tagged the text. The things that should be paragraph style 1 (bröd) is tagged "PARAGRAPH1". The things that should be  paragraph style 2 (bröd_start) is tagged "PARAGRAPH2".
    I use map tags to style to map the different tags to a specific style. It looks like this:
    When I run the cursor over the text I can see the tags changing to the correct one in the tags panel. But the paragraph style is always "Bröd". It seems as if the tags to style is not applied!
    The reason that I want to to this is so I can manage first lines better. I map the first word of a "new" line to "Bröd_Start" so that the first line is aligned flush left. Like this:
    Anyone has any ideas why this is not working like it should?!
    Tank you!
    Regards,
    Lukas

    Hi,
    Thanks for sharing the document. I tried with your file and scrolling is working fine. I could choose and select the styles also.
    Did the bug happen after importing XML or before as well?
    Do you have other documents open while you are working on this document?
    Did you try cleaning your preferences and cache? If not, you can give this a try and let me know if the problem still remains.
    Regards,
    Pooja

  • [CS2][JS] Map tags to styles

    Hi
    I would like to map styles to tags and map tags to styles using a predefined file....
    I've tried using ...
    var thepath="/Volumes/test/Mapping.indd";
    var myImportfile=new File(thepath);
    app.activeDocument.xmlImportMaps.add(myImportfile);
    app.activeDocument.xmlExportMaps.add(myImportfile);
    ... but it raises an error... missing parameter...
    Does anyone have an idea?
    Thanx
    Tim

    Hi Eric,
    I just checked the link, and it's working fine. Try again?
    Also, I'd missed this thread earlier--what Tim is asking about (loading a tag to style mapping from a file) can't be done directly in the user interface (as far as I can tell), so it can't be done directly from scripting. Instead, you'd have to open the file containing the tag to style mapping, then transfer the mapping one import/export map at a time to the target file.
    Thanks,
    Ole

  • Map Tags to Style Pallet Issue

    When in the 'Map Tags to Style' pallet I can't scroll by either moving the scroll bar or clicking up/down arrows. Also the only way to select a style sheet is to click exactly on the paragraph icon. The scrolling is driving me crazy, anyone else have this issue in this pallet in ID CC (using ID from cloud and all updates have been run)?

    Hi,
    Thanks for sharing the document. I tried with your file and scrolling is working fine. I could choose and select the styles also.
    Did the bug happen after importing XML or before as well?
    Do you have other documents open while you are working on this document?
    Did you try cleaning your preferences and cache? If not, you can give this a try and let me know if the problem still remains.
    Regards,
    Pooja

  • Map tags to styles by javascript

    Hi All,
    I need to ‘Map Tags to Styles’ is this possible by javascript?
    By
    hasvi

    Hello hasvi,
    What I understood in Jongware & Everyone statement. You expect everything into this forum, I seen you every post you always expecting or requesting any one to create the script or help. This is not good path to develop to your career. First you have learn then come to forum, then you have any problem, everybody ready to help to you share their knowledge.
    See your below threads Titles. You not share your any ideas to any one also your score is 0. You only get everything into this forum but you not share any small request also.
    How to import tables without 'xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/' this format.
    https://forums.adobe.com/thread/1534167
    How to import tables without 'xmlns:aid5="http://ns.adobe.com/AdobeInDesign/5.0/' this format.
    https://forums.adobe.com/thread/1533132?sr=stream&ru=2170596
    XML structure validation by javascript
    https://forums.adobe.com/thread/1533131?sr=stream&ru=2170596
    Please correct this script for call xml element
    https://forums.adobe.com/thread/1471266
    How to 'import xml' in my script
    https://forums.adobe.com/thread/1531896?sr=stream&ru=2170596
    Need script for "Convert bullets and numbering to text"
    Need script for "Convert bullets and numbering to text"
    Overflow text copy on next page with same anchore box by script
    hasvi
    Again I tell you that don't miss use this forum pls change the attitude. Everybody sharing their thoughts and Ideas to develop only.....
    I hope you understand?
    thx,
    csm_phil

  • Js for Structure; XML; Map Tags to Styles...

    Hi all
    I am trying this forum entry again under a different heading. I may have confused readers.
    I have a ID file that contains XML content and lots of Character and Paragraph Styles.
    There is a map that connects Tags <-> Styles.
    This file is working fine. This file is now my "Template File"
    I have written a script that imports XML content of the same kind into a new file.
    The script also imports or loads all the Character and Paragraph Styles from the "Template File" into the "New File".
    Now I would like to import the maping between Tags <-> Styles into my "New File".
    Manually this is an easy process in ID, in the Structure pane, top right corner, is a pulldown, one of the commands is called "Map Tags to Styles..."
    I load the map and my "New File" looks perfect.
    I would now like to include this function into my script.
    So far I could not find any code samples for this.
    Can anybody help?
    Thanks Romano

    Thank you Fred
    No this imports the Tags only...
    what I am looking for is this:
    My script needs to "call this menu, press the Load... button, choose a file, import from that file"
    It would be some simple thing like loading the colour swatches from another file...
        app.activeDocument.loadSwatches(myStyleFile);  
    but would say something like     app.activeDocument."loadTagsStylesMap"(myStyleFile);  
    Romano

  • Map tags to styles (CS6, Applescript)

    I want to map a series of tags to styles in InDesign, but this seems not to work.
    The inverse, mapping styles to tags, works!
    Any idea? Thanks for your help!
    tell application "Adobe InDesign CS6"
              tell active document
      make XML export map with properties {markup tag:"Header", mapped style:"Header"}
      map XML tags to styles
              end tell
    end tell

    Hello, try
    tell application "Adobe InDesign CS6"
        set myDocument to active document
        tell myDocument
            set tList to name of every XML tag
            set tNumItems to count of tList
            -- XML tag to style mapping by name.
            repeat with j from 1 to tNumItems
                set tStyle to item j of tList
                make XML import map with properties {markup tag:tStyle, mapped style:tStyle}
            end repeat
            --Map tags to styles.
            map XML tags to styles
            --Map styles to XML tags by name
            repeat with j from 1 to tNumItems
                set tStyle to item j of tList
                make XML export map with properties {markup tag:tStyle, mapped style:tStyle}
            end repeat
            --Map styles to tags.
            map styles to XML tags
        end tell
        --Export xml para desktop para pasta a designar
        tell active document
            export to "xxxxxxxxx:aaaaaaaaa.xml" format "XML"
        end tell
    end tell

  • Map styles to tags v. Map tags to styles

    Hi everyone,
    Indesign CS4 has an option in the tags panel to:
    1) Map styles to tags
    and
    2) Map tags to styles
    Does anyone know what the difference between these two options are?
    Appreciate any help.

    Tags and Styles serve two separate functions.
    A Tag defines data that belongs to a specific element and is enclosed with an opening and closing tag.
    example:  <element>  This copy will be used for a headline  </element>
    A Style defines how that data will appear with specific attributes: font, font size, color, etc.
    So, say I have an Indesign document that has a predefined paragraph style named: Headline (with attributes of Times New Roman Bold, 18 Point) and I import a file that is tagged like my example. I can map the tag "element" to the style "Headline" and the import can automate the process like this:
    This copy will be used for a headline

  • Map by name, Tags to Styles

    In JavaScript, I can map Styles to Tags using autoTag but how do I map Tags to Styles by name?
    Thank you,
    Richard

    #target indesign
    #include "/Applications/Adobe InDesign CS3/Scripts/Xml Rules/glue code.jsx"
    var myDocument = app.activeDocument;
    var myRuleSet = new Array (new ProcessAll);
    with(myDocument){                   
       var elements = xmlElements;
       __processRuleSet(elements.item(0), myRuleSet);
    myDocument.mapXMLTagsToStyles();
    function ProcessAll(){
       this.name = "ProcessAll";
       this.xpath = "//*"; 
       this.apply = function(myElement, myRuleProcessor){
          with(myElement){
             $.writeln(markupTag.name);
             var myParagraphStyle = myDocument.paragraphStyles.itemByName(markupTag.name);
             if (myParagraphStyle != null){
                myDocument.xmlImportMaps.add(markupTag.name, markupTag.name);
       return true;

  • [CS5 JS] Problem in Applying character styles xml tag names

    Hi,
    e.g. 1
    <italic>This is a italic text with <sup>superscript value</sup></italic>
    e.g.2
    <sup>This is a superscript text with <bold>Bold superscript</bold></sup>
    <italic>  mapped to character style "italic" and
    <sup> mapped to character style "sup"
    In my java script I already mapped the xml tags to specific character styles. In some of the cases (see e.g.1 and e.g.2) I need to map it to other character styles.
    In e.g.1 I need to apply a new character styles "italicSup" for the text "superscript value" same way
    In e.g.2 I need to apply a new character styles "BoldSup" for the text "Bold superscript".
    Can any know how to do this?
    Green4ever

    FYI, I am using
    Win Xp-SP2, CS5 7.0.3

  • Problem mapping LoginModule roles to ejb security roles

    I have "successfully" managed to implement the DBSystemLoginModule. When I run my application I successfully authenticate to the database, the login module successfully retrieves the users roles from the database and adds them to the subject:
    PassiveCallbackHandler cbh = new PassiveCallbackHandler(username, password);
    LoginContext lc = new LoginContext("current-workspace-app", cbh);
    lc.login();
    I then perform a lookup on a bean using the same user:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory");
    env.put("java.naming.security.principal",username);
    env.put("java.naming.security.credentials",password);
    env.put("java.naming.provider.url", "ormi://localhost:23891/current-workspace-app");
    Context ic = new InitialContext(env);
    final SessionEJBHome sessionEJBHome =
    (SessionEJBHome) PortableRemoteObject.narrow( ic.lookup( "SessionEJB" ), SessionEJBHome.class );
    Finally, I create an instance of the bean and call a method of this bean.
    SessionEJB sessionEJB;
    sessionEJB = sessionEJBHome.create( );
    sessionEJB.testMe( );
    I am expecting (hoping) that the roles retrieved from the database by the login module may be used to authenticate the ejb methods. i.e. if (in ejb-jar.xml) the method "testMe" has a method-permission with role-name of "ABC" then this method may only be accessed if the user is a member of the "ABC" role retrieved from the database by the login module. However I get the message:
    "username is not allowed to call this EJB method"
    When I add a security-role-mapping in orion-ejb-jar.xml mapping the role "ABC" to the group "ABC" (and impliesALL="true") then the method is called successfully. However, if I add a security-role-mapping mapping the role "DEF" to the group "DEF" (which the user is not a member of) the ejb method is (wrongly) called successfully (with implies all="false" the method always fails). In other words there seems to be no mapping of the roles retrieved by the login module to the ejb security roles.
    Can anyone please enlighten me on how I can achieve the mapping of the ejb security roles to the roles obtained from the login module.
    Thanks
    PS I have this problem with JDeveloper 10.1.3 (Developer Preview 10.1.3.0.2.223 and Early Access 10.1.3.0.3.3412)

    Hi Sebastian,
    yes, it is possible to do such mapping. And here how it works:
    1. define security roles in the ejb-jar.xml within the <security-role>. For example:
    <security-role>
         <role-name>test</role-name>
    </security-role>
    2. then you map the roles those roles to server security roles using the <security-role-map> tag of the ejb-j2ee-engine.xml descriptor.
    <security-permission>
       <security-role-map>
          <role-name>test</role-name>
          <server-role-name>myUMErole</server-role-name>
       </security-role-map>
    </security-permission>
    the myUMErole must be defined in the UME!
    Does this answer your question?

  • Upgraded to iTunes 11. Now, I can not sync my music to my iPhone 4S (iOS 6.0.1) Apps, movies and videos sync OK. Music is the problem. Tags are correctly check-marked. Any ideas ???

    Upgraded to iTunes 11. Now, I can not sync my music to my iPhone 4S (iOS 6.0.1).  Apps, movies and videos sync OK. Music is the problem. Tags are correctly check-marked. NO ERROR MESSAGE THOUGH. Just a No Content in the Music App in the iPhone. Any ideas ???

    Bump!

  • Problem mapping USB external drive connected to Airport Extreme on my PC

    I am having a problem mapping my USB external drive in my PC running WIndows Vista.   Here is what I have so far:
    USB External Drive connected to my AirPort Extreme which is connected to my Century Link modem/router.
    I have installed the USB drive using the Airport Utility.  In the Disks section the Enable File Sharing is checked, Secure Shared Disks is set to With a Disk Password, I have entered the password in the next 2 rows, and finally AirPort Disks Gues Access is set to Not Allowed.  The section below named These Settings Configure Windows File Sharing is empty.  Am I supposed to put something here?
    I was also told I need to map the drive in my PC, but when I go to do that via the Computer and the Map Network Drive, I get stuck where it asks me to enter a folder name.  I read many of the posts which tell me I need to enter among other things the disk's ip address, but I am unable to find it anywhere.  Where do I find what to put here?
    Can someone please help this frustrated user?

    I had my USB drive on my APE working with Time Machine under 10.5.1 very reliably. A few days ago however, I needed to suspend a backup operation, and when I came back to restart it, time machine refused to mount the disk image on the drive. After several attempts to get it to connect with no luck I decided to delete the image (the sparce image file) and start over. Now TM refuses to create a new image.
    BTW, on the Mac OSX hints site there have been suggestions to start a backup with the drive directly connected, then stop the backup, move the sparce image file to the root of the drive, reconnect the drive to the APE base station to get it working. I tried this again, but I think Apple has changed something in 10.5.2, because when directly connected TM no longer creates a sparce image file.
    Anybody else seen this behavior after upgrading to 10.5.2?

  • Having problem with applying layer style "stroke" to group

    - Windows 8.1 / 64bit
    - i3-4150 / 4GB / Geforce GTX 750 TI
    - Photoshop CC 2014
    Hi!
    I don't know why, but there is some problem that applying layer style "stroke" to group.
    When i make a group with some layer and apply to group a layer style-stroke with inside option,
    the strokes looks like grid are generated inside.
    Why i said that stroke cross to ㅎrid, because it looks like grid if i make that group bigger.
    (that black square is 'Rectangle 1' layer. Just resizing bigger than before)
    Does anyone have same problem with me?
    Please, I need your help..

    pillfish wrote:
    I am having the same problem. it happens every time in cc and cc 2014. I am back using cs6. Which seems to run better on the whole.
    That's interesting. And this is happening with CC and CC 2014?  Do you have all the updates for the Photoshop CC versions?
    I've just tried to duplicate it without success, (windows 7, GTX570) so I wonder if there is a condition that triggers it?  Unfortunately, with this being such an old thread, the only person still around is R Kelly.
    OK, I just thought to try it on my Cintiq Companion 2, which has Windows 8.1 and Intel 5100, and the bug occurred. I actually got as far as firing up my Win 8.1 laptop before remembering that I had to sign out of CC to put it on my Cintiq, so I only have CS6 on it.
    Anyway....  looks like the bug is still there.  Are you using Win 8.1?

  • How to handle paragraph styles in imported text with no tagged paragraph styles

    Hi
    Im currently trying to import a file (word file / excel I have both formats) into an indesign book and formatting the text automatically!
    My question is: How is it possible to reflow text into frames and when changing frame it changes paragraph?
    Or how is it possible to change paragraph style when forcing a line break when using text reflow?
    I have already figured out how to reflow the text, and actually also managed to relow text into the frames and change paragraph style. I know how to use the keep option, and by this change the paragraph style when e.g. changing frame break/page break etc.  (but if the content being flowed-in is not tagged with style names then I cannot figure out how to do it) The document and its content I whish to import do not have any tagged paragraphs!
    Then I tried to look into "object styles" and format a text frame on a master page with an object style, and by using a "dilimiter character" forcing the text to start in a new frame when bringing the frame into live on a page. But here I cannot make the "text frame/object style" to apply or to work.
    If any of you have a hint, I would be more than happy to hear from you
    This picture are illustrating the outcome I would to get to....

    If the incoming text does not have styles, or has only one style, there is really not much you can do other than assign styles after the import. If there are recognizable patterns in the formatting, a lot of that can be done with Find/Change, and there are a few scripts floating around that can help automate some of that.
    Also, if your styles have a a good "next style" heirarchy built in, you can select large blocks of text (up to the point where applying next style would be incorrect), then right click the style name in the paragraph styles panel and choose apply style and next style (remove overrides). Warning. Removing overrides will remove any locally applied formatting like bold or italics, so local formatting should be converted to character styles first. Applied character styles are not overrides and will be preserved.

Maybe you are looking for

  • The Wi-Fi on My iPod Touch 4G is Not Working (See Description)

    The Wi-Fi on my iPod Touch 4G is not working. People were working on my wi-fi, and, since it showed three bars still, I thought it was working. So when I found out it wasn't working, I tried to fix it by myself by forgetting the wi-fi network. Now, w

  • I'm getting Spam links in a chat website

    In a website that I belong to that has chat functions....I occasionally notice that a random word or poster's name is sometimes highlighted in a dark blue color. When my cursor goes over that word/name, I get a Spam popup...or sometimes a direct link

  • Linking to Excel cells

    I am running Dreamweaver 8.0.2 and would like to create a link on a page to a specific cell in an Excel worksheet. (All files are in the same folder.) I have tried entering the code "Name of Worksheet.xls#Nameoftab!X25", but the link just opens the e

  • OLAP Datagrid

    Hi All This is quite a general question but I was wondering if anyone was using the OLAP Datagrid in Flex 3. Also, I was wondering if the OLAP calculations (data) within the datagrid could be used to produce charts. Any experiences would be worth hea

  • I get a pop up from Adobe telling me to accept the end user agreement. How do I do this?

    how do I accept the end user agreement?