Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question Generate Sequence in XML

  • peter.tse@semarchy.com
  • peter.tse@semarchy.com's Avatar Topic Author
  • Offline
More
11 Jan 2018 16:24 #1 by peter.tse@semarchy.com
peter.tse@semarchy.com created the topic: Generate Sequence in XML
Hi

How can I generate a sequence number when writing to an XML file?

For example, the first record to have:
<SequenceNumber>1</SequenceNumber>

the second record would be 2
and if the file contained 99 records, the last record is:
<SequenceNumber>99</SequenceNumber>

Regards, Peter
More
17 Jan 2018 12:06 #2 by Thomas BLETON
Thomas BLETON replied the topic: Generate Sequence in XML
Hi Peter,

You can use the "nodeLocalPosition" Xml property field.
www.stambia.org/doc/66-technology-articl...-xml-property-fields

Regards,
Thomas.