if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
General XMetaL Discussion
»
Autonumbering in XMAX 5.5
Pages:
1
« previous
next »
Print
Author
Topic: Autonumbering in XMAX 5.5 (Read 1238 times)
craig_83
Member
Posts: 36
Autonumbering in XMAX 5.5
«
on:
February 17, 2010, 02:36:02 AM »
I am using counters and autonumbering in my application provided by the CSS.
I know it is unlikely, but is there anyway to include the numbers generated by the autonumbering in the XML output?
Thanks
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1548
Re: Autonumbering in XMAX 5.5
«
Reply #1 on:
February 17, 2010, 03:46:25 PM »
The only way I can think of doing this would be to create a script that fires at the appropriate time and walks the document inserting them as actual content, or by doing this via post processing in XSLT or similar (which is likely the more elegant and possibly simpler solution as you are probably doing a transform at some point already I suspect).
I have seen something similar done to add special numbering into the XML source during editing. Several of our US gov't clients have scripts that insert numbering as part of the XML content both for legal requirements (specific numbers must be fixed for all time to certain sections of legal documents, and they may not necessarily trust auto-numbering to function the same way in all systems) and in at least one case the numbering scheme is too complex to be handled automatically using CSS because they have complex mixtures of alternating roman/arabic/alpha). Unfortunately, as we don't own this code I am unable to share it and it would likely not be the best solution in your case anyway (I really think for most people handling this in post processing is really the way to go).
Logged
craig_83
Member
Posts: 36
Re: Autonumbering in XMAX 5.5
«
Reply #2 on:
February 18, 2010, 02:11:59 AM »
Thanks for the advice.
I think I am going to go with a C# coding option for the application. In any case, I need greater control over the numbering that the CSS option wouldn't have provided.
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...