Refering to Styles Groups in XML

Hi,
I am importing XML for my document.  I have loaded a Style file and a number of styles are in Groups.  I can not seem to refer to these in the xml.   The group is Page and the style under there is Page Head.  On the majority of the below, when I load the xml I get another entry in the styles refering to the below (eg, Page\:Page Head). I have tried the below
<col1 aid5:cellstyle="Page Head" aid:pstyle="Page\:Page Head">
<col1 aid5:cellstyle="Page Head" aid:pstyle="Page/:Page Head">
<col1 aid5:cellstyle="Page Head" aid:pstyle="Page:Page Head">
<col1 aid5:cellstyle="Page Head" aid:pstyle="Page Head (Page)">
I even changed the heading and exported the XML file to see what the exported xml looks like and I get the following, which again, has no reference to the group:
<col1 aid5:cellstyle="Page Head" aid5:pstyle="Page Head" aid5:paragraphstyle="Page Head" aid:pstyle="Page Head" aid:table="cell" aid:crows="1" aid:ccols="1" aid:ccolwidth="330.32068718682893">
Can anyone please tell me what I should use.  I am on CS3.
Thanks.

Hi,
This is a big issue for us and it would be difficult to organise all our styles in a flat manner.  Just wondering if anyone can help or offer another method which I could use.  Thanks in advance.

