Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Namespace usage for tables

Tagged: 

Return to Member Forum

  • Author
    Posts
    • #65810

      Hi everyone.

      I am using ID CC and importing some XML. I am trying to get the XML table to import with the correct table style name and cell style names. The import works fine, the table information comes across as a table but the “table style” has not taken and when I place my cursor in any cell, in the Cell Panel, the name is “None”. Can someone please tell me what is wrong with the code in the XML?

      Here is some of the code.

      <Table xmlns:aid5=”https://ns.adobe.com/AdobeInDesign/5.0&#8243; xmlns:aid=”https://ns.adobe.com/AdobeInDesign/4.0/&#8221; aid:tablestyle=”table-1″ aid:table=”table” aid:trows=”15″ aid:tcols=”2″>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”><bold>Source of uncertainty</bold></Cell>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”><bold>Reasons for uncertainty</bold></Cell>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”>Population dynamics are often unpredictable</Cell>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”>Regardless of climate change, the response of species to perturbations including management actions are often unpredictable and at times stochastic (<xref ref-type=”bibr” rid=”R037″>Sinclair <italic>et al</italic>. 2006</xref>)</Cell>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”>Uncertain suitability of any particular (new) climate regime</Cell>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”>We know something about the <italic>realised [climate] niche</italic> of species (at least correlatively via climate space models) but rarely much about their <italic>fundamental [climate] niche</italic> (<xref ref-type=”bibr” rid=”R049″>Veloz <italic>et al</italic>. 2012</xref>).<break/>Species responses may depend on chance events (<italic>cf</italic> incremental change) such as extreme weather, successful dispersals, disease outbreaks, success of locally-adapted populations and genetic mutations (<xref ref-type=”bibr” rid=”R020″>Jentsch <italic>et al</italic>. 2007</xref>&semi; <xref ref-type=”bibr” rid=”R019″>Jackson <italic>et al</italic>. 2009</xref>).<break/>Species responses may depend on change to vegetation/habitat rather than directly to climate&semi; habitat may respond to climate change incrementally, or by rapid state changes at unpredictable climate thresholds, or stochastically.<break/>Species responses may depend on interspecific competition or mutualisms, abundance of predators or prey, or disease or parasites (<xref ref-type=”bibr” rid=”R046″>Tylianakis <italic>et al</italic>. 2008</xref>&semi; <xref ref-type=”bibr” rid=”R047″>Urban <italic>et al</italic>. 2012</xref>).</Cell>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”>Uncertain nature and rate of climate change</Cell>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”>In the short and medium term there is reasonable confidence in projections at global and national scales (subject to emission scenarios) (<xref ref-type=”bibr” rid=”R017″>IPCC 2007</xref>, <xref ref-type=”bibr” rid=”R018″>2012</xref>&semi; <xref ref-type=”bibr” rid=”R010″>CSIRO 2007</xref>) but reduced confidence at the smaller (e.g. regional and local) scales which may be relevant for management (<xref ref-type=”bibr” rid=”R045″>Timbal <italic>et al</italic>. 2009</xref>).<break/>Impacts on temperature and sea-levels are much more certain than impacts on rainfall and other climate variables (<xref ref-type=”bibr” rid=”R010″>CSIRO 2007</xref>).<break/>Uncertainty in climate projections increases with time, and climate may even change state (e.g. reverse) rather than increment&semi; the nature and timing of state changes is particularly difficult to predict (<xref ref-type=”bibr” rid=”R022″>Lenton <italic>et al</italic>. 2008</xref>).</Cell>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”>Climate change is ‘a moving target’</Cell>
      <Cell aid:cellstyle=”tb-left” aid:table=”cell”>We often manage for some fixed historical ideal, which in Australia has implicitly been ‘1788’ (<xref ref-type=”bibr” rid=”R016″>Head 2012</xref>), but climate change doesn’t offer a fixed alternative benchmark</Cell>
      </Table>

    • #65830

      Hi Perry,

      It’s been a few years since I’ve dealt with xml and InDesign, but I believe you just need to change the Cell style and Table style callouts to “aid5” instead of just “aid.” For example:

      aid5:tablestyle=”table-1″ AND aid5:cellstyle=”tb-left”

      I hope this helps.

      Janine

    • #65831

      Thanks for this. Tried it and it works!

      Thanks again.

    • #65832

      Great! I’m glad I could help.

Viewing 3 reply threads
  • The forum ‘General InDesign Topics (CLOSED)’ is closed to new topics and replies.
Forum Ads