Map Styles to Tags Problem

For the first time ever I am having problems running the Map Styles to Tags commmand in InDesign CS3. The program takes some time to d the command but then an empty dialog pops up and the tagging has not happened. Any ideas in taking the text step to debug this problem?
InCopy CS3 on a PowerMac DualG5/Mac OS X 10.5.8. Extra plug-ins include the K4 workflow system, Universal Type Server plug-in, Notes Manager, Overset Manager. I have attempted to do this operation via InCopy on this article and encountered the same problem.

I finally figured out this problem. The main article (InCopy document) was very, very long. Once I removed all change tracking in InCopy and turned off change tracking (which involved some changes in K4 administration) everything worked perfectly.

Similar Messages

  • INDESIGN GLITCH: Creating an XML file from Indesign Layout - Issue "Using more than one line of GREP" & "Map Styles to Tags"

    I currently create XML from InDesign CC by Mapping Style to Tags.
    - The Paragraph Styles are manually apply to text. These styles include multiple lines of GREP to automatically apply character styles.
    - I map some of the paragraph and character styles to prebuilt tags that have the same name "Map Styles to Tags".
    I have found through trouble-shooting that InDesign is unable to "Map Styles to Tags" for more than one line of GREP. I therefore have to chose which line of GREP to automatically tag and which lines to manually tag.
    Please can anyone help, I need to automatically map tags to at least two character styles in one paragraph via GREP.
    Thanks,

    OK. The best I can suggest is running a Find/Change like this:
    Which will actually apply the character style to the italics (and I would do the bold as well just to make certain). Then run the Map Styles to Tags again, using the Apply by Name. Which will tag the italics.
    I don't know why ID can map to the bold and not the italic character style. It either should do them both (as in this instance) or none at all as the character styles are not actually applied by the grep, just the styling from the character styles.
    Mike

  • 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

  • Error messages when using Mapping Styles to tags

    We are using the XML Export from Indesign as part of our translation workflow. This has been fine until today. I am trying to tag an older document and when I use the Mapping Styles to Tags option I get the following error message:
    "Cannot tag the selected text because the text contains part of a hyperlink or cross reference. Change the text selection to include the entire hyperlink or cross-reference"
    I have no text selected, and I have tried tagging each Cross-Reference in the document and then repeating the map styles to tags all with no result. I don't really understand the message. Can anybody help me?
    I'm using InDesign CS6 Verison 8.0.1 on a MacBook Pro OSx 10.6.8
    Thanks
    Steve M

    Do you still have the original version of ID in which the file was made? If so, try the export to interchange from that. It frequently works better than after conversionin a new version. Open the exported file in CS6 and try your mapping again.
    If that still doesn't work, we'll need someone else to step in who has some XML experience.

  • Problem mapping styles to tags

    How do I prevent creation of the "Story" tag during mapping of styles to tags?
    I need to achieve the following using a script:
    I have two XMElements in the structure view, say Title and Body as follows:
    <Root>
      <Title/>
      <Body/>
    </Root>
    Also, I have two text frames in a document. The first text frame has text with parastyle named "titlestyle".
    And the second text frame has text with parastyle named "bodystyle".
    What I need is when I do mapping of styles to tags (mapStylesToXMLTags) then the text with "titlestyle" should be placed as contents of title tag and the text with "bodystyle" should be placed as contents in body tag.
    The problem is that when I map styles to text a Story tag is created for each text frame and the original Title and Body tags remain as it is, i.e, empty.
    I get:
    <Title></Title>
    <Body></Body>
    <Story><Title>here are the contents</Title></Story>
    <Story><Body>here are the conents</Body></Story>
    NOTE: If you select the text in text frame and then click the tag in structure view, then the contents are placed correctly. This is what I need as follows:
    <Title>here are the contents</Title>
    <Body>here are the contents</Body>
    Regards,
    Vinoth

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

  • SDK API - Map Styles to Tags (StyleExportTagMaps)

    Hello everybody,
    I am developing a script to specialize the export tag mapping tool on CS5.5
    I have found an object called "StyleExportTagMaps".
    I would like to know two things:
    Wich object is its parent? i.e. from which Object should it be called from to create a new "StyleExportTagMap" Object. I have unsuccessfully tried to make the call from:
    The Document Object:
    myStyleExportTagMapA = myDocument.StyleExportTagMaps.add(...)
    The Paragraph Object, which is the "MyStyleExportTag" object parent (the element, but not the list):
    myStyleExportTagMapA = myDocument.paragraphStyles.item(myStyleAName).StyleExportTagMaps.add(...)
    What values should you send to the add method as parameters 1, 4, 5? i.e:
    exportTypeParam:String
    exportTagParam:String
    exportClassParam:String
    exportAttributesParam:String
    withPropertiesParam:Object
    Thanks in advance,
    Andres Mendoza

    Hello Evreybody,
    I have allready figuered out the object's parent, and it is definatelly a ParagraphStyleItem (but the class name doesn't begin with capital letter):
    The ParagraphStyle Object, e.g:
    myStyleExportTagMapA = myDocument.paragraphStyles.item(myStyleAName).styleExportTagMaps.add( ...)
    Now I would like to know, the argument values for the 1st, 4th and 5th parameters, the add method expect to recieve (I haven't been able to create a valid StyleExportTagMap object):
    myStyleExportTagMapA = myStyleA.styleExportTagMaps.add("1st???", myXMLTagAName, "TheExportClass", "4th???", "5th???"); i.e:
    exportTypeParam:String
    exportTagParam:String
    exportClassParam:String
    exportAttributesParam:String
    withPropertiesParam:Object
    Furthermore, what I really need to know is how do you specifically map a style to a specific Tag and class value. I was trying to use "xmlExportMaps.add()" and "mapStylesToXMLTags()" methods. It is possible to map a Style to a Tag with these methods, but I couldn't figure out how to set the class associated to the Tag (this is how I found the StyleExportMap Object, which I'm trying to use), e.g:
    myStyleName: h2.fakecaps
    Expected associated Tag name: h2
    Expectede associated class name: fakecaps
    Expected "template.css" values when exporting to ePub file: h2.fakecaps{...}
    Thanks in advance,
    Andres Mendoza

  • 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;

  • Map Styles to XML Tags

    Hi,
    My InDesign cc2014 freezes when I apply manually  'mapStylestoXMLTags' to a document. any idea?
    Thank you,

    +1 for Harb's reply.
    As for an answer, as much as it is, if indesign freezes when manually mapping styles to tags (or the other way around), there is not much you can do. In my experience that always happens if the indesign document is large. Most you can do is post a bug report with Adobe and hope for the best.
    As a workaround, you can iterate through the textStyleRanges, test each one and create the xml structure, but it's not a easy solution.

  • [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

  • Mapping Styles from Word 2010 to RoboHelp HTML 10

    Hello all,
    I have created customized styles for myself and my team to use for authoring content, which I then import to RoboHelp, as I am the only individual who understands RoboHelp and HTML/CSS. I created a corresponding CSS style sheet in RoboHelp to correspond with the names of the Word styles. When I go to import the files in RoboHelp, I am running in to an issue with paragraph tags and heading tags.
    When I import a file from a Word document, I have not found a way to map a <p> tag that is parsed from a Word document to an <h> tag, as heading tags do not appear as a selectable item in the Conversion Settings  window when importing Word files. I would be able to keep the formatting if I left the headings as <p> tags; however, it is my understanding that RoboHelp 10 search relies heavily on the heading tags for weighting search results. I have about 400 topics, and search is used heavily by those using my documentation. I would prefer to keep the <h> tags in place in the RoboHelp files and retain the search functionality, if at all possible, while finding an easier import option from Word files.
    At this point, I have to manually change the HTML for each <p> tag to match the correct heading style. While Find and Replace works well for this, I would prefer to have a seamless import from Word (which bloats an HTML file horrendously, I know) by mapping from one style to the next. Has anyone found a way to map a <p> tag to an <h> tag so that the search functionality does not suffer? Or am I just approaching this the wrong way?

    You are correct in your assumption that I am referring to paragraph styles when speaking of <p> tags. The paragraph styles come over as <p> tags, and I was just thinking of my style sheet. Sorry for the confusion.
    Speaking of my workflow, I'm attempting to map the styles for one topic at a time when importing a new Word file. I set up a test project to test out my style sheet, as I am upgrading from RoboHelp 7 right now. .I need to get one document to map correctly to save the settings for future imports.
    From the Import window, I click the Edit... button in the Word Document section. After RoboHelp scans the Word file, a list of all the styles from the Word document display. When I attempt to select from the available styles I want to map to from my RoboHelp style sheet, I don't have the option to select the heading styles I created in my RoboHelp CSS file. Does this provide you enough information to give you context on how I am attempting to map the styles?
    I found this article that leads me to belive that RoboHelp does not support mapping to a customized heading style from a CSS file. I realize that this is around the printed output, but it states the following:
    If custom heading styles aren’t named in the format Heading <number>, they are not treated as headings.
    If it doesn't work going from HTML to printed output, I'm guessing that there is not support going from Word to HTML. Am I wrong in this assumption? Do I just need to alter my style sheet to only use the standard <h> tags to fix this issue?

  • XML Styles to Tags--template?

    Hi,
    First, many thanks to the users that make this site so helpful.
    My question today is this: I have a book full of chapters that will each be exported to XML.  In each chapter, there are styles that I need to "Map to Tags" (which I've done by hand for the first chapter) for the final XML.  Since the styles will be named the same in each chapter, is there a way for me to retain the mappings to the tags for the next chapter so that I do not have to make those mappings again?
    Atomik Xport's add-on product calls the mapping a "ruleset" (.rls).
    I'd like to avoid scripting this if possible, since the styles for this particular project are 100+ (gulp).
    Any ideas?
    -ThisGuy

    ThisGuy-500 wrote:
    Hi,
    First, many thanks to the users that make this site so helpful.
    My question today is this: I have a book full of chapters that will each be exported to XML.  In each chapter, there are styles that I need to "Map to Tags" (which I've done by hand for the first chapter) for the final XML.  Since the styles will be named the same in each chapter, is there a way for me to retain the mappings to the tags for the next chapter so that I do not have to make those mappings again?
    Atomik Xport's add-on product calls the mapping a "ruleset" (.rls).
    I'd like to avoid scripting this if possible, since the styles for this particular project are 100+ (gulp).
    Any ideas?
    -ThisGuy
    Tags can be saved and loaded via the Window > Tags panel menu.
    Although tag mappings don't appear in the Synchronize Options dialog box of the Book panel's menu, it's worth experimenting to see if the style-to-tag mappings are indeed propagated to component files in a book panel. Let us know your results. If it doesn't work, consider filing a feature request at: wish
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Where can I get an Html error report of all the syntax and tag problems?

    Where can I get an Html error report of all the syntax and tag problems?

    Thank you for your answer.
    Where is the DW validation for me?
    My files are in my computer so I don’t have an external URL.
    File > validation > as xml = closes DW... Maybe because it is not a correct command for HTML,
    And
    Window > results > validation = gives a partial mistakes (e.g. shows an open tag without closing tag, but doesn’t show a closing tag without an open tag).
    Thank you.

  • IBooks 1.3 video tag problem! Can any developer help me ?

    Probem with epub files. iBooks 1.3 video tag problem! Can any developer help me ?

    I solved a similar issue, by removing the oracle.xml shared library when deploying the application ...

  • Problem with text-indent style , select tag on IE

    Hi Developers,
    i tried text-indent style class for <select> <option> tag .. The following given code is working on Mozilla fire box browser, but it is not working on IE..
    I am trying to build a tree structure in the list box with multiple levels without ' ' and <OPTGROUP> does not support multiple levels.
    Here is the example with multiple levels.
    <html>
    <head>
    <title>Main </title>
    <style>
    .style {color:green;font-weight:bold}
    .style1 {text-indent:45px;color:red;}
    .style2 {text-indent:90px;color:blue;}
    .style3 {text-indent:135px;color:green;}
    </style>
    </head>
    <body>
    <form name="form1">
    <select name="retail" >
    <option selected disabled value="">Tree Structure</option>
    <option value="Father" class="style">Father</option>
    <option class="style1" value="/retail/chandler/">Son 1</option>
    <option class="style2" value="/retail/chandler/">Grand Son 1</option>
    <option class="style2" value="/retail/chandler/">Grand Son 2</option>
    <option class="style3" value="/retail/chandler/">Great Grand Son 1</option>
    <option class="style3" value="/retail/chandler/">Great Grand Son 2</option>
    <option class="style2" value="/retail/chandler/">Grand Son 3</option>
    <option class="style1" value="/retail/chandler/">Son 2</option>
    </select>
    </form>
    </body>
    </html>
    Please help me out by providing a solution to this issue.

    You have bigger problems than you realize.   On this page - the one after the Splash intro page,
    http://www.transgenic-rabbit-models.com/Home.html
    As seen in Firefox with increased text.  See screenshot.
    Notice how your text boxes are colliding into other text boxes?  This happens when web designers paint themselves into a corner with a rigid layout.  Web pages must be flexible for all screen and text sizes.
    You are using APDivs as a primary layout method which is a bad choice.  And here is why.
    http://apptools.com/examples/pagelayout101.php
    Suggested Tutorials -
    From  Tables to CSS Web Design Part 1 -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt1.html
    From   Tables to CSS Web Design Part 2 -
    http://www.adobe.com/devnet/dreamweaver/articles/table_to_css_pt2.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Problem in mapping of conditional tag.

    Hi Experts,
    I have the following problem:
    Source tag:
    <A>
    <FIELD1>DATUM1</FIELD1>
    <STATUS> X</STATUS>
    </A>
    <A>
    <FIELD1>DATUM2</FIELD1>
    <STATUS> </STATUS>
    </A>
    <A>
    <FIELD1>DATUM3</FIELD1>
    <STATUS> </STATUS>
    </A>
    Target Tag:
    <C>
    <FIELD1>DATUM1</FIELD1>
    </C>
    <D>
    <FIELD1>DATUM2</FIELD1>
    </D>
    <D>
    <FIELD1>DATUM3</FIELD1>
    </D>
    So, In Source Tag A, if Status =X =>Target Tag = C
          In Source Tag A, if Status =empty =>Target Tag = D.
    My mapping is as following:
    Source Tag A->exists AND Status=X => CreateIF=>Tag C
    Source Tag A->exists AND Status=empty=> CreateIF=>Tag D.
    The problem is that I get in Target only Tag C:
    <C>
    <FIELD1>DATUM1</FIELD1>
    </C>
    <C>
    <FIELD1>DATUM2</FIELD1>
    </C>
    <C>
    <FIELD1>DATUM3</FIELD1>
    </C>.
    It looks like it does not check for each tag A.
    I have tried with UseOneAsMany but it does not work and read a lot on SDN but nothing helped!
    Please, any idea?
    Kind Regards,
    Danijela

    Hi Danijela,
    Source tag:
    <FIELD1>DATUM1</FIELD1>
    <STATUS> X</STATUS>
    <FIELD1>DATUM2</FIELD1>
    <STATUS> </STATUS>
    <FIELD1>DATUM3</FIELD1>
    <STATUS> </STATUS>
    Target Tag:
    <C>
    <FIELD1>DATUM1</FIELD1>
    </C>
    <D>
    <FIELD1>DATUM2</FIELD1>
    </D>
    <D>
    <FIELD1>DATUM3</FIELD1>
    </D>
    Follow these steps -
    you have source message type like this
    <root>
               <Field>
               </Field>
               <status>
               </status>
    </root>
    In Graphical mapping , first take Status if with else node function and check for 'X' if yes then create  target node <C></C> . if else then check for empty with if without else node function and create target node <D></D> node.
    It will solve the issue. Pls let us know if you need any further support.
    Regards,
    kishore

Maybe you are looking for

  • Query returning different number of rows standalone vs insert statement

    Hi, We are using Oracle 10g. We are facing a issue where a SELECT inserts 26294 rows when used with a insert statement. The same select (cut-and-paste) when executed standalone, returns only 60 rows. Any idea what could be causing this? Thanks in adv

  • I just bought music that is not showing up in my library.

    I bought music in the iTunes store but it's not showing up in my library. It is showing up on my devices though. What the...?

  • Headers/labels in repeating frames

    Hello, I am able to print a repeating frame accross/down, but I would like to print column headers for them, as well as a side header (used to describe the whole set of data in the accross/down frame). In any case, I just want the column headers once

  • What disc formats are supported by Remote Disc

    We just purchased a Macbook Air. We have a Dell PC with Windows XP SP2 that we set up for remote disc sharing (using the most recent version of the Windows remote sharing software). Much to my surprise, when I put the OS X disc into that system, it w

  • Constructing dynamic SQL

    Forms6000. In a when_button trigger, I've coded dynamic sql statements via the concatenation method, nested within IF statements using forms_DLL built-in. Through debugging methods have confirmed that the statements are in fact being dynamically cons