The first steps in writing this XSLT is to create the basic structure, containing the prologue (<?xml version="1.0" encoding="utf-8"?>), the description (commented out: Simplified XSLT used to import AFP NewsML wires into the system), and to decide which GN4 you want to create (in this case it's the story object).

The below sample contains also a call to the auto-naming internal function (name="{fn:createGuid()}")

Code

<?xml version="1.0" encoding="utf-8"?>

<!--

 Simplified XSLT used to import AFP NewsML wires into the system

-->

<story

 name="{fn:createGuid()}"

 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

</story>

Note

At this stage, the code is incomplete and will create a story with an automatic name, but no other content.