public final void xmlWriteOn(FormattedWriter writer, String tagName) throws IOException
    {
        Link link = getHead();
        if (link != null)
        {
            writer.newLine();
            writer.startTag(tagName);
            writer.indent();

            while (link != null)
            {
                writer.newLine();
                link.xmlWriteOn(writer);
                link = link.getNextPhysicalLink();
            }

            writer.outdent();
            writer.newLine();
            writer.endTag(tagName);
        }
    }
public final void xmlWriteOn ( FormattedWriter writer , String tagName ) throws IOException { Link link = getHead ( ) ; if ( link != null ) { writer . newLine ( ) ; writer . startTag ( tagName ) ; writer . indent ( ) ; while ( link != null ) { writer . newLine ( ) ; link . xmlWriteOn ( writer ) ; link = link . getNextPhysicalLink ( ) ; } writer . outdent ( ) ; writer . newLine ( ) ; writer . endTag ( tagName ) ; } }
Used when the transactional list is NOT part of a prioritized list.

@param writer
@param tagName
@throws IOException