How do I preserve cross reference text when exporting to XML?

I am exporting my Framemaker documents to XML. However, when I open the raw XML, the reference formatting is obviously gone. So instead of seeing, say,  see Figure 6. I now see, see . 
Is there some way to preserve this on export?
Help would be much appreceated!

Josh,
The normal behavior is to have an empty element with the ID/IDRef markup that allows the xref element to be resolved again afterwards, by whatever post-processing step you put the XML through. The text of a cross-reference is a FrameMaker formatting artifact (not unlike a paragraph format, etc.) and is intentionally discarded during export. If you reimport the XML with the empty element, FM will re-resolve the xref, and then will restore the text using whatever format it originally had (the format name is also stored as markup).
If you want to preserve the element tag of the xref, I don't think there is any way to preserve the text, unless you write an import/export API client. You could possibly use an XSLT stylesheet to repopulate the text in some cases, but this seems like a process fraught with many complications.
If you do not care about the element tag, the manual says that you can just unwrap it, then you'll get the xref text. Here is a (rough) snip from the Structure Developers Guide:
Translating FrameMaker cross-reference elements to text in markup
You may not want your FrameMaker cross-reference elements to remain elements in the
markup representation—you can choose to translate them to text instead. To do so, use
this rule:
fm element "fmtag" unwrap;
where fmtag is the FrameMaker element tag for a cross-reference element.
All of this does beg the following question, though... why do you want to do this, especially if the text is referencing figure numbers, page numbers, etc. that have no relevance in the markup? Normally, it is expected that preservation of the markup is the essential thing, allowing the text to be regenerated later by whatever process uses the XML (perhaps including FM). If you drop the element tag, the actual link will be permanently lost.
Russ

Similar Messages

  • How do I select the entire text when the focus is moved to one TextBox?

    How do I select the entire text when the focus is moved to one TextBox?
    There are three TextBoxes.  I use <TextBox TabIndex="1"/> to set the order they are selected.  When I enter one specific TextBox, I would like to have the entire text selected ... one key stroke removes all of the text in that TextBox.
    bhs67

    I do it the following way:
    1.  Override the OnStartup for the application.  Use the following code: (VB.NET)
    EventManager.RegisterClassHandler(GetType(TextBox), TextBox.GotFocusEvent, New RoutedEventHandler(AddressOf TextBox_GotFocus))
    2.  In the event handler use this code (again VB.NET)
    Private Sub TextBox_GotFocus(ByVal sender As Object, ByVal e As RoutedEventArgs)
    _theTextBox = CType(sender, TextBox)
    If setFocusTimer IsNot Nothing Then
    RemoveHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    End If
    setFocusTimer = New DispatcherTimer
    setFocusTimer.Interval = TimeSpan.FromMilliseconds(10)
    AddHandler setFocusTimer.Tick, AddressOf setFocusTimer_Tick
    setFocusTimer.Start()
    End Sub
    Private Sub setFocusTimer_Tick(ByVal sender As Object, ByVal e As System.EventArgs)
    setFocusTimer.Stop()
    _theTextBox.SelectAll()
    End Sub
    What this does is register a handler for every textbox in your application.  This will execute when the GotFocus event is raised and will allow you to do whatever (in this case select all) you want.  A great way of handling things at the application
    level.
    Lloyd Sheen

  • How to Create a Cross Reference of an item  in an E-Business Suite

    Hi ,
    I need Help ,how to Create a cross reference of an item in an E-Business Suite
    Regards
    Srini

    Hello Srini,
    Prerequisite to create a cross reference for an item in eBusiness suite is that the item should be created in the master organization and assigned to your organization.
    Navigate to screen Inventory > Items > Cross references. Enter a name for your cross reference.
    Then, click on Assign : a screen is opened. In this screen, you can enter Item and Cross reference value. Note that a cross reference can be defined for an organization or common to all organizations.
    Another kind of cross reference you can create is Customer item (it defines how a customer designates your item). It can be defined through screen
    Inventory > Customer item > Customer Item and Customer item cross references.
    Please refer to Inventory user guide for more detail about this functionalities.

  • Can someone tell me how many seconds the cross fade is when running your nano in that mode? I teach spin class and want to know how much time I'm losing in that mode.

    can someone tell me how many seconds the cross fade is when running your Ipod 6th Gen nano in that mode? I teach spin class and want to know how much time I'm losing in that mode.

    You aren't losing any time in that mode, but I believe it is a 10 second fade out/fade in.

  • How do I preserve the embedded hyperlinks when printing to .pdf?   I am using Acrobat Pro XI for Mac, and when I export to .pdf the existing hyperlinks lose functionality.   I assume it's just the flick of the right button – I just need help finding that

    How do I preserve the embedded hyperlinks when printing to .pdf? 
    I am using Acrobat Pro XI for Mac, and when I export to .pdf the existing hyperlinks lose functionality.   I assume it’s just the flick of the right button – I just need help finding that button. 
    Can you help?  Thanks!

    How:  MS Word to .pdf by Command P, hitting the PDF button, and then the button for "save as Adobe pdf"
    I didn't have this problem at all on prior versions of Adobe on my PC.   This isn't a Mac attack, is it?

  • Cross-References Text Dropped?

    I'm having a problem with cross-references exporting to XML.  I'm using Frame 8, and I have associated an element as a FrameMaker "cross-reference".  I then go to insert that element and everything seems to work properly (no errors).<br /><br />But then, I open the XML and get something like the following:<br /><br /><l2item><para>Approval for Return to Service Procedures. See <refint<br />    refloc = "RSM0420" reftype = "Heading &#x0026; Page"/>.</para></l2item><br /><br />So, it drops the text of the link and replaces it with a "." and then also does not close out the tag "</refint>".<br /><br />Any ideas of what is going on?<br /><br />Thanks!

    Hi Lynnca,
    The text of a cross-reference is a property of the FrameMaker xref object that is expected to be autogenerated, so it is not included in the markup. The XML version of an xref is similar to the internal FrameMaker model, where you insert an xref an the text is automatically created and controlled internally. An xref saves as an empty element with information about how to find the source and regenerate the text, but no indication of what text was originally displaying when you exported the markup.
    Properly configured, the xref text will autogenerate when you reimport to Frame, so the empty element is OK there. If you are using the XML with some non-Frame post-process, that process will need to accommodate this convention for representing xref links.
    Note that the refint tag is actually closed, as indicated by the trailing slash just before the final angle bracket. This is a shortcut for representing elements with no content.
    Russ

  • Why is a single Cross Reference text turning red after doing an Update?

    After updating a large book in FrameMaker10,  the same cross-reference made in  a couple of chapters is turning to red text.   It is  set as  Heading 2.  I tried to deleted the heading and re-typing it.  I tried to change the style to Body and back to Heading 2 but all references to it are turning to red text after I update the book.  Any idea what is wrong and how do I fix it? I am using unstructured version.  See image.

    Apply a Character Format of Default ¶ Font. Then re-apply the desired Paragraph Format. If the red goes away, it was either a Character Format that had been applied or a local color override. If the red is still there ...
    Look at the Special > Cross-Reference > Format > Definition itself. Look for any <character-format-name> and see if any of those have a red Color defined in their Format > Character > Designer. If so, remove that building block from the definition [Change] [Done] [Replace].

  • Cross reference text anchor source in Word doc

    I'm trying to figure out a way to automatically generate page numbers for a list of courses at the back of a course catalog. The listing is not arranged alphabetically or in the order the courses appear in the catalog, and (right now) the listing is a table. Because of this, I don't think a TOC or Index would work.
    Cross references seem to work, but they're just as much work as turning pages, finding each entry, and typing it into the list. What I'd really like is to be able to use cross-references to text anchors, but have the anchors inserted in Word, before it goes into Indesign. Many of the courses repeat from one catalog to the next. The editor who creates the Word file does so by pasting each course with its description into one big Word file. If the text anchor were in each course to begin with, it would end up in Indesign and I would only have to reference it to generate a page number.
    It seems that Word's Bookmarks come into Indesign as text anchors, but not with their original names. The first bookmark, regardless of its name in Word, comes in named "Anchor". The next one comes in named "Anchor 5" or something like that. I want them to come in with course numbers or some other unique identifier. "Anchor 5" doesn't really tell me anything.
    Any ideas?
    Ken Benson

    Kenneth Benson wrote:
    I'm trying to figure out a way to automatically generate page numbers for a list of courses at the back of a course catalog. The listing is not arranged alphabetically or in the order the courses appear in the catalog, and (right now) the listing is a table. Because of this, I don't think a TOC or Index would work.
    Cross references seem to work, but they're just as much work as turning pages, finding each entry, and typing it into the list. What I'd really like is to be able to use cross-references to text anchors, but have the anchors inserted in Word, before it goes into Indesign. Many of the courses repeat from one catalog to the next. The editor who creates the Word file does so by pasting each course with its description into one big Word file. If the text anchor were in each course to begin with, it would end up in Indesign and I would only have to reference it to generate a page number.
    It seems that Word's Bookmarks come into Indesign as text anchors, but not with their original names. The first bookmark, regardless of its name in Word, comes in named "Anchor". The next one comes in named "Anchor 5" or something like that. I want them to come in with course numbers or some other unique identifier. "Anchor 5" doesn't really tell me anything.
    Any ideas?
    Ken Benson
    Hi, Ken:
    IIRC, Word's cross-references are preserved in InDesign. Have you tried it?
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • Cross-reference failure when converted to PDF

    One of my clients uses FrameMaker 7.1 to author their product documents, and convert everything to PDF before releasing it. I often see problems where cross-references within the document work in FrameMaker, but do not work as links in PDF, even though they show as links and the cursor in Acrobat changes correctly as it should when pointing to a link. I have now encountered a FrameMaker file where the cross-references worked as links in the first revision of a PDF, but a random selection of them didn't in the next revision, even though no changes were made to any cross-references in the original FM file. It's not an issue with my PC or that of the person who generated the files - we have tried the conversion on multiple installations and they all produce the same result. To fix it we've had to locate each failed link in the PDF and put it right manually in the FM source file. Has anyone else encountered this? Any thoughts on the cause?

    DxCooper (not your real name, I guess),
    The rigid approach is to check in the PDF Setup dialog, last tab "Links", whether the option "Create Named Destinations for All Elements and Paragraphs" is selected. This helps but the size of the PDF may increase considerably.
    Another thing which may help, especially (but not limited to) if the documents originally were authored in previous versions of FrameMaker, is the use of what is described in the prose of the above mentioned dialog: Optimize the PDF size by running the described routines once for every file. As far as I remember you can select a book file for that feature.
    HTH,
    - Michael (who feels better, if he can write to people with a name)

  • How to use the Cross Reference fields in P4P

    I have been receiving questions related to the Cross Reference section from many different customers and partners. This post represents my attempt to describe the Cross Reference Section and the Equivalent Numbers stored within.
    Identity
    A term that Kelly uses and I will borrow is “identity”. A given specification can have many identities. The basic identity is the specification number generated by GSM. This is useful during early stages of design. Once we get past a draft or development status in the workflow the organization quickly wants to identify the specification in other ways. Examples include:
    Execution System Number: Operations and Supply Chain quickly need to formalize an item or material for forecasting, inventory and purchasing…
    Custom Numbering Conventions: Sometimes an organization has very specific custom logic for identifying materials. Usually terms like smart numbering are used to describe their methods.
    Data Migration Identifier: In some cases customers have extensive data clean up projects. As part of the effort systems and processes are developed and an identity is created. In my experience we loaded a “Base Stock” number to represent Packaging Materials. The label stock that was commonly used was historically not represented so we created a number as part of the migration project.
    Identity Functionality:
    The Fields: The four major fields that make up the Cross Reference section are as follows:
    >>System Name: This field describes the system generating the identifier. Examples I like to use are Oracle EBS or SAP Material Master. Sometimes geography must also be concatenated to the system, i.e. Oracle EBS – NA. This occurs when the customer is a large multinational where multiple ERP implementations exist. Therefore the same material may be known by many different numbers, i.e. Oracle EBS – NA = 77432, Oracle EBS – EU = 88883.
    >>System Code: The system code is merely the syntax used during integration. Using CSS or various APIs you may chose to identify the system using an abbreviation, EBSNA or SAPMM.
    >>Equivalent: The value representing the identity within a given system.
    >>Externally Managed: If you are using CSS or an API to receive Cross Reference data you can define the field as "Externally Manged". When a cross reference is marked in this manner the general user community will not be able to edit the field. Administrators associated with the role [Externally_Managed_Cross_Ref_Admin] can edit the field if needed.
    Syndication: While some users enter equivalent numbers manually, others use integration tools to generate and transmit identities. If a given cross reference is marked as “Externally Managed” then users are unable to manually enter data. On initial syndication the specification will not have a given equivalent. The specification is sent to middleware, a number is generated by the appropriate system and the response is sent back to GSM to add the System Code to the specification with the appropriate identity value.
    Copy verses Issue:
    >>Copy: When a user copies a specification the Cross Reference data is NOT included. Since the identities refer to the originating specification it does not make sense to carry over to the copy. If we did then users would quickly need to delete the data.
    >>Issue: When a user issues a specification it maintains the Cross Reference data. This is an important concept because it is expected that a system like GSM will have many issues related to a single ERP #. ERP systems are usually not interested in many of the fields stored in the Product Data Management system.
    Reference: As raw materials are consumed as inputs into Formulation or Trade Specifications the organization may come to identify the materials based on equivalent numbers. Therefore GSM allows for an equivalent number to appear next to the GSM number.
    Implementation Issue:  Ingredients In Packaged Quantities
    Some customers run into a situation where the ingredient specification does not represent a packaged quantity. From an R&D perspective the developer does not care if the material comes in a box or a tanker. In this situation the GSM ingredient may be represented in the ERP system by many items and therefore more than one cross reference value. These items represent packaging differences that are important to purchasing, manufacturing, warehousing, and other execution systems.
    I hope this helps describe some of the purposes and implementation issues around the Cross Reference field.

    You need to get jmf.jar in your CLASSPATH, either on the command line, in an environment variable, by putting a symlink in $JAVA_HOME/lib/ext, whatever works for you. Have you done that? Once it's in the classpath, you can run jmstudio from any directory with the command "java JMStudio".
    Items in the bin directory are just shell scripts, run with "sh jmstudio" or whatever suits your shell (on Mac OS X, copy one of these guys and append ".command" to the filename to make him double-clickable in the Finder).
    --invalidname

  • How to make a cross-reference

    Hi,
    I am converting a printed exercise book to IBooks Author. The original printed book has a couple cross-references and we would like to reproduce those in the IBooks version. It would not use page numbers but links to the exercise.
    Format for exercise text...
    Exercise Title
    Muscles Targeted
    Degree of Difficulty
    1) The first cross reference would be by muscles targeted and displayed as follows...
       Main Muscle Group
         Muscle Targeted
           Exercise Title 1
           Exercise Title 2
    2) The second cross reference would be by degree of difficulty and displayed as follows...
       Main Muscle Group
         Degree of Difficulty
           Exercise Title 1
           Exercise Title 2
    1) Can this be automated based on styles or is this a manual process? I have 1200+ exercises to reference, twice.
    2) Can I have multiple hyperlinks (2) to the Exercise Title?
    Any thoughts and suggestions would be appreciated.
    Thanks!

    The problem with CR-ing to the captioning is that then in my body paragraphs the link shows up with the Figure Call (i.e. Figure 5.1, Figure 2.3) and with the caption as well, "...generated LHD matrix and export the specified subselection (as in Section 4.3: Insert a range matrix)."
    I would like it to ideally be "...generated LHD matrix and export the specified subselection (as in Section 4.3)."
    What is this invisible para hidden in a text frame technique you speak of? I'm very new to Framemaker, so the struggles are becoming self-aware.
    Thanks!

  • How to clear the previous  filter text when creating new record??

    Dear All,
    my question is i i created table having filter and sorting.
    when i m searching data through filter text data is coming but i want to clear that text(filter text) when i am creating new record.
    for my case when i am creating new record all blank field is coming but in that filter text box previous data is coming which one i was searching.
    but i need when i will create a new record tat filter text should be clear.
    Thanks
    Damby

    Damby, please tell us your jdev version.
    Check my blog http://tompeez.wordpress.com/2011/10/29/jdev-how-to-reset-a-filter-on-an-aftable/ you can add this to the button you use to create the new record.
    Timo

  • Word 2010 cross references drop when converted into a PDF

    What do I need to do to make my Word 2010 cross references appear as active links in a PDF generated by Adobe PDFMaker?
    I have Adobe Acrobat 9 Pro installed onto my PC.   

    I have 13 documents - "Word 10/AAX (all updates installed)", with many cross-references.
    Links correctly translate to PDF including headings, TOC, websites, and cross-references WITHIN the same document, but cross-references between the 13 docs do not work.
    The PDF shows the colour change, but there is no clickable link.
    I am "Saving as PDF", have checked the PDFMaker settings, and have tried creating the PDF directly from AAX. Please help

  • Repeating row texts when exporting web report to Excel

    Dear all,
    When exporting a web report (including a structure/hierarchy) to Excel (via the 'export to excel button), the row texts (e.g. balance sheet texts) appear twice (column A and B)in the Excel result.
    When using the web context menu 'Export to Excel' this issue does not occur.
    I am using a BW 3.5 system which has been upgraded to support pack 16.
    I assume it is the combination of the structure and the 'export to excel' functionality that does not match up, because when I switch off the hierarchy functionality in the web report query properties, the export to excel does not give me any problems.
    Does anyone know how to solve this issue?
    Thanks in advance,
    Arjan.

    Did you write that software, COTS package called Medgate?
    If not then ask that company for support. No one here would know how to fix it. They are using the CR RDC report engine.
    Thank you
    Don

  • Anti-aliased text when exporting PDF to image

    I need to be able to batch-convert multi-page PDFs to individual bitmap images (one image for each page) with anti-aliased text.
    Photoshop works this way if you open a single PDF, allowing you to select one or more pages to rasterize as separate images, but not when batch processing (specifically, if you use the Image Processor script on a folder of images and PDFs, it will rasterize the PDFs automatically, but it will only do so with the first page of each PDF.)
    Acrobat, on the other hand, automatically creates an image for each page when exporting, and can do this in a batch sequence, but the text is not anti-aliased, making the image look like a screenshot from 1997. No matter how high an image resolution you select, the text is still jagged when you zoom in.
    So, is there a setting I'm missing that will allow the text to be anti-aliased when using Acrobat to export PDF to an image? I am using Acrobat 8, not 9, so something might have changed in the newest version.

    Not sure about Acrobat Pro 8, but in Acrobat Pro 9 (not Extended) you can Export>Image>Multiple Choice: JPEG, JPEG2000, PNG, TIFF.  I used JPEG and under the options in the export dialog box, leave the filename as is to coincide with the PDF filename and then choose Maximum Resolution under File Settings: Grayscale (JPEG, Quality:Maximum); Color (JPEG, Quality:Maximum) . . . skip down to Conversion Colorspace: Determine Automatically and Resolution choose 600pixels/inch for a letter size document.  This will result in a file size of 1.3MB per JPEG image if there is not a lot of information on the page.  I chose a simple header, footer with page numbering, and 5 lines of Lorem Ipsum text.  600dpi is overkill, you can go for 300dpi and still result in a decent image that will be able to be printed on a laser photocopier that is connected to a production computer.  Obviously if you are printing to a laser printer or a high quality inkjet 300dpi will suffice as well for a letter sized document.  But I have been told that 300dpi is not a standard rule of thumb and you must obtain specs from your printer since he/she can calculate by very strict rules the dpi you need for your content.  It depends on whether you have background images such as watermarks and also if your text body contains line-art.

Maybe you are looking for