Your SlideShare is downloading. ×
  • Like
IDEAlliance XML case study
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

IDEAlliance XML case study

  • 586 views
Published

InDesign XMl to HTML Presentation for IDEAlliance Educational Seminars

InDesign XMl to HTML Presentation for IDEAlliance Educational Seminars

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
586
On SlideShare
0
From Embeds
0
Number of Embeds
4

Actions

Shares
Downloads
1
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. IDEAlliance XML Case Study InDesign Tagging to HTML Navigation Presented for IDEAlliance Educational Seminars on June 14, 2011 by: Cathy Palmer Senior Applications Instructor New Horizons of Wisconsin Consulting & Training for InDesign/XML
  • 2. XML Case Study: InDesign Tagging to HTML NavigationApproach XML from the graphic designer’s point of view… Given existing print documents, how do you get XML? Given XML, how to design with it?The hands-on realities of tagging, extracting, using XML starting from InDesign files.IDEAlliance XML Case Study 14 June 2011
  • 3. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research –Pest Management DirectoryExample:scientific reference directoryof detailed data and best practicesfor using pesticides and herbicides ent anagem Pest M Crops in Field g wee ds, inse cts, an g d dise rains ases anagin small e to m s, and A guid forage eans, , soyb in corn 2011IDEAlliance XML Case Study 14 June 2011
  • 4. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research –Pest Management DirectoryScenario:• many authors, uncoordinated content Table 3-11. Fungicides registered for foliar soybean diseases in Wisconsin• no standard tags Trade name Active ingredient Chemical family FRACa Rate/a Remarks Alto 100 SL cyproconazole triazole 3 2.75–5.5 fl oz Do not ex• graphic designer lb ai/a of to organize data per seaso vest. Do n Table 2-13. Fungicides labeled for leaf diseases of field corn (hybrid seed production and grain) an applic Active FRAC Amount of livestock PRINCIPLES OF PEST Trade name ingredient code product/a Remarks tion at th Bravo Weather Stikchlorothalonil Bravo chlorothalonil M5 0.75–2.0 pt M5 1.0–2.0Helminthosporium leaf chloronitrile Common rust, pt Labeled f MGMT Weather Stik grown for seed. For14 days b advance —Do not exceed 12three (9 lb pt/a app within 14 days of harvest. (S more tha Bumper 41.8 EC propiconazole 3 2–4 fl oz Helminthosporium leaf blight. Appl threshing first appears and continue 6 w within on Rusts. Apply 4 fl oz/a when ru Cuprofix Ultra 40 Copper sulfate inorganic M1 0.75–3.0 lb See label on a 7- to 14-day schedule. Domark 230 ME tetraconazole triazole 3 leaf spot, eyespot. Apply 4 app Gray 4.0–5.0 fl oz Make fl o CORNIDEAlliance XML Case Study appears. If14 June 2011 (early po conditions favorab able for d
  • 5. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research –Pest Management DirectoryProcess:• designer to tag the content based on type styles without understanding too much code• export XML and transform with XSLT• create navigable mobile HTML view IND > XML > XSL > HTMLIDEAlliance XML Case Study 14 June 2011
  • 6. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research – Pest Management DirectoryGraphic designerreverse-engineersXML from layout file.Typical InDesignprint layout withtype styles, no tags.IDEAlliance XML Case Study 14 June 2011
  • 7. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research – Pest Management DirectoryPlaceholder paragraphstyles (with no formattingattributes) matching thetable headers are created.Easy to select columnsand apply to the table text.IDEAlliance XML Case Study 14 June 2011
  • 8. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research – Pest Management DirectoryTags created to matchtype styles, and mappedstyles to tags.Table converted toparagraph-delimited text.IDEAlliance XML Case Study 14 June 2011
  • 9. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research – Pest Management DirectoryExport tagged textfrom InDesign as XML.Minor manual cleanup of tags,to be scripted later./* Replace > with >rto add line breaks*//* Replace <chem> withrr<chem> to add line breaks*//* wrap each unit with chem *//* add storyname at top andchemlist as total wrapper*/IDEAlliance XML Case Study 14 June 2011
  • 10. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research – Pest Management DirectoryUse XSL to reshuffleand format the XML.(shown in oXygen XML)Iterate through the tags,populate the text lead-insfrom the column headersfor each entry.IDEAlliance XML Case Study 14 June 2011
  • 11. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research – Pest Management DirectoryXSLT transform convertsthe XML to HTMLflexible enough to handlevarious tag structuresfrom different sectionsIDEAlliance XML Case Study 14 June 2011
  • 12. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research – Pest Management DirectoryCSS (Cascading Style Sheets)formats the HTML tagsJavaScript addscollapsible navigationIDEAlliance XML Case Study 14 June 2011
  • 13. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research – Pest Management Directorymulti-level HTML navigation of text listsIDEAlliance XML Case Study 14 June 2011
  • 14. XML Case Study: InDesign Tagging to HTML NavigationCase Study:Agriculture Research – Pest Management DirectoryBenefits:• Quick access to information• Easy to navigate• Portable to siteDrawbacks:• Static HTML view, not able to actively compare• Not live data, but daily updates availableRisks:• Summary info is not complete• Need to reference complete technical data for chemicals usageIDEAlliance XML Case Study 14 June 2011
  • 15. XML Case Study: InDesign Tagging to HTML Navigation Thank You! Cathy Palmer Senior Applications Instructor New Horizons of Wisconsin Consulting & Training for InDesign/XMLIDEAlliance XML Case Study 14 June 2011