Similar Messages

  • How to remove group in XML Publisher template

    Hi All,
    How to remove group in XML Publisher template while desining as below is one example in that i want to remove the group no 2,3,4 or G Supp Seq,List G Audit,G Audit and want the output of line no 1 and 5 and then 1 or Batch / Entry/ Category/ List G Supp Seq/C Line No / C Transaction / C Document//C Credit/C Debit/C H Seq Name.
    Example:
    1) Batch / Entry/ Category/ List G Supp Seq                    /C Credit/C Debit/C H Seq Name                    
    2)          G Supp Seq
    3) List G Audit
    4) G Audit     
    5)     C Line No / C Transaction / C Document
    Kindly help how to generate the output without the line no 2,3,4.
    Regards,
    Sushant

    Sushant,
    you can try to design the RTF by Regrouping the XML data based on your requirement then you may get proper order.
    Please see the Regrouping XML concept in the user guide.
    Regards,
    Prasad Raju

  • FindChangeByList script to include Style Groups/sub Style Groups

    I've been using this function happily (with varying degrees of success & lots of trial and error) for a while now. I'm not a script writer, understand very little but manage to copy and paste, and hope for the best.
    This has served my wishes for the most part, but I have the need to apply a GREP search/replace to some text that needs to be styled with a paragraph style that lives inside a style group, inside another style group.
    Style group called 'Headings', inside which is a style group called 'News from Areas heads' inside which is a paragraph style called 'b head_red (News from areas)'
    I have picked up on helpful examples from others for applying a paragraph style that lives within one level of "Style Group", but don't know what the correct syntax to describe: a paragraph style within a folder, within a folder, within another folder might be?
    I did wonder if the choice of underscores and brackets in the paragraph style may not help.
    MTIA
    Steve

    Hi Jarek
    Unfortunately I don't have much scripting knowledge, but to answer your questions
    1. paraStyle real name is "b head_red (News from areas)"
        - "b head_red" is used elsewhere. Why didn't I keep it simple?
    2. Do your findWhat string work in UI (run manually)?
        - yes, when I use normal GREP find/change it works okay.
    3. Do your FindChangeByList.jsx work with some simplier example?
        - yes, I use it often. The .txt file I'm working on at the moment already contains about 10 text/glyph changes which work fine. I have had success in applying a 'paragraph style' that is within a 'style group'. But this is the first time I've tried to apply a 'paragraph style' that is in a 'style group', within a 'style group'.
    Steve

  • [JS InDesign CS3] Style groups, begone! (or: How do I take paragraph and character styles out of style groups?)

    Sorry for this question (and my terrible English, by the way), I'm a javascript noob and I know when I've reached my limits.
    Well, I'm trying to take a set of paragraph and character styles out of the style groups they are placed in, in hundreds of InDesign documents (that cannot be treated as a book). As far as I've tried (thanks to the invaluable help of previous posts in this forum) I've been able to move a style into a group and change it's position inside the group, inside the root level or even between groups. But it doesn't matter how I try, I don't know which move reference should I try in case I want to take every style out of their style group and place them after their original group folder, at the [Root] style level .
    I have tried:
    var doc=app.activeDocument;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Here I am, trying to move a style outside the folder that contains it, and failing miserably.
              pStylesInGroup[j].move (LocationOptions.after, pGroups[i]);
    It didn't work, the script sent an invalid parameter value in the reference field, so I cant use the group folder itself as reference.
    Tried other (obviously wrong) solutions, like use the first available style as reference. Therefore, my second script was
    var doc=app.activeDocument;
    var pStyles=doc.allParagraphStyles;
    var pGroups=doc.paragraphStyleGroups;
    for (i=pGroups.length-1; i>=0; i--){
         var pStylesInGroup=pGroups[i].paragraphStyles;
         for (j=pStylesInGroup.length-1; j>=0; j--){
    // Now I try placing the styles after the [Basic Paragraph], that is, the second paragraph style in the document style list
              pStylesInGroup[j].move (LocationOptions.after, pStyles[1]);
    It didn't work either, another invalid parameter in the reference field. Similar results with my other attempts (I even tried "[Root]" as literal with similar luck).
    So, my question is: Which command (or script, in case my whole approach is utterly wrong) should I use to achieve my goal?
    Thanks in advance to whoever decides to spend more than a minute thinking about my humble worries, and my apologies for shamelessly ripping some of your lines of code for my purposes.

    Okay, tried a few things and got really weird results!
    1. You can move a style around inside its group.
    2. You can move a style out of a group "to" another, but it will appear 'inside' that style. I got my test style as a sub-item of [Basic Paragraph], using index #1. With index #0 ([No Paragraph Style]) InDesign crashed.
    3. You can duplicate the style, but then you get a copy in the same group. Still no luck.
    4. Finally! What is the parent of a paragraph style?
    Document | Application | ParagraphStyleGroup
    "Application" is easy -- that's when you make a style global. So what's the difference between 'Document' and 'paragraphStyleGroup'? Simple -- well, when you finally get it...
    pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    moves the style out of the group and to the end of the list in the document. I don't think it's possible to move it directly to a specific position into the main style list -- you first have to move it out of a group, then move it around in its own list.
    Fortunately, it returns its new position as a ParagraphStyle again, so if needed, you can use
    newStyle = pStylesInGroup[j].move (LocationOptions.AT_END, doc);
    newStyle.move (LocationOptions.AFTER, pStyles[1]);
    -- I didn't really try that out, but it should work.

  • How do I handle Style Groups in InDesign Scripting?

    Hi,
    I am relatively new to InDesign scripting.
    I'm trying to map Paragraph Styles to CSS, and it seemed to be working fine, till I came across Style Groups -
    Styles belonging to a group are identified as - Root Style Group name : Child style group name : ...... : Style name
    Because of this paragraph style  <Style name> was not mapping to the TOC style <Root Style Group name : Child style group name : ...... : Style name> and my TOC styles were not correctly mapping.
    I wrote a fix for this in my app, by fetching parent groups and appending to a string - which i check in the TOC style entries.
    Before calling this a FIX, I need to confirm if there are any more hierarchies/represnetations that could be used to represent a Paragraph Style as a TOC style? I don't want to see that a week later I discover something like <Style : Nested paragraph style> as a TOC style and then I'd have to fix my fix!
    Thanks.

    Hi,
    If YourPara is a paragraph style in myDoc and defined inside group of styles named myStGroup
    you can refer to it using:
    myDoc.paragraphStyleGroups.item("myStGroup").paragraphStyles.item("YourPara");
    Jarek

  • FindChangeByList script question, re: when a style is part of a style group

    Hi,
    I'm using InDesign's FindChangeByList script and am running into a problem.
    Here is the problem line:
    grep {findWhat:"^."} {appliedParagraphStyle:app.activeDocument.paragraphStyleGroups.item("Text").paragraphStyles.item("Body2.TextIndent"), changeConditionsMode:1919250519} {includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:false, includeMasterPages:false, includeFootnotes:true} //Change everything to Text.indent2 style
    What I am trying to do is format every paragraph with the style called "Body2.TextIndent" which is located in my style sheets under a group called "Text"
    This line is not working for me; I get a JavaScript  "Error #17. Error string: variable name expected."
    Please note that I CAN get this line to work just fine if I use a style that is NOT in a group. For instance, this line works fine for me:
    grep {findWhat:"^."} {appliedParagraphStyle:"Body2.TextIndent", changeConditionsMode:1919250519} {includeLockedStoriesForFind:false, includeLockedLayersForFind:false, includeHiddenLayers:false, includeMasterPages:false, includeFootnotes:true} //Change everything to Text.indent2 style
    The problem is apparently that the FindChangeByList script doesn't like style groups. I found this by Googling the internet and found this link:
    http://www.listsearch.com/indesign/Thread/index.lasso?17986
    Can anyone help?
    Thanks.

    Kasyan, it works for me now! THANKS! One thing... I notice that in your line, you removed the part "changeConditionsMode:1919250519". Maybe that was the problem? I'm new to scripting. What does that line do? Can I leave it out?
    p.s. I'm using CS4 on Windows XP Pro

  • Another glitch in script using Style Groups

    Hello,
    Everythig was going fine till it started to get complex. I was hoping to adapt a script for cleaning up multiple character styles so that it would work with character styles in a style group, but I get an undefined variable error. Not quite sure how to get round this. It fails on line 3 of the below (this has been simplified for clarity). I'm obviously missing something in terms of defining the Style Group properly as a variable (I get the error "undefined is not an object"). What have I missed?
    var CharStyle = app.activeDocument.characterStyleGroups.item(STYLE GROUP NAME').characterStyles.item['STYLE 1', 'STYLE 2', 'STYLE 3'];
    var myFind = ['(?<=\\w)\\s(?!.)', '(?<=.)[,;:\\.]\\s?(?!.)', '(?<!.)\\s(?=.+)', '(?<!.)[\\s,;:\\.](?!.)'];
    for (var i = 0; i < CharStyle.length; i++){
    app.findGrepPreferences.appliedCharacterStyle = CharStyle[i];
        for (var k = 0; k < myFind.length; k++){
        app.findGrepPreferences.findWhat = myFind[k];
        var f = app.activeDocument.findGrep();
            for (var j = 0; j < f.length; j++){
            f[j].appliedCharacterStyle = myDoc.allCharacterStyles[0];
            f[j].fillColor = f[j].appliedParagraphStyle.fillColor;

    Hi I have figured it out on my own just today coz what apple suggested didn't help much so I just have to do it by myself.
    This is what you need to do:
    open your computer and search for autoplay, it will open rightaway and then scroll down look for your device then change "ask everything" to "import photos and videos in windows" connect your ipad again then tthe import box will open.. and your good!
    i hope this will help you. Good luck! :-)

  • How to delte empty Style Group from paragraph style palette

    Hi Guys,
    I want to delete my empty paragraphStyleGroups folder that are Style Group 1and Style Group 3 (see pic) from my palette.
    I need a js code for this task.
    I have created script but it deletes all the Style group from my panel.
    Here is the script:
    myDoc=app.activeDocument;
    myStyleGroup=myDoc.paragraphStyleGroups;
    for(p=0;p<myStyleGroup.length;p++)
    myStyleGroup[p].remove();
    Please suggest!
    Chang

    You are awesome man.
    It is working as I need. Thanks again Kasyan.
    Regards,
    Chang

  • How to style text with XML import using character style that is in a group (aid:cstyle = "group1"."style1") ?

    Hello, I am using an XML file to import text into InDesign page items. Everything works well using the attribute "aid:cstyle = style1" but since the introduction of InDesign groups, our users want to use them but we do not know how to reference them in the xml attribute.
    I saw somewhere on the internet that you should use "aid:cstyle = group1:style1" or "aid:cstyle = group1|style1" but both won't work. They simply create a new ungrouped style name "group1:style1" or "group1|style1"
    So what is the right formula ?
    Thanks

    Tagged Text is nice but all the copy in your page item is one big block, no way to separate and track individual values, say in your page item you have a description and a sale price, you can't update the price without reimporting the description as well. We use many fields inside an individual page item and just as one example we need to be able to update all prices on the page without modifying anything else that shares the page items with the prices. Also XML updates you can trigger an update for the whole document in one operation, while with Tagged Text you have to "place" your text file for each individual page item you are modifying (even with scripting you call the place function as many times as you have page items). So say you have a page or document with 200 boxes across multiple layers that is a lot of individual actions.
    Anyway back to my problem.
    I've never used Mapping tas to styles before, but running some tests here I clearly don't understand it. If my text is already tagged and I map a style to a tag, it untags all my individual text elements and leaves only the page item tag, and doesn't style my text... I'm going to try and read more on this.

  • Modify publish styles and template.xml for mobile devices

    Looking for lessons learned / recommendations regarding custom styles and edits to template.xml for content being accessed to mobile devices.
    Such as changing "click" to "tap".
    Additionally, any references for use of the "templateeditor.exe" appreciated!

    Create a different framework for your mobile devices.
    You can set different framework pages according to
    User, Role, Group, Bandwidth, URL Alias, Browser Type and Browser Version
    in Rule Collections.
    You can define your own rules in
    System Administration -> Portal Display -> Desktops & Display Rules
    If you are using different users on mobile devices best option is using different Desktops according to Groups otherwise you can use Browser Type or Browser Version...
    Regards
    Abdul.

  • Unmapping styles to remove XML tags

    I have an AppleScript that sets up an XML Export Map for style to tag mapping, using a known set of customer styles, and I'm adding a check for non-standard (unmapped) styles to include those as well as unknownstyle tags. This is all working well.
    What I'd like to do now is create an Unmap script that would remove all style level tags, leaving just frame level tags. The customer is working with K4, and sometimes articles will be reworked after initial processing, or be copied to start a new version of the file. So we'd like tags out for a cleaner file at that stage, which they'll then retag at the end of the editing prior to export.
    While this is easy through the UI (edit style to tag mapping, and choose [Not Mapped] as the target tag for a given style sheet), I can't find any way of doing the same through AppleScript. I have tried setting the markup tag property to "", null, 0, [Not Mapped], and a few other things, without success.
    Does anyone know of a way of doing this, or know if it is unsupported on the script side so I can stop looking?
    Thanks, John

    Hi Marc,
    It looks like that is the way to go. I was hoping to find a way to unmap specific style sheets, since that would be the direct opposite of the process used to add style sheet level tags in the first place. (And the articles also contain frame level tags, which I do not want disturbed by this process.) But while that action is possible through the UI, it does not appear to be supported via scripting.
    However, by looping through and untagging XML elements of XML elements of the main XML element, the result appears to be correct. I'm not entirely clear why this is working, since the second level is not just the frame level tags, but the results look good, so as long as this keeps working I won't worry about exactly why.
    Thanks,
    - John

  • Oracle BI EE 11g – Styles, Skins & Custom XML Messages

    Hi  Friends,
    I want to have  a separate folder  for my skins and styles as Shown in the following post
    Rittman Mead Consulting &amp;raquo; Blog Archive &amp;raquo; Oracle BI EE 11g &amp;#8211; Styles, Skins &amp;amp; Cus…
    How to do this using OBIEE 11.1.1.7.1 because it is using  s_blafp & sk_blafp along with s_FusionFX and sk_FusionFX
    As said in the blog when I create
    c:/obiee11g
    Do  I need to copy all the four folders
    S_blafp ,
    sk_blafp,
    s_FusionFX,
    sk_FusionFX
    I want to change the Oracle log on the login screen and put my company logo and also I have some write back templates I want to save in separate folder as said in blog like c:/obiee11g .. so that they won't get effected when upgrading .....
    Please throw some light on how to proceed..
    Thanks
    OBIL

    Hello OBIL,
    This we can achieve in 7 steps:-
    1. Copy styles and Skins from C:\Middleware_Home\Oracle_BI1\bifoundation\web\app\res (sk_blafp and s_blafp) to C:\OBIEE_SS
    2. Rename these folders to sk_deepak and s_deepak respectively.
    3. Copy WEB_INF from C:\Middleware_Home\instances\instance1\bifoundation\OracleBIPresentationServicesComponent\coreapplication_obips1\analyticsRes to C:\OBIEE_SS
    4. Make modifications in Skins and Styles. As an example I am replacing oracle_logo.png file with my logo in C:\OBIEE_SS\sk_deepak\b_mozilla_4 and C:\OBIEE_SS\sk_deepak\login folders.
    5. Modify instanceconfig.xml (location) file: Insert the following inside ServerInstance tags.
    <URL>
    <CustomerResourcePhysicalPath>D:\OBIEE11g</CustomerResourcePhysicalPath> <CustomerResourceVirtualPath>/OBIEE11g</CustomerResourceVirtualPath>
    </URL>
    <UI>
    <DefaultStyle>deepak</DefaultStyle>
    <DefaultSkin>deepak</DefaultSkin>
    </UI>
    6. Deploy OBIEE_SS as an application directory from Weblogic Admin Console.
      a. Click on Lock and Edit (From Change Center)
      b. From Domain Structure select deployments under bifoundation_domain
      c. Click Install
      d. Select OBIEE_SS folder from path C:\OBIEE_SS and click Next
      e. Select Install this deployment as an application and click Next
      f. Give your deployment a name or keep everything default at this page. Make sure to select I will make the   deployment accessible through the following location and click Finish
      g. Select Take me to deployment configuration page and click Finish
      h. Make sure under target tab you have the Admin Server or BI Server selected and click Save
      i. Click Activate Chnages (From Change Center)
    7. Restart BI Services.
    Do let me know if you need any help in doing this.
    Mark if helps,
    Thanks,

  • Not able to burst report referring to Formula Column in XML file.

    Hello all,
    I am using bursting feature to spit single report to multiple pdfs. All is well when I reference column queried from the database in the xml file but I when I give column from Formula column it is doing coredump.
    XML File contents:
    =====================
    <destinations>
    <!-- Generate a file for each warehouse -->
    <foreach>
    <file id="MyFiles" name="/data/reports/pdf/assrt_terr&amp;&lt;file_name&gt;.pdf" format=
    "pdf" instance="this">
    <include src="report"/>
    </file>
    </foreach>
    </destinations>
    =====================
    The "file_name" referenced in the above is a formula column. If it is replace with a column from the query it works fine. Please let me know if anyone knows if it is a limitation or any workaround?
    Thanks in advance,
    Manohar

    If I can have that in the query I would have not done a formula column. And I do know that it works if the column is in the query. I would like to know any workaround to make it work from formula column.
    I have to take data from sub-group of this query, aggregate it and then concatinate with one of the columns grouped - so i had to use formula column.
    Thanks
    Manohar

  • Styles grouped in .css are not reflected in Paragraph styles in RH

    I'm test driving TCS2 in Windows XP.
    I watched RJ Jacquez' excellent video on FM9 and RH8 integration.  He suggested grouping similar styles in the .css to make it easier to make changes.  I did as he suggested and grouped all of my heading styles together since I want them to have the same look and feel.  However, They are not showing up in Paragraph styles in RH, but under Other.  I'm a newbie to .css, so it's probably something simple.
    Using Dreamweaver, II created a style for all of my headings and named it Heading1, Heading2, Heading3 (exactly what they are called in FM).
    I then created all of the attributes, such as font-family, that I wanted to apply to all of them.
    I then deleted all of the individual heading styles.
    I saved in DW, then updated in RH.  My Heading1, Heading2, Heading3 style is displayed under Other.
    My questions:
    Why is it displaying under Other?
    How do I map my FM settings to the newly created style?
    Thanks for the help!

    Hi,
    In your CSS you have to tell what kind of style you are adding, the so called selectors. You use selectors so the browser (or RH) knows what elements you want to style. My guess is that you simply added the paragraph style names in the css, without use of the selector. You CSS probably looks something like this:
    Heading1 {}
    To solve your problem, change it in P.Heading1. The style will now show up under the paragraphs.
    I'm don’t use FM, but my guess is that you use Heading1 etc as headings in your document. In HTML, you normally use headings for these and not paragraphs. You may want to change the styles in your CSS with h1, h2 etc. You can then map your FM headings to the HTML headings.
    See also:
    ·         CSS info: http://www.w3schools.com/css/default.asp
    ·         HTML headings: http://www.w3schools.com/tags/tag_hn.asp
    Greet,
    Willam
    This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.

  • Font styles in source xml are not set  on footnote text

    Hi,<br /><br />   could some please help. Not sure what iam missing.<br /><br />Iam using the following code to add footnote for each footnote element in imported xml. Iam running the script after importing xml. footnotes are added successfully but the font styles are not applied to the footnote text. The alerts in the code are as expected.<br /><br />Sample XML:<br /><para>This is begin</para><br /><para>Test footnote one follows<footnote id="f0"><para> FN1 This is<italic>italic</italic> and <bold>bold</bold>.</para><br /></footnote></para><br /><para>This is the second section</para><br /><para>Test footnote two follows<footnote id="f1"><para> FN2 This is<italic>italic</italic> and <bold>bold</bold>.<br /></footnote></para><br /><br />Code:<br /><br />var myGlueCodePath = app.filePath + "/Scripts/xml rules/glue code.jsx"; <br />var myFile = File(myGlueCodePath); <br />app.doScript(myFile); <br /><br />main(); <br />function main(){ <br />     var myDocument = app.activeDocument; <br />     if (app.documents.length != 0){ <br />          var myRuleSet = new Array ( <br />          new processParaBold, <br />          new processParaItalic <br />          ); <br />          with(myDocument){ <br />               var elements = xmlElements; <br />               __processRuleSet(elements.item(0), myRuleSet); <br />          } // End With <br />     } // end if <br />     else{ <br />          alert("No open document"); <br />     } // ende Else <br /><br />     var myXMLElements = new Array; <br />     myXMLElements = myGetXMLElements("//footnote"); <br /><br />     if(myXMLElements.length > 0){ <br />          for(var myCounter = 0; myCounter <= myXMLElements.length-1; myCounter++){ <br />               var myXMLElement = myXMLElements[myCounter]; <br />               var myStartIndex = myXMLElement.texts.item(0).insertionPoints.item(0).index; <br />               var myStory = myXMLElement.texts.item(0).parentStory; <br />               var myFootnoteString = myXMLElement.texts.item(0).contents; <br /><br />               myXMLElement.texts.item(0).contents = ""; <br />               var myInsertionPoint = myStory.insertionPoints.item(myStartIndex); <br /><br />               var myFootnote = myInsertionPoint.footnotes.add(); <br />               myFootnote.insertionPoints.item(-1).contents = myFootnoteString; <br />          } <br />     } <br />} <br /><br />function myGetXMLElements(myXPath){ <br />     var myXMLElements = new Array; <br />     var myRuleProcessor = app.xmlRuleProcessors.add([myXPath]); <br />     try{ <br />          var myMatchData = myRuleProcessor.startProcessingRuleSet(app.documents.item(0).xmlElements.item(0)); <br />          while(myMatchData != undefined){ <br />               var myElement = myMatchData.element; <br />               myXMLElements.push(myElement); <br />               myMatchData = myRuleProcessor.findNextMatch(); <br />          } <br />          myRuleProcessor.endProcessingRuleSet(); <br />          myRuleProcessor.remove(); <br />          return myXMLElements; <br />     } catch (myError){ <br />          myRuleProcessor.endProcessingRuleSet(); <br />          myRuleProcessor.remove(); <br />          throw myError; <br />     } <br />} <br /><br />function processParaBold(){ <br />     var myDocument = app.activeDocument; <br />     this.name = "processParaBold"; <br />     this.xpath = "//footnote/para/bold" <br />     this.apply = function(myElement, myRuleProcessor){ <br />          //myElement.texts[0].applyCharacterStyle(myDocument.characterStyles.item("bol d")); <br />          alert("test bold: " + myElement.texts.item(0).contents); <br />          var myCharacterStyle = myDocument.characterStyles.item("bold"); <br />          if(myCharacterStyle != null){ <br />               alert("bold exists"); <br />               myElement.texts.item(0).applyCharacterStyle(myCharacterStyle); <br />          } <br />          return false; <br />     } <br />} <br /><br />function processParaItalic(){ <br />     var myDocument = app.activeDocument; <br />     this.name = "processParaItalic"; <br />     this.xpath = "//footnote/para/italic" <br />     this.apply = function(myElement, myRuleProcessor){ <br />          //myElement.applyCharacterStyle(myDocument.characterStyles.item("italic")); <br />          alert("test italic: " + myElement.texts.item(0).contents); <br />          var myCharacterStyle = myDocument.characterStyles.item("italic"); <br />          if(myCharacterStyle != null){ <br />               alert("italic exists"); <br />               myElement.texts.item(0).applyCharacterStyle(myCharacterStyle); <br />          } <br />          return false; <br />     } <br />}<br /><br />Thanks

    BTW:
    If you add document xml tag map style, the style process can be ignored.
    Then:
    1. Do myStotry.placeXML(justImportedXMLElement);
    2. iterate the backward in justImportedXMLElement: get the footXMLElement, skip children;
    3.
    var myText = footxmlElement.texts[0];
    var ix = myText.insertionPoints[0].index;
    if(ix == 0){ix = 0;}
    var end = myText.insertionPoints[-1].index;
    myText = myStotry.insertionPoints.itemByRange(ix-1, end+1);
    myText.move(LocatcionOptions.atEnd, myStotry.insertionPoints[ix-1].footnotes.add().insertionPoints[-1])]);
    This will be quicker then the upper.
    jxswm

Maybe you are looking for

  • ECC 6.0 Questions on New Business Partner Standard Address Functionality.

    Hello. We are upgrading our client from 4.72 to ECC6.0 and in the UAT testing phase. Where before in 4.72 the Standard Mailing address was determined by a simple radio button, it appears that they have gone to a time dependent type of format which is

  • Image looks grainy in Photoshop CC but not in CS5

    All of my images look grainy int he dark areas in CC, but not in CS5.  Is there a display setting that I'm missing?  Side note, the saved images look fine.  They only look bad in the CC UI. Screen shot of CC Screen shot of CS5 Photshop CC and CS5 64-

  • Photo Stream not synching up

    Have finally updated everything to iCloud and now the photos that are in the Photo Stream on my iPhone are not showing up in the Photo Stream in iPhoto and vice versa.  I have Photo Stream enabled in both places. New photos taken with the iPhone show

  • Updating Problems with CS5

    I'm trying to update my CS5.  Gives me error message, "updates failed to install.  There was an error downloading these updates.  Please try again later."  It does this every time I try to update.U

  • OEG Design for dynamic routing

    Hi, In the current OEG project, we're thinking of best usability of OEG design/development based on the following scenario: The architecture(sychonized transaction): request flow: CLIENT ---> OEG --> OSB respnse flow: OSB --> OEG --> CLIENT We have 1