RE: What is the best approach for doing.....
Hello Julian, Are you in essence asking: - How can I parse raw text (input from a form or from an application, etc...), searching for an instance of any reference to the index (e.g. 2(i), 2(ii), etc...) and, when found, replace that instance with a hyperlink to the corresponding index? - Suggesting that contained within this text can be any number of references to the index e.g. 3(i), 3(ii), 2(iii) etc... ? If this is not the case can you please clarify a bit more what is? And if it is, yes, this is possible, but your facing a much different type of situation than if you are crosslinking using markup. If you can clarify then maybe we can help you accomplish just what it is you are trying to do. Best regards, <M:D/> -----Original Message----- From: Julian Voelcker [mailto:asp@xxxxxxx] Sent: Tuesday, May 11, 2004 10:00 AM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: What is the best approach for doing..... Thanks for the responses to my query regarding Cross Referencing, I think it will help, however I am still trying to finalise my approach to something and would appreciate some feedback. I am writing a desktop application for creating legal document that basically starts off with merging (transforming) a main template with data (available as XML) to produce an editable document. The user is then presented with the document using a built in editor so they can tweak the layout. During the editing stage they might want to re-process the page to update the table of contents, page numbers and cross referencing. Now I have pretty well decided that the best approach for the merge is to do an XSLT/XML transform, passing the resultant html to the editor. In order to update the cross referencing, can I just take the html out of the editor, reprocess it and pass it back? It is worth pointing out that the number of cross references will vary according to the input data. Does that make sense? Any suggestions? -- Cheers, Julian Voelcker United Kingdom
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format