How can I get XML cross-references to translate to Structured FrameMaker?

I've been using Structured FrameMaker from the beginning, and have designed many EDDs, and about 10 years ago I did some translation of SGML into Structured FrameMaker (7.2) which worked well.
Now, (with FrameMaker 10), I've had to design an EDD to translate XML documents into Structured FrameMaker.
In my EDD I've a CrossReference element called XRef; this has an attribute of ID, which in turn has a value of IDReference and has Special AttributeConrols of ReadOnly.
My target elements in the EDD all have an ID attribute with a value of UniqueID.
My XML document's target xref element has  an attribute of linkend, and in XML this works as I'd expect.
When I pass the XML file through the EDD/Template, everything works except that I get an ID = no value, which, of course, results in no display of the cross-reference data in the document.
Oddly, in structured FrameMaker, my element of link, with an attribute of linkend, works as it should, and displays the data.  It may not be important, but the value for linkend is IDReference not UniqueID, and this displays correctly (I changed this attribute's value to Unique ID in my EDD and it made no difference to the XRef value in my document).
After making all these EDD changes, I've been careful to save the changes, import them to all files in my book and finally update the book.   Everything hangs together - except, of course, that the cross-reference doesn't work.
I'd sincerely appreciate any help or advice other users might have because I'm quite frankly stumped.

Russ,
Sorry about the delay in replying; got sidetracked trying to fix some FrameMaker 10 problems; on occasion, it laughs and crashes if we copy an element in a document and paste it to somewhere illegal.  This doesn't happen all the time, but it might be something someone might do, so it was interesting to know.
Anyway, back to cross-references.
In our r/w rules we have:
"linkend" is fm attribute "ID";
Can we also have a similar line under the cross-reference element as:
element "xref"
     is fm cross-reference element "XRef";
     attribute "linkend" is fm property cross-reference id;
     attribute "role" is fm property cross-reference format;
At the moment the second line is:
.....attribute ID is fm property cross-reference id;
I tried adding the attribute "linkend" is fm property cross-reference id; (so that I had both linkend and ID) bit but this made no difference.
In general use cross-references work, in that it picks up data in one place in the document, e.g. WorldWideWeb, and repeats it elsewhere.   So in our xml file we have a link element with an attribute linkend which, when it's processed (ignoring the handshake code used to link the two - which could be something vague like 12345vvdog), repeats whatever is the target.
Conversely, for a cross-reference, in xml they use an xref element which also has a linkend attribute (similar mysterious secret handshake behind the scenes) which is deemed to point to a list of references.   This looks like it might be the stumbling block in that it links to an area in the xml document which is used as an internally generated list of references.  Apparently this is only built when the xml book equivelent is finalised, so is not, like the link and linkend coupling described above.
I've passed this back to the xml people, and they are investigating a different way of preparing their cross-reference to a list of references (I'm now thoroughly confused with all these references - good thing the weekend's just around the corner).
I appreciate all you help and advice, I'll admit that this is a lot more difficult to understand than straight-forward EDD element creation along with their respective attributes.   Life used to be so much more simple back then!
In sum, what I thought I was doing was allowing an ID attribute with a value of IDReference in my elements, this was deemed to allow for FrameMaker cross-referencing.   In Structured FrameMaker, on its own, this works just fine; it all fell flat on its face when trying to import xml.   I tried to see whether the xref element's ID attribute could also be a UniqueID, but as just about everyone has said, this is a silly idea.   I was just trying stuff to see whether it might make a difference - you'll not be surprised to see that it didn't!
For the moment, I have attributes called ID with a value of IDReference, and I understand you're all suggesting to leave it at that.
If I understand correctly, I could eventually use an IDRef attribute if I wanted a UniqueID value to be used, though I'm not sure what a UniqueID is used or useful for, so will file that for future use.
Again, thanks for the advice and help.
Chris

Similar Messages

  • How can I set a cross reference to a Picture

    Hello,
    I have a question regarding the new function: How can I set a cross reference (dont know the exact english name since I use the German version; in German: Querverweis) in Indesign CS4 to a picture? So far, I could only do it with a kind of workaround by putting an invisible text frame above or below the picture and referencing to that one.
    Any suggestions?
    Tschens

    Or put it inside a text frame as an inline graphic. You've basically figured it out.
    Peter

  • How can I get a Visa Reference Number on a Spectrum Analyzer?

    I have a GPIB Address of 18 on a 8593 EM Spectrum Analyzer. How can I get a VISA reference Number for my VI program

    You must have a pretty old version of LabVIEW if you need a session ID instead of just a VISA Resource. If that's the case, you need to first use an VISA Open function in which you specify a resource name of GPIB::18. The open function will return a unique ID that you wire to either VISA Write/Read or a subVI in a driver.

  • How can I get xml data from KM?

    Hi guys,
    how can i get a xml data from KM?
    I saved an xml document in KM, and I want to read its content. How can I get this document?
    Using
    DocResource = (IResource) resFactory.getResource(RID.getRID("Document/ Path"),resContext)?
    I want to know which kinds of API of KM are responsible for this.
    Thanks in advance
    Regards,
    Liying

    Hi Liying
    use this code.
    try {
                   IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
                   IUser sapUser = wdClientUser.getSAPUser();
                   com.sapportals.portal.security.usermanagement.IUser ep5User =
                        WPUMFactory.getUserFactory().getEP5User(sapUser);
                   IResourceContext resourseContext = new ResourceContext(ep5User);
                   IResourceFactory resourseFactory = ResourceFactory.getInstance();
                   RID pathRID =
                        RID.getRID(
                             "/documents/"(Path to folder where ur file is"");
                   ICollection collection =
                        (ICollection) resourseFactory.getResource(
                             pathRID,
                             resourseContext);
                   IResourceList resourceList = collection.getChildren();
                   IResourceListIterator resourceListIterator =
                        resourceList.listIterator();
    while (resourceListIterator.hasNext()) {
                        com.sapportals.wcm.repository.IResource resource =
                             resourceListIterator.next();
    try {
                             /*File from KM Reading*/
                             InputStream in = resource.getUnfilteredContent().getInputStream();
                             ByteArrayOutputStream out = new ByteArrayOutputStream();
                             byte[] buffer = new byte[4096];
                             int bytesread = 0;
                             while ((bytesread = in.read(buffer)) != -1) {
                                  out.write(buffer, 0, bytesread);
                             String dataToBeConvertedToXML = out.toString();
    catch(Exception e){}
    catch(Exception e){}
    Award points if found usefull.
    I suppose you have used KM sharing reference in ur application
    Regards
    BP

  • How can i get xml data from html

    Hi
    i need to submit data from an html form to server via xml.
    ( ie data shold be in xml format instead of POST/GET methods )
    how can i can i make this happen ?
    Renjith.

    read the excellent suggestion from mochamaniac (reply 2 of 5): http://forum.java.sun.com/thread.jsp?forum=34&thread=303120
    ps. next time run a search on the forum prior from posting ;-)

  • How Can I Avoid Losing Cross-References?

    We have multiple .book files that contain multiple .fm files, many of which contain cross references. Is it possible to work with those files outside of their network location (i.e from a flash drive) without losing the cross references? My employees frequently take work home or work remotely; however, we do not have remote access to our network, so they either e-mail the necessary .fm files or save them to a flash drive to work from. But when they return to the office and "save as" those files, the cross references become unresolved. Is there a way to avoid this?

    > They are taking single .fm files home with them ...
    How are they "taking" them?
    Safe way:
    Save and close all files on the office system.
    Use file browser or command line to copy the files of interest to the transport medium.
    Open the files at home, edit. Do not attempt to fix any broken Xrefs.
    Save in place at home (not to transport medium)
    Copy to transport medium.
    This preserves the original filepath references, which should survive the trip even though unresolved at home.
    Fail ways:
    Save to transport medium at office, and.or
    Save to transport medium at home.
    Doing this re-writes the Xref filepaths relative to the current directory hierarchy. Unless you mimic the office tree at home, doing either of the above will make some or all Xrefs unresolved.
    When you save an FM document to a new filepath, it revises the <XrefSrcFile 'filepath'> data structures to point to the new locations of Xrefs (and other imported content) relative to the new location. If you don't want this to happen (sometimes you do, sometimes you don't), then copy or move the closed document.

  • Preserving Chapter Cross References when going to Structured Framemaker

    Hello,
    I am trying to preserve all of my cross references that link from chapter to chapter, within the same book. If I convert files one at a time, then FrameMaker has trouble finding the link in the destination chapter - because that chapter has not yet been converted to Structured FrameMaker.
    I have not tried Batch Processing, but I am sure I would get the same results.
    With that said, what must I do to these external chapter cross references, so that they convert over to Structured FrameMaker?
    Thanks in advance for your response.
    Regards,
    Jim

    Jim,
    Like Russ, I have had to redirect the cross-references manually following conversion; HOWEVER, I have also noticed that existing IDs in the unstructured version seem to get put into the converted element as an attribute. In other words, if my EDD defines a Title element with an Id attribute and the unstructured document contains a title paragraph that is the target of a cross-reference, then upon conversion the corresponding Title element has TWO attributes, one is named Id and the other ID. Id has no value, but ID does. The structured document does not validate and I have to delete the ID attribute to make it validate.
    This leads me to believe that had I named the attribute ID in my EDD, then it would be assigned a value upon conversion; however, I have never tried this. If I had, FrameMaker would likely create the Title element with two attributes, both named ID!!!
    Take it for what it is worth,
    Van

  • Calc: How can I get absolute cell references in tables to work?

    Hi, I'm new to Star Office, and have run into a problem in my first spreadsheet.
    I have a data table in my spreadsheet.
    Some cells in the table need to make calculations based on other cells in the table.
    When I sort the table, however, the cell references are made to be incorrect. I expected that I could just use absolute references (e.g. $A$2) and when the table was sorted those references would be updated to refer to the new absolute location of that cell, e.g. $A$10). However, the absolute references are being left literally the same ($A$2) after the sort, making them reference a different row of data than intended. Relative references of course don't work in this situation either (I tried for thoroughness). (I thought Excel behaved the way I expected, but I just tried it in Excel 2007 and it is exhibiting the same behavior as StarOffice Calc.)
    I'm also concerned, although I haven't tried it yet, about what will happen when I reference cells in this table from another table using absolute references that the same problem will exist...
    So basically, I can't find a way to use absolute references to cells in a table that will persist correctly when the table is sorted. Any suggestions?
    Thanks. Asa
    Edited by: earthasa on Sep 20, 2007 2:37 AM
    I was able to work around the problem by creating an index column in the table with a unique number for each row of data and using vlookup() to reference the correct row. If there is a more elegant solution I'm still interested :)
    Edited by: earthasa on Sep 20, 2007 3:00 AM

    OK. Think I've got it now thanks to looking at the short keys and searching for "Full Screen".  The upper left key is "`" which looks like a grave - a slightly angled single quote. But when I look at the "Application" setting for Toggle full screen it is set to "'" - a "normal" single quote.  Sure enough, if I hit the normal single quote key the toggle works.
    I have not been anywhere near the hotkeys and can't imagine why anything would change it from a grave key to a single quote - especially as they look almost identical on the screen.  I'm guessing that Adobe changed this (maybe only for international users?)
    Anyway I now know how to toggle full screen, although it makes the "Premiere" keyboard with its big purple key for "Toggle full screen" redundant.  Does make me wonder what the shortcut key of "'" or CTRL + "'" gives that I'm presumably missing since it appears to have been remapped.

  • How can I get all of my graphics to import from FrameMaker?

    I am evaluating Robohelp HTML version 9, which I'm considering using for single-sourcing FrameMaker 7.1 files.
    I imported my FrameMaker files, and only 2 out of 75 graphics were imported.
    The results window shows that all FM files were imported successfully.
    However, in the Project Manager, only these two files appear.
    The graphics are BMPs, the same as all the other graphics.
    Everything about them seems to be the same as all the other graphics.
    So I prepared a TEST FrameMaker file. I placed the two graphics that had imported successfully first, along with a selection of the other graphics. Guess what? All of the graphics imported successfully into RH.
    Feeling optimistic, I imported my FrameMaker project into RH again, using the same TEST RH project. Guess what? Only the two original graphics appeared and no others.
    Can anyone help me solve this mystery?
    Thanks so much!

    Sounds like an issue with an individual graphic, not with the process itself. If the 2 successful graphics are the first or last in your project, I'd start testing by importing the graphics in closest proximity...otherwise you may have to import in batches to find the offending file.
    If you have a graphic in a format other than that of the "successful" graphics, you may want to test that format in particular.
    One thing to consider: As I'm sure you know, any missing resources (fonts, graphics, xrefs) and any errors in updating your book will keep FrameMaker from operating smoothly. If you are sending FM info elsewhere (PDF, HTML, Help) then these subtle deficiencies can cause problems with info sent out of FM as well. "Fix" your FM files and you might solve seemingly unrelated issues elsewhere.
    *Note: You mentioned you're testing single sourcing...FM7 files will require import to RoboHelp. With an eval copy of TCS3, you'd be able to create a link to FM10 files, allowing you update the RH9 via the FM10 files. It is a similar process, but by linking, you'll eliminate the importing and/or post processing of the HTML and significantly reduce the time needed to update your RH content.
    Also, when purchasing Adobe product, consider Suite purchases and maintenance contracts...I save tons of USD by doing this. See the math at http://blogs.roundpeg.com/2009/12/strategies-for-purchasing-adobe-software/
    -Matt

  • How can I get the English version of Photoshop?

    I have a creative cloud membership, and I lilve in Norway. Most apps are not available in Norwegian, and that's fine with me - I want to use the English version anyway. But Photoshop defaults to Norwegian, and there's no other choice in the Photoshop settings. How can I get rid of the badly translated Norwegian version, and get the English version where I can understand what everything means?

    Windows 8 - Norwegian.
    The Application Manager is still in Norwegian, even after I changed the language preferences. And now the Application manager shows all the apps except Photoshop and InDesign as not installed. I guess I'll have to uninstall and reinstall all apps for the Application Manager to realize that the apps are actually installed.
    But I'm happy to do that as long as I can work in the English version where I understand what the tools do. :-)

  • How can I get command values from a VI executed by reference ? NEWBIE

    Hi,
    I'm running a sub-vi in a "Secondary Front Face" (excuse for the
    translation if not correct, I'm working on a French version). In order
    to run this VI, I pass a reference. All is working fine but I don't
    know how can I get the values entered by the user in this VI ?
    Actually I run a main VI wich contains a "Secondary Front Face" (this
    SFF is contained in a tabbed pane). In my diagramm, I pass a reference
    to another VI (by the name of the file *.vi). If my user enter a word
    in a text field, I would like to be able to get it in my main app.
    Thanks for your help.

    Hello,
    You might take a look at the following tutorial for more information about calling a VI by reference. It's got some great visuals and examples.
    Tutorial: Calling a VI by Reference
    You might also consider just calling the secondary VI as a simple subVI, if you can spare the memory space when loading the main application, as this is the easiest way to input and output VI values.
    I hope this helps! Please let me know if I can be of any further assistance.
    Liz F
    National Instruments

  • How can I get the XML structure from a flat structure?

    Hi all,
    in my XI SP 12 I use a JMS adapter to read information using the WebSphereMQ transport protocol.
    The structure that I receive have this format:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value>
    <NumberRecordType_B><NumberRecordType_c>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    <Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    the problem is that in this structure each line is not separated by a carriage return or a comma, I have all the information in a single line:
    <Name_A.KeyFieldValue><Name_A.fieldName_A1_Value>...<Name_A.fieldName_AN_Value><NumberRecordType_B><NumberRecordType_c><Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value>...<Name_B.KeyFieldValue><Name_B.fieldName_B1_Value>...<Name_B.fieldName_BN_Value><Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>...<Name_C.KeyFieldValue><Name_C.fieldName_C1_Value>...<Name_C.fieldName_CN_Value>
    and the customer don't want to insert a line separator.
    Then, the question is:
    How can I get the XML structure from this structure?
    If possible, I don't want to develop new Module and add it in the JMS Module Sequence.
    PS I have already read the article "How to Use the Content Conversion Module with the XI 3 J2EE JMS Adapter.pdf" and it doesn't seem to help me.
    Best Regards,
    Paolo

    To get context parameters from your web.xml file you can simply get the ActionServlet object from an implementing action object class. In the perform (or execute) method make the following call.
    ServletContext context = getServlet().getServletContext();
    String tempContextVar =
    context.getInitParameter("<your context param >");

  • How can i get my items to stay in place and not cross over each other when readjusting the browser s

    How can i get my items to stay in place and not cross over each other when readjusting the browser size.
    Basically on my site when i go from a small screen to a big screen everything doesn't adjust to the screen size. I don't know what im missing
    Here's the link to the page all the pages & they all do it
    http://theatricalworkslive.com/
    Thanks in advance

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem.  Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Post for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • How can I get a reference to the Local interface of a EJB 3 session?

    Hi,
    How can I get a reference to the Local interface of a EJB 3 session?
    My session implements both the local and remote interfaces, so in my client, when I look up the remote interface using the following code, I did get a reference
              processor = (IItemProcessorRemote)initialContext.lookup(IItemProcessorRemote.class.getName());but if I also look up the local interface in th eclient using this:
    processorLocal =(IItemProcessor)initialContext.lookup(IItemProcessor.class.getName());I got errors like the following, do you know why? Thanks a lot!
    Exception in thread "main" javax.naming.NameNotFoundException: sessions.IItemProcessor not found
         at com.sun.enterprise.naming.TransientContext.doLookup(TransientContext.java:203)
         at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:175)
         at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
         at com.sun.enterprise.naming.RemoteSerialContextProviderImpl.lookup(RemoteSerialContextProviderImpl.java:116)
         at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:121)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:650)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:193)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1705)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1565)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:947)
         at com.sun.corba.ee.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:178)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:717)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:473)
         at com.sun.corba.ee.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1270)
         at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:479)

    BTW, findItemByTitle(String title) is a business method in my ItemProcessor session bean.
    public String findItemByTitle(String title) {
              AuctionItem item;
              String result = null;
              try {
                   Query query = entityManager
                             .createNativeQuery("SELECT i from AuctionItem i WHERE i.title LIKE : aTitle");
                   query.setParameter("aTitle", title);
                   item = (AuctionItem) query.getSingleResult();
                   result = item.toString();
              } catch (EntityNotFoundException notFound) {
              } catch (NonUniqueResultException nonUnique) {
              return result;
         }

  • How can i get the reference to Controls from VI-reference

    Hello,
    i have a VI with ~5 controls on it.
    And with the Object "Current VIs path" and "Open VI reference" i can create a reference to the current VI.
    How can i create now a reference to the controls? (Starting with VI-reference?
    Of course i know how to create directly a reference from a control.
    My idea wasm that there areperhaps properties like:
    - Number of controls
    - Name of control
    - Type of control (string, bool. number...)
    Is this somewhere there and i just dont find it?
    Thanks for your help

    Once you have the VI Refnum, it's a two-step process. Wire the VI Refnum into a property node and get a reference to the Front Panel. Output the Front Panel reference into another property node and select the property Controls[ ], which outputs an array of references for all the controls on the front panel.
    Message Edited by Jarrod S. on 04-20-2007 11:06 AM
    Jarrod S.
    National Instruments
    Attachments:
    get_ref.PNG ‏5 KB

Maybe you are looking for

  • Spread Preview Issue - left page only

    I'm in the catalog/magazine racket and just starting using InD 5.5 along with Bridge 5.1 When I save/convert documents from CS3 InD to 5.5, the preview in bridge 5.1 only shows the left hand page in my document. There is also a little chain icon in t

  • Indesign not recognising zapf dingbat in character styles

    Hello, I wonder if you can help me. I'm formatting a document and i want to put in some bullet points(there are a lot of them!). I've been trying to create a style for the bullet points in character styles. I've formatted them as a zapf dingbat and c

  • Using an independant presentation table error

    Hi all I'm building a repository with The administration tool of OBIEE. the data source is an Oracle 10g datawarehouse created with OWB. I have a currency table wich is used just for reporting it doesn"t have any physical link to any table. I want to

  • Formating in a CrossTab - dollars vs percent

    I have a cross-tab in which I have added two additional calculated columns to show the difference between the two previous columns.  One column shows the difference in dollars (since the previous columns are in dollars). The second column shows the d

  • MIddleware CRM Problem

    Hi, Gurus, I am facing the following error in the crm system 1.Partner 0000104177(46D94194EBA06646E1000000AC15153C): the following errors occurred Message no. BUPA_MW_EXCHANGE010 2.Customer group 3 225 is not available; enter a valid customer group M