XML tags to format mapping

Ask a Question related to Adobe Indesign Windows, Design and Development.

  1. #1

    Default XML tags to format mapping

    Hi All,

    When I try to map a tag (an element enclosing subelements) to a paragraph format, the subelements are treated as paragraph as well.

    For example, I wanted to add a horiz. ruler below each paragraph and ended up having a ruler after each (text)row...

    Any Suggestions?
    Maximilian_Gaerber@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. write xml in TAgs format without a middleware?
      Can anybody explain the best practice or publish the code example to update an xml structure from flash ? using xmlconnector, datagrid, dataset,...
    2. How to treat template tags as comment tags?
      Hi all, I am using DW MX to edit templates for a FreeMarker application. The template tag fromat is like so: <ul> <#list birds as bird>...
    3. Placing an image in a Tab Fixed format without messing up the format??
      I will do my best to explain the problem. First of all, this is an XP machine and I am using CS InDesign (the version of InDesign that one can...
    4. Problem overriding render method to format literal content of nested tags in custom control
      Peter, I was under the mistaken impression that I was already overriding CreateChildControls to create the controls with the code: protected...
    5. Using ParseChildren attribute to load child tags - VS removes tags
      I am building a poll control, nested in the tag I have child tags to setup the poll options. Everything works fine, but when I edit a property in...
  3. #2

    Default Re: XML tags to format mapping

    Sub-elements that are to be inline elements within a paragraph should be mapped to a character style--not a paragraph style. Super-elements that enclose paragraph elements should not be mapped to any style at all as they don't represent text.

    Phil Redman
    pjredman@adobeforums.com Guest

  4. #3

    Default Re: XML tags to format mapping

    The problem I face is the otherway. When I mapped two peer elements to two different paragarph styles, they appear together as inline elements. They are treated as separate paragraphs, only when I insert a line break between the elements in XML file before importing.

    Any ideas?
    Manikandan_Surendranath@adobeforums.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139