Sign up now for Client Certification Foundation Course - June cohort!
Pure's logos
Pure Help Center for Pure Administrators

If you are a researcher, or other non-admin at your institution, click here.

  • Home
  • Announcements
  • Release Notes
  • Technical user guides
  • Training
  • Events
  • Support
  • Contact Us
  • Home
  • Knowledge base articles
  • Data Sources and Integrations

How Can We Help?

Search Results

Filter By Category

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Contact us

Use CDATA for Formatting in Abstract Field in XML ImportUse CDATA for Formatting in Abstract Field in XML Import

What

When importing content types with an Abstract field, they may require some formatting of parts of the text, for example in bold, italic, superscript or subscripts, or linebreaks. 

Potential issues would be:

  • the expected paragraph format is required to indicate some chemical component and formula: For example, placing some superscript e.g.  
     
  • paragraph may require some line break i.e. phrase or clause.

How

  • The abstract field in Pure is a field that allows you to use markup and xhtml tags are accepted. Most tags are accepted, but some tags are excluded i.e. script tags etc. The ones that are used for presentation is preserved.
  • The reason for the encoding of the <> is because the abstract is embedded into the XML document, because of that it needs to be escaped or the abstract text should be placed in a CDATA XML section.
  • In documentation at Publication.xsd, the CDATA is enumerated.
XML
 <xs:element name="abstract" type="commons:localized_string" minOccurs="0">
         <xs:annotation>
         <xs:documentation><![CDATA[
         The publication abstract
         It is recommended that this field is wrapped in a CDATA field and that < and > characters are encoded to &gt; and &lt; if they aren't a part of HTML markup in the data.
         ]]>
         </xs:documentation>
         </xs:annotation>
         </xs:element>
        

Note:

  • Webservice or integration processes may strip off the HTML tags if not encoded in CDATA.
  • The symbols < > are not part of a HTML tag so "<" is encoded to be &lt (means less than) and ">" to be &gt (means greater than).

Please be aware that XML parsing in CDATA can get complicated and result in difficult troubleshooting. 

More information

KB-373 How to add hyperlinks in text box 
KB-470 Use HTML to get link color 
w3.org on CDATA 
Note: Some of this information is for internal use only and might not be accessible.

Published at October 24, 2023

Download
Table of Contents
  1. What
  2. How
Related Articles
  • Adding Equipment Id to Bulk Import XML from 5.19 to 5.20
  • Modifying Help Texts for Content Template Types
  • Research Output Synchronisation Options
  • Export Data Story
Keywords
  • bulk import - xml
  • api
  • research output
  • ws
  • ddp

Was this article helpful?

Yes
No
Give feedback about this article

    About Pure

  • Announcements

    Additional Support

  • Events
  • Client Community
  • Training

    Need Help?

  • Contact Us
  • Submit a Support Case
  • My Cases
  • Linkedin
  • Twitter
  • Facebook
  • Youtube
Elsevier logo Relx logo

Copyright © 2025 Elsevier, except certain content provided by third parties.

  • Terms & Conditions Terms & Conditions
  • Privacy policyPrivacy policy
  • AccesibilityAccesibility
  • Cookie SettingsCookie Settings
  • Log in to Pure Help CenterLog in to Helpjuice Center

Knowledge Base Software powered by Helpjuice

Expand