Quantcast
Channel: Adobe Community : Popular Discussions - FrameMaker Structured
Viewing all 66580 articles
Browse latest View live

Conversion of the highest valid element passing attributes?

$
0
0

Hello,

 

Question. I am trying to convert a large book. I would like to assign some attritubes to the highest valid element.

 

My conversion table looks like this:

 

RE:RootElement

Document[SpecTitle=”titlehere”
& SpecNumber=”XXXXX”

& Revision=”A01”

& ChapterName=”??”]

RE        

 

After the conversion, the root element is red with the attributes assigned. When I change it to the same root element in my element catalog all the attributes disappear.

 

Is it wrong to want to assign attributes to the highest valid element (root element)?

 

If it is "legal" to assign attributes is there something wrong with my conversion table?

 

Thanks for any help!

 

Margaret


ATA iSpec 2200 CMM book validation

$
0
0

Hi all,

 

I am a technical writer and I am new to structured authoring.

 

I have a structured CMM for a component with ATA number 11-22-33 (example). Taking Source files of this CMM, i have to create a new CMM whose ATA number is 11-22-34. Contents of both CMMs are similar except some minor changes.

 

I have made all the required changes and now I am facing a problem with MTOSS Numbering.

 

I have to update ATA Number as 11-22-34 for TASK and Subtask level, but there is no Element Attributes for chapno, subno, secno. for TASK and Subtask

 

I have updated Book level attributes as chapno=11, subno=22, secno=34, but it is not reflecting throughout CMM pageblocks.

 

How can I change the attributes as chapno=11, subno=22, secno=34 for TASK and Subtask.

 

Please help me in this..

XSLT to convert XML into Tables

$
0
0

Hi,

 

I'm trying to import my XML data into a table format. After adding an XSL file to my Structure Application as a Preprocessing Stylesheet, and importing my XML instance file with the Template file opened, the "Unknown File Type" error window appeared asking for a file format to Convert From. Picking any one doesn't create a table.

 

The XSL file tranforms the XML data into an HTML file that has a table with columns corresponding to the XML data. I was thinking using that type of XSL because it renders tables.

 

Below is the XSL markup:

 

<?xml version="1.0" encoding="ISO-8859-1"?>

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

 

<xsl:template match="/">

  <html>

  <body>

  <h2>Products</h2>

    <table border="1">

      <tr bgcolor="#9acd32">

        <th>Title</th>

        <th>Number</th>

        <th>Date</th>

      </tr>

      <xsl:for-each select="Products/Product">

      <tr>

        <td><xsl:value-of select="Title"/></td>

        <td><xsl:value-of select="Number"/></td>

        <td><xsl:value-of select="Date"/></td>

      </tr>

      </xsl:for-each>

    </table>

  </body>

  </html>

</xsl:template>

</xsl:stylesheet>

 

Title, Number, and Date are child elements of the Product element, which is a child element of the Products root element in my XML file.

 

Am I applying the stylesheet correctly here? Am I using the write kind of stylesheet?

 

Thanks,

zeb

How to get the Figure Title to appear below the graphic, not above

$
0
0

I have valid XML that I am importing into FrameMaker just for printing.

 

My <figure> element contains a <title> and a <graphic> element. The graphic comes in within an anchored frame, appearing after the figure title. The figure title needs to be below the graphic. How do I get this to work? I read a couple of threads that used tables to wrap the graphic & the title and to make the title appear below, but that was during an export function to XML, not an import. Short of editing the DTD, EDD & all of the XML data to have the graphic element structure come before the title within <figure>, how would this be accomplished? Thanks in advance.

External cross-ref to another FM topic with and ?

$
0
0

FM11

DITA 1.2

 

I'm trying to determine how to do a cross-reference to another FM topic using the [x-ref] element and a [keyword].

What I've done:

* I've inserted a [keyword] in the [title] element of the topic that I want to cross-reference *to*.

* In the DITA Cross Reference dialog box, I've checked the Refer to Key check box and typed my keyword that I just entered into the textbox.

* In the DITA Cross Reference dialog box, I've checked the Refer to File check box and browsed to my cross-reference *to* file.

* From the Element Tags list, I selected keyword.

* I checked the Show All check box under the Element Data [id | content] list.
   My cross-reference *to* file id appeared.

* In the Display Using Format drop-down list, I selected the format I wanted (Heading Only).

* I clicked External Xref.
   The DITA External Xref dialog box appeared. Here's where I can't find any information about what to do.

* I un-checked Xref Target(href).

* I checked the box next to the Refer to Key field and typed my keyword in the textbox.

Marsha
* In the LinkText field, I typed what I want to appear as my link text, let's say My Link.

* I clicked OK.

I get what looks like a good x-ref with my link text. But when I click it, it just opens Windows Explorer.

What am I missing?

Control table row or cell formatting via EDD context rules?

$
0
0

Hi...

 

I think I know the answer to this, but is it possible to control table row or cell properties (like shading, padding, borders, etc) through context rules in an EDD? I'm not aware of any way to do this, but thought I'd toss it out there to be sure.

 

Would love to hear that I'm wrong.

 

Cheers,

 

...scott

How do I convert hypertext links to DITA?

$
0
0

FM 11 checked into Vasont and then turned into a PDF via the DITA OT

 

We are using a combination of conversion tables and a few scripts to convert our legacy documentation to DITA. In some books we have a significant number of hypertext links. Currently the hypertext links are coming across with a page number and we don't want the page number.

 

Example of what we get::

General on page 6-1 - Where you enter the name of blah blah

Code on page 6-4 - Where you create the code stuff

Preview on page 6-8 - Where you can view a preview of other stuff

 

Example of what we want::

General - Where you enter the name of blah blah

Code - Where you create the code stuff

Preview - Where you can view a preview of other stuff

 

Note that we are using the OTK to generate our PDFs as required by our parent company. We convert our FrameMaker files, validate them, check them into the Vasont CMS, and create the PDF from the CMS.

 

TIA,

 

Marsha

Stop FrameMaker resizing images in DITA?

$
0
0

I'm using FrameMaker 12 to edit topics in DITA. Unfortunately when I add an image, FrameMaker re-sizes it. I want to stop it doing this, but I can't work out how. It looks like FrameMaker correctly reads the image size in pixels, but adds the width and height in pt not px. For example, I have a 602px by 265px image that gets added to a DITA topic as the following:

 

<image href = "adobe.png" height="265.000px" width="602.000px"  />


XML Attributes Created Twice in the XML after Saving in FM

$
0
0

Hi All,

 

I've built a structured application to read and write a custom XML. The file is opened just fine. However, when saving the XML in FM, some XML attributes appear in the XML twice. For example, in the original XML I have the following:

 

<object_group doc_name="xxx" parsed_by_sym="false">

 

...

 

</object_group>

 

After I save the XML, it looks like this:

 

<object_group doc_name="xxx" parsed_by_sym="false" doc_name="xxx" parsed_by_sym="false">

 

...

 

</object_group>

 

After the XML is saved, FM refuses to re-open it aborting the parsing. If I remove the doubled attributes manually in Notepad, then the XML is opened in FM again.

 

Should I define anything in read/write rules? What am I doing wrong?

 

I'm using an XSD, which I defined in structapp.fm.

 

Thank you very much!

Problem import/view svg with FM11 (Win7)

$
0
0

Goodmorning,

First sorry for my english.

I have a big problem with the new version of Framemaker 11.

 

if I create an xml connecting the external svg (created in Illustrator) Framemaker with version 11 (Windows 7), raster images inside the svg are not displayed in the preview, only text and vector files.

If I try to open an xml file created with version Framamaker like 9 or 11 on windows XP the element "stepimage" with whom I connect the svg are no longer present on the tree.

If I insert again the stepimage tree, they become disproportionate size.

In fact, opening them with Illustrator CC dimensions have changed (I have not edited the picture.)

However, still do not appear raster files.

 

I hope someone can help me.

 

Thanks

 

[Discussion moved to Structured FM by moderator]

What is the cost level of EMC Documentum or MS SharePoint?

$
0
0

I just want a general idea about the cost level, no need to be detailed. Because I understand the enterprise-level software has complex price calculations.

FrameMaker 12 won't startup

$
0
0

Hello,

 

I'm running FrameMaker 12 on Windows 7.

When I startup the program, I must select one of the follow three.(in 'Choose Interface' window.)

- FrameMaker

- Structured FrameMaker

- FrameMaker XML Author

 

Unfortunately, after clicking 'Structured FrameMaker' or 'FrameMaker XML Author', error is occurred.

Error message is follows.

- Internal Error 12004, 23459156, 23459450, 26389685. FrameMaker has detected a serious problem and must quit.

 

 

 

Please, I hope that I receive a good solution.

 

Best Regard.

Running header/footer background color from XML attribute

$
0
0

I'd like to set the background color of running headers and footers, based on an attribute from an element in my imported XML-file.

Basically what I want is to have different colors of headers or footers for different chapters in the book (catalogue).

 

Is there any way to do formatting like this from the EDD or rules? Or is there some other way to achieve a similar result?

 

[Moved to Structured Forum by moderator]

Building the EDD

$
0
0

In making an EDD for a book where one file might be a chapter (or appendix), is the

Element (Container): Chapter

Valid as the highest-level element?

 

or is only the whole book (FrameBook) valid as the highest-level element?

 

 

Using Frame 12.

 

[Discussion moved by moderator]

FrameMaker SDK Question: How to read an XML file

$
0
0

Hi,

I am using FDK 12.0 on Windows (using Visual Studio 2012) to make some changes in a FrameMaker document programmatically. I have never used this or any other Adobe API before and am somewhat struggling with the concepts. Primarily I am using the sample programs, coming along with the FDK to guide me.

 

Now, I want to open and parse an XML file, whose content I will use later to manipulate the texts in a FrameMaker document. In .NET framework there are several classes (XMLReader, XMLTextReader etc.) to read and parse XML files easily. However, it seems I cannot use these Common Language Runtime classes because, apparently, a FDK plug-in needs to be a) C program and b) should not use CLR. In view that, can anyone please indicate if there are any suitable set of functions in FDK itself for parsing an XML file. Otherwise, is there any pure C based XML parser I can use? Some actual sample will be very helpful.

 

Thanks in advance,

Joydeep

 

[Discussion moved by moderator]


Trouble with Cross-References

$
0
0

FM11 / DITA 1.2

 

What could cause a particular cross reference to consistently NOT work? I know that's vague. I'll try to give a more specific example:

 

Let's say I have a collection of xrefs across several XML files in a DITA map. Some xrefs might even point to the same item (usually a <title> tag with an ID attribute). On output to a book with FM components, particular xrefs just will not work (they output as "unresolved"). I can fix it manually in the FM file, but I'd rather it work correctly in the first place, especially since I deal with translation in to several languages, and if I can't get an xref to just work, I have to fix it many, many times.

 

I've tried deleting the xref and starting again; I've tried changing the ID attribute in case there was some kind of conflict...I still have trouble with that particular xref (and this happens with more than one xref). What else can I try?

 

Again, I know this is vague. I'd be happy to elaborate on relevant points. I just don't currently have time to write a massive description and I want to get this question out.

 

Thanks in advance.

Conversion table help

$
0
0
Hello,

I am in the process of converting old FrameMaker 5.5.6 unstructured documents to FrameMaker 8 structured. I am having an issue with my conversion table, specifically with tables.
I am trying to wrap the head, body and footer in a tgroup element, then wrap that tgroup element in a table. I am able to get the first part to work but am unable to get the tgroup to wrap in a table.
Here is what my conversion table looks like for the items:

TE:(E:thead?, E:tbody, E:tfoot?) >> tgroup

TE:(E:tgroup)+ >> table

I have tried different options trying to get the tgroup to wrap but have not had any success yet. What would I need to change to get this to work?

Thanks,

Tyler

"Unwrap" CDATA with XSLT

$
0
0
Hi,

I know this isn't necessarily a FrameMaker question, but it is a place where I know people. So forgive me for asking it here.

I have some CDATA sections in an XML file that contain markup that I want to be parsed eventually, and I want to be able to extract it with the markup intact. Can I do this with XSLT, or does the nature of CDATA negate the use of retrieving the markup with an XML-parser-dependent technology?

Here's a sample element (element tags replaced with curly braces)

{documentation}{![CDATA[{p}Some text{/p}]]}{/documentation}

Is there any way I can get that p element out of there with XSLT, without excaping any of the characters, so it is parsable markup in the output?

[{p}Some text{/p}

Thanks,
Russ

Framemaker XML Output Issue

$
0
0

I have an issue with an attribute not being exported to XML from FM8.

 

Here is the excerpt from the DTD:

 

<!ELEMENT std.table.header (std.table.row+)>
<!ATTLIST std.table.header
  cols CDATA #REQUIRED
  rowsep CDATA "1"
>

 

The first issue I had was "cols" not showing up as an attribute in the Structured View. I solved with issue (with the help of MarttiP) by adding it to the EDD as shown below:

 

Element (Container): std.table.header
General rule: std.table.row+
Attribute list
Name: cols  Integer  Required

 

Now the issue I am having is on export of the XML, the "cols" attribute is not being exported and I am getting an error "required attribute 'cols' not provided". Any suggestions?

To recognize corrupt framemaker file using framemaker API

$
0
0

If I rename a framemaker book as .fm file and then I try to include this file as a component of another book, no pdf is generated on saving the book as pdf.

How can I make sure that a book file is not added as a component using framemaker API ( currently using fdk 6.0).

 

Thanks,

Asha Rayakar

Viewing all 66580 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>