UNIVERSITY OF WISCONSIN River Falls

Documentation

XML Element

XML import is a simple solution to share text from one page to another page. In summary you will create an XML feed of a text block that resides on an "orginating"  page and then place the feed on a "receiving" page.  When the original text block is updated the change will be reflected.  You need to have permissions turned on to use the XML element.  Contact DoTS.

Establish the XML Source Text

Create a regular Formatted Text Block and save it.

Click the gear of that Text Block and click "More..."

Select Manage XML Publications

Manage XML

Click "Add XML Publication."

XML Manage

The XML assigns a URL to the text block that you want to repeat. That URL is entered in the "Name" area as shown in the next image. So the name follows the same rules as pages - no spaces or special characters and it should be short, descriptive, and unique.

Add a description that tells you where this is being used (the other page where the content will appear) just as a reminder.

Add XML

Detailed, Detailed.  Click the two selections that are both "detailed" and then "Next" and then "Save".

XML Step 1

Once the XML is created, click "detailed" to produce the URL and html code.

XML Click Detailed for URL

Highlight the URL then use your keys (Control-C) to copy it.

XML Select URL

That's all on this page. Don't copy anything else, or else save what you've copied to a text document for later use. You'll need that URL on the other page where the content will be displayed.

Create the XML Reader

On another page, insert a new element and choose XML Reader from Miscellaneous Elements.

XML Reader

This may produce an error message, if it does, just ignore it and click the gear.

XML Error XML Error Click Gear

Click "New Data."

XML New Data

Paste the URL that you have copied into the field and "Save."

XML Paste URL

You will see the text from the source page appear in your XML Reader element.

Contact Us

Division of
Technology Services

160 Davee Library
715-425-3687
dots@uwrf.edu