importing XHTML/CSS content?

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

  1. #1

    Default importing XHTML/CSS content?

    As a consultant I tend to send my resume around a lot. I maintain it as a simple XHTML file, which gets passed through an XSLT transform and some CSS for display on my Web site. A printer-friendly CSS stylesheet tweaks it further when printed. I have another XSLT transform that lets me dump it into Word or a text editor in a simpler format that doesn't get screwed up in the transfer. The advantage here is that I have one master file so I don't need to worry about where I've updated it and where I haven't.

    However, it would be nice to be able to put it into InDesign and combine with my ID-based print letterhead for situations where I'm actually handing it to someone. Is there a way to do this, either preserving the CSS formatting or assigning and replicating formatting to the elements in the XHTML file?
    David_Feldman@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. XHTML 1.0 Transitional
      My site, created in Dreamweaver 8, at present is as simple as you can get: www.sonicavenger.comwww.sonicavenger.com The homepage title and...
    2. XHTML
      Should I convert my doc to XHML? I am getting rather confused. I done it to a doc and then tested it at w3c and had a ton of errors, I had less...
    3. cfgraph and XHTML
      Hello all, I have an XHTML 1 Strict page that includes a cfgraph Flash graphic. I've seen that the HTML code generated is not XHTML: tags are in...
    4. importing XHTML files as XML files
      Hello, I would like to be able to import a well-formed XHTML file (with an XHTML 1.0 Strict or Transitional DTD) into an InDesign document as if...
    5. XHTML / CSS
      First, excuse-me for this out of topic message. I am searching a good mailling-list for people trying to write standard XHTML and CSS. ...
  3. #2

    Default Re: importing XHTML/CSS content?

    InDesign cannot handle CSS.

    InDesign can import XML, though.
    You might get a workflow running with an XSLT that cleans your XML from the HTML-part and imports the resulting XML into an InDesign template, applying paragraph styles etc. on the way.

    Since I have not done this myself I can't be more specific.

    For further info on InDesign and XML, check here: <http://www.adobe.com/products/indesign/xml_scripting.html>

    Gerald
    Gerald_Singelmann@adobeforums.com Guest

  4. #3

    Default Re: importing XHTML/CSS content?

    Thanks, I'll look into it.
    David_Feldman@adobeforums.com Guest

  5. #4

    Default Re: importing XHTML/CSS content?

    If your file is xHTML compliant you should be able to import it directly into InDesign using XML import. The imported XML elements can then be mapped to InDesign paragraph and characters styles via the Tags palette.

    Phil Redman
    pjredman@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