Conrefs xml files disappear in the book generated file

I use FM 8 Tech Comm suite 1 in a Windows XP environment.

I used a conref in a number of my subjects. The conref is a note tag. I just generated a book file and the conrefs are not displayed in my chapter files.  Why?

Thank you.

Hi Mary...

Receive your sample files.

OK, your structure is a table in a part of the note note/table...... you are conreffing something of note. In theory * should * work and did it for me in certain circumstances. I think your problem is your directory structure. FM8 DITA does not a good job to resolve the references in the structures of complex (or not so complex) directory. If you put all the files in a folder (source of the plan, the subjects and the conref files)... it will probably work (if you build the FM document or book in this case as well).

I miss that time cannot do any further tests. I would like to know if this helps at all the... I can check it out more tomorrow if you want.

See you soon,.

.. .Scott

Tags: Adobe FrameMaker

Similar Questions

  • Change the display of bars in topics structured in FM, but disappear in the book file

    I use FM8 Tech Comm suite 1 in an XP environment.

    I use the ph tag to indicate the changes.  This tag inserts a change bar in the left margin and also highlights the text revised in magenta.

    However, when I generate the book file, I get sometimes change bars and sometimes not.

    Any ideas?

    Looks like you have changed the default structure applications (or created your own custom applications) to get to this format? Note that in FM8 DITA, the book's release is controlled by the application of 'Book' and the formatting in the design view is controlled by the application of the "topic". Have you done of the parallel changes to the application that you have made to the application of the section?

    .. .Scott

  • Footers that disappears into the PDF generated from FrameMaker 9

    Three other writers and I are having a problem with feet disappearing into FrameMaker.  Here's the problem: in FrameMaker, footers appears correctly.  When convert us a book in PDF format, many of footers disappear.  We find that a footer (or a part of the footer) appears on the first page of the chapter, but then footers disappear in the rest of the chapter.

    Here is some info:

    ·        

    We use the frame 9.  My version is 9.0p250.  I also use Adobe Acrobat 9 Pro Extended, Version 9.3.2 and Adobe Distiller: Professional Version 8.1.3

    · We have been able to reproduce this problem by using several guides.

    · Oddly, footers appear correctly when I print a single chapter.

    · I tried to restart my machine and then only FrameMaker loaded (if memory problems).

    · I optimized the book file and associated chapters.

    · I experimented with different settings distill.

    Does anyone else have this problem?

    It is probably a symptom of the MS Hotfix that corrects a problem with the text in PDF documents endangered generated from several Windows applications (not just FM).

    More info here:

    PS The hotfix KB 952909

    Adobe blog: hotfix for FrameMaker

    Please let us know if this is the case-

    Sheila

  • How can I generate my own InDesign ePub file without the encryption.xml file?

    My Bookstore (B & N) will not accept my ePub file because it does not want the encryption.xml file included. How can I generate a file InDesign ePub, for my own books, without him? Is there a box somewhere? I searched through the ePub export area and boxes of file information, no luck.

    Error message from PubIt.com B & N:

    We found a file name called encryption.xml in your container of EPUB, which refers to the part, or all, your file is encrypted. We do not accept any encryption in source ePub files. After the closure of this message, please remove the file encryption.xml your ePub and you can try to download your ePub file again.

    If you want to apply DRM to your title, go to Section 4, question H and select Yes. PubIt! apply DRM to your title once you have downloaded your ePub without encryption file.

    Thanks for your help...

    Sorry I wasn't clear. Do not embed fonts at all. No matter what.

    Take care, Mike

  • Can I automate creating a cluster in LabView using the structure of data created in a generated automatically. CSV, C header or XML file?

    Can I automate creating a cluster in LabView using the data structure created in an auto generated. CSV, C header or XML file?  I am trying to take the data structure defined in one or more of these files listed and have LabView automatically create a cluster with structure types and the same data.  (Ideally, I would like to do it with a C header file only.)  Basically, I'm trying to avoid having to create the cluster by hand, as the number of cluster elements could be very large. I looked in EasyXML and contacted the rep for the add-on.  Unfortunately, this feature was not created yet.  Did anyone done something like this before? Thanks in advance for the help.


  • Demarshalling xml with the automatically generated class JAXB2.0 file does not work in jdeveloper 11.1.1.9

    I'm trying to familiarize themselves with JAXB in jdeveloper. I am facing some problems. There are a few test cases for which he works, for others it is not.

    Case 1:

    XML file is created manually. Respective java class to xmlelements is created manually. There is no ObjectFactory.java or jaxb.properties. Demarshalling this XML file works fine.

    Case 2:

    XML file is not created manually. All the respective java classes including ObjectFactory.java and jaxb.properties are generated using the widget ' JAXB 2.0 content XML Schema model "jdeveloper. I deleted ObjectFactory.java, jaxb.properties, and package - info.java. Demarshalling xml with this class file works fine.


    Case 3:

    Even in case 2, but this time I do not delete or change whatever it is generated and used as it is. It does not work. Get the following error.

    Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
    javax.xml.bind.UnmarshalException
     - with linked exception:
    [Exception [EclipseLink-25008] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A descriptor with default root element rss was not found in the project]
      at org.eclipse.persistence.jaxb.JAXBUnmarshaller.handleXMLMarshalException(JAXBUnmarshaller.java:816)
      at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:109)
      at com.example.jaxbintro.JAXBExampleClass.main(JAXBExampleClass.java:36)
    Caused by: Exception [EclipseLink-25008] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.XMLMarshalException
    Exception Description: A descriptor with default root element rss was not found in the project
      at org.eclipse.persistence.exceptions.XMLMarshalException.noDescriptorWithMatchingRootElement(XMLMarshalException.java:129)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshallerHandler.startElement(SAXUnmarshallerHandler.java:208)
      at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1598)
      at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:455)
      at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:401)
      at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:239)
      at org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:157)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:688)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:271)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:258)
      at org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:218)
      at org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:306)
      at org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:106)
      ... 1 more
    

    The project is included in the annex to this issue. It is ready for use. More information in the commentary to the java code. The main class is JAXBExampleClass.java.

    What is the problem with case 3?

    OK, I've been messing around with codes generated a bit and found the solution. The problem is that the value of the XmlSchema namespace had error in package - info.java class. There is no specified XmlSchema namespace in the XML file. Thus, the given value in the package - info.java was wrong.

    @javax.xml.bind.annotation.XmlSchema (namespace = "http://www.example.org", value / / wrong, set it to an empty string or that of your xml file, if it has any)

    elementFormDefault =

    javax.xml.bind.annotation.XmlNsForm.QUALIFIED)

    package com.example.jaxbintro.xmlerror;

    After you set the namespace to the empty string, since my xml file do not have one, code ran very well.

    @javax.xml.bind.annotation.XmlSchema (namespace = "",)

    elementFormDefault =

    javax.xml.bind.annotation.XmlNsForm.QUALIFIED)

    package com.example.jaxbintro.xmlerror;

    The file package - info.java can also be removed and it will work. For more details on the package and XmlSchema annotated level, what information on the package class is for, be found in the following link.

    https://JAXB.Java.NET/NoNAV/jaxb20-FCS/docs/API/javax/xml/bind/annotation/XmlSchema.html

  • Need to remove the tags file Nullable while generating XML files

    Hello.

    I have a requirement where I have to generate an XML file, but the generated XML file does not display the tags when the column is null. An example below:

    CREATE TABLE emp_tab (emp_id NUMBER PRIMARY KEY
    name VARCHAR2 (20).
    dept_id NUMBER);
    Table created.
    INSERT INTO emp_tab VALUES (30, 'Scott', NULL);
    1 line of creation.
    INSERT INTO emp_tab VALUES (31, 'Mary', NULL);
    1 line of creation.
    INSERT INTO emp_tab VALUES (40, 'John', NULL);
    1 line of creation.
    COMMIT;

    When I generate the XML code, you can find the output like below:
    < EMPLOYEE >
    < EMP_ID > 30 < / EMP_ID >
    Scott < NAME > < / NAME >
    < / EMPLOYEE >

    I just the Worklfow Developer's Guide and the example above was taken from Page 561 and 562 by looking at the DBMS_XMLGEN.setNullHandling using DBMS_XMLGEN procedure. DROP_NULLS as a parameter.

    Now, I understand the concept, but my requirement is a little different. I get a record as my procedure parameter PLSQL type, but requires the choice of a base table, which means maybe I have to insert first the folder I get as parameter in a table of basic and then select in the same when you set the context, which is what I don't want in the DBMS_XMLGEN.newContext. This is an additional burden.

    I've previously planned to use XMLELEMENT and XMLFOREST to generate the XML file (and was rather more simple), but this requirement to remove the tags altogether when the values are NULL led me to believe that maybe I might have to go down the path of using the API DBMS_XMLGEN.

    Can you suggest a better way, replacement to achieve what I want? Or perhaps give an example on how I can get there using XMLDB?


    Thank you and best regards,
    JD

    Can I use just the XMLElement and XMLForest to achieve?

    Sure. As said, XMLForest does not create elements for NULL values:

    http://docs.Oracle.com/CD/E11882_01/AppDev.112/e23094/xdb13gen.htm#ADXDB5006

    If the expression value is null, then no element is created for this expression.

    This is the code I wrote your above mentioned suggestion discussion forum

    Yes, but this solution is taken out of context.
    Here, it is obviously preferable to not generate empty items in the first place:

    SELECT XMLElement("Address"
           , XMLForest(
               lr_addr_rec.account_name     as "AccountName"
             , lr_addr_rec.address_line_1   as "Addressline1"
             , lr_addr_rec.lot_number       as "Addressline1"
             , lr_addr_rec.address_city     as "City"
             , lr_addr_rec.address_state    as "State"
             , lr_addr_rec.address_postcode as "PostCode"
             )
           )
    FROM dual;
    
  • Generate a single XML file of the multiple JDBC result set

    Hello

    I need to create a single XML file of the multiple result set. The code below is to generate a XML signle leave a single result set, but suppose we have five different tables in the same database and the tables aren't relalted to the other.

    for example: select * from SAMPLE_PRODUCT
    Select * command
    Select * LOGISTICS... and many others.


    You can create multiple sets of results by top queries but how can write all values using a JDBC result set in a single xml file? Help, please.

    a signle file xml from one generator result

    import java.io.StringWriter;
    import java.sql.Connection;
    to import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.ResultSetMetaData;

    Import javax.xml.parsers.DocumentBuilder;
    Import javax.xml.parsers.DocumentBuilderFactory;
    Import javax.xml.transform.OutputKeys.
    Import javax.xml.transform.Transformer;
    Import javax.xml.transform.TransformerFactory;
    Import javax.xml.transform.dom.DOMSource;
    Import javax.xml.transform.stream.StreamResult;

    to import org.W3C.DOM.document;
    Import org.w3c.dom.Element;

    public class JDBCToXML {}

    Public Shared Sub main (string args []) throws Exception {}
    DocumentBuilderFactory plant = DocumentBuilderFactory.newInstance ();
    DocumentBuilder builder = factory.newDocumentBuilder ();
    Doc document = builder.newDocument ();
    Element results = doc.createElement ("Results");
    doc.appendChild (results);

    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con = DriverManager
    .getConnection("jdbc:odbc:RIS","USER","USER");

    ResultSet rs = con.createStatement () .executeQuery ("select * from SAMPLE_PRODUCT");

    ResultSetMetaData rsmd = rs.getMetaData ();
    int colCount = rsmd.getColumnCount ();

    While (RS. Next {}
    Element line = doc.createElement ("Row");
    results.appendChild (row);
    for (int i = 1; i < = colCount; i ++) {}
    String columnName = rsmd.getColumnName (i);
    Object value = rs.getObject (i);
    Element node = doc.createElement (columnName);
    node.appendChild (doc.createTextNode (value.toString (()));
    row.appendChild (node);
    }
    }
    DOMSource domSource = new DOMSource (doc);
    TransformerFactory tf = TransformerFactory.newInstance ();
    Transformer transformer = tf.newTransformer ();
    transformer.setOutputProperty (OutputKeys.OMIT_XML_DECLARATION, 'yes');
    transformer.setOutputProperty (OutputKeys.METHOD, "xml");
    transformer.setOutputProperty (OutputKeys.ENCODING, "ISO-8859-1");
    StringWriter sw = new StringWriter();
    StreamResult sr = new StreamResult (sw);
    transform. Transform (domSource, sr);

    System.out.println (SW. ToString());

    con. Close;
    RS. Close();
    }
    }

    Thank you
    Sumit

    Published by: user8687839 on April 4, 2012 23:04

    Published by: user8687839 on April 4, 2012 23:09

    As EJP says, you really want to get the data in a single request, if possible (and I don't see why that shouldn't be the case).
    In fact, you really want to get this query to return the data as close the format you need as you can.

    If you did this on Oracle, for example, I'd get Oracle to produce XML that you can then turn (assuming that you could not itself produce the XML you want directly).
    In your case, using some db (access?), and then just get the line structure such as the conversion to XML involves the least amount of faffing about.

    Rethink the SQL and the rest should be easy.

  • How to create ViewObject to generate the xml file?

    Hello everyone...

    People, I would like to know if it is possible to create a ViewObject to generate an xml file.
    In other words, I have a database table and I need to generate an xml file based on this table.

    Someone has already done it?

    The ADF swing.
    JDeveloper Studio 11.1.1.4.0.

    Hello

    Try this link

    Generate the xml file based on the java oracle table using jdeveloper 10 g

  • 'Adobe CFC Generator' error 'cannot find the ide_config.xml file.

    Hello

    Yesterday, I downloaded a CF Builder 2 trial. I have install in my machine I am running CF 9.01 Dev version.

    When I try install 'Adobe CFC Generator"extension"cannot find ide_config.xml file.

    I'm trying to find a solution. but I just can't.

    Some ideas thank you!

    With ColdFusion Builder 2, a generator of CFCS should be deleted. However, by mistake, CFC generator has been removed only partially.

    If you want to use:

    Plesae download it from: http://adobecfcgenerator.riaforge.org/

    Or if you have a ColdFusion Builder 1 or ColdFusion Builder Beta 2 installation:

    You can take it from \extensions and deploy on your server instead of using the installed incorrectl CFC generator.

    Thank you

    Krishna

  • Generate the XML FILE OF APEX

    Hello

    I want to generate an XML file from APEX when one click on the button as an example below
    and all the "BOLD" number I want to receive them as parameters.

    <? XML version = "1.0" standalone = 'no '? >
    <! DOCTYPE tags SYSTEM "label.dtd" >
    < labels _FORMAT = "1" >
    < _QUANTITY label = "" * 5 * ">"
    < variable name = "PARAMPRICE" > * 12.99* < / variable >
    < variable name = "NEWPRICE" > * 9.99* < / variable >
    < variable name = "SKU" > * 12345 * < / variable >
    < variable name = "COLOR" > * 010 * < / variable >
    < / label >
    < / Label >


    Thank you
    Jade

    Edited by: Jade04 May 21, 2009 12:21

    Jade:

    The steps are

    Create page 1 with a region with so many elements you want settings
    Create a button on page 1 that submits the page and branches to page 2
    Page 2 create one page with the following code processes before

    declare
    v_file_name   VARCHAR2 (2000) := 'Xmlfile.xml';
    begin
    OWA_UTIL.mime_header ('application/txt', FALSE);
    htp.p('Content-Disposition:attachment;filename="'|| v_file_name|| '"');
    OWA_UTIL.http_header_close;
    htp.p('
    
    
    
    
    
    ');
    apex_application.g_unrecoverable_error:=true;
    exception when others then
    null;
    end;
    

    CITY

  • How to integrate the dynamic SQL generated in the data definition XML file?

    Hi all

    I have it here is the XML file that is attached to the definition of data model RTF as below. Also, I have a function that will return to create a dynamic query as shown below.

    <?xml version="1.0" encoding="UTF-8"?> 
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0"> 
    <dataQuery> 
    <sqlStatement name="Q2"> 
    <![CDATA[
    

    Hi guys,.

    I was able to solve above the requirement. It was not possible to create only from SQL dynamically. Instead, I created a procedure that would create & update (attached to the data definition) XML file dynamically for each race.

    Kind regards

    Patricia K.

  • Generate the XML file with elements and attributes in table Oracle

    Hello

    I have the following table structure.

    CREATE TABLE SPOOL
    (
    COIL_ID NUMBER (10),
    COIL_NUMBER VARCHAR2 (40),
    COIL_PO_OPERATING_UNIT VARCHAR2 (20).
    COIL_PO_NUMBER VARCHAR2 (40),
    MILL_NUMBER VARCHAR2 (2),
    MILL_COIL_STATUS VARCHAR2 (15).
    ITEM_NUMBER VARCHAR2 (40),
    COIL_WEIGHT NUMBER (38),
    WEIGHT_UOM VARCHAR2 (10),
    DOCUMENT_NUMBER VARCHAR2 (40),
    DATE OF DOCUMENT_DATE,
    DOCUMENT_STATUS VARCHAR2 (15).
    DOCUMENT_TYPE VARCHAR2 (20).
    DOCUMENT_SOURCE VARCHAR2 (20).
    TEST_ID NUMBER (38),
    NUMBER VALUE,
    TEST_UOM VARCHAR2 (20).
    TEST_STATUS VARCHAR2 (70).
    TESTER_LOGIN VARCHAR2 (20).
    EQUIPMENT_CODE VARCHAR2 (50).
    DOC_STS_MSG VARCHAR2 (600)
    )
    /
    For each record COILID, there could be several folders baased on TEST_ID/VALUE/TEST_UOM etc.

    And I would like to prepare the xml file in the following format by selecting data in the COIL?


    <? XML version = "1.0"? >
    -coil xsi: noNamespaceSchemaLocation = "www.tempel.com/COIL.xsd" xmlns: xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:xdb = "http://xmlns.oracle.com/xdb" >
    < CoilId > 1419532 < / CoilId >
    < CoilNo > D2221050010A0 < / CoilNo >
    Changzhou < CoilPOOperatingUnit > < / CoilPOOperatingUnit >
    < CoilPONo > 4619 < / CoilPONo >
    < MillNo > 86 < / MillNo >
    Test of < MillCoilStatus > < / MillCoilStatus >
    C5 050FP800 < ItemNo > < / ItemNo >
    < weight > 7076 < / weight >
    KILOGRAM of < GLU > < / UDM >
    < DocumentNo > 0 < / DocumentNo >
    < DocumentDate > 2013 - 01 - 11 < / DocumentDate >
    < DocumentStatus > not < / DocumentStatus >
    < DocumentType > test < / DocumentType >
    CHIGMA1 < DocumentSource > < / DocumentSource >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4992" TestUnit = "mm" Status = 'NonProcessed' TestId = "135" / >
    < test DocStsMsg = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.0128" TestUnit = "mm" Status = 'NonProcessed' TestId = "124" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "12" TestUnit = "mm" Status = 'NonProcessed' TestId = "125" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5095" TestUnit = "mm" Status = 'NonProcessed' TestId = "127" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5042" TestUnit = "mm" Status = 'NonProcessed' TestId = "128" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5058" TestUnit = "mm" Status = 'NonProcessed' TestId = "129" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4967" TestUnit = "mm" Status = 'NonProcessed' TestId = "130" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.5049" TestUnit = "mm" Status = 'NonProcessed' TestId = "131" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4972" TestUnit = "mm" Status = 'NonProcessed' TestId = "132" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4960" TestUnit = "mm" Status = 'NonProcessed' TestId = "133" / >
    < DocStsMsg test = '0' EquipmentCode = "CHIGMA1" TesterLogin = "dpkrueger" Value = "0.4996" TestUnit = "mm" Status = 'NonProcessed' TestId = "134" / >
    < / reel >

    Can you please guide me how to do it in a single query?

    Thanks in advance.

    Function EXTRACT will force a print in your version:

    SELECT XMLElement("Coil",
             XMLAttributes(
               'http://www.w3.org/2001/XMLSchema-instance' as "xmlns:xsi"
             , 'www.tempel.com/COIL.xsd' as "xsi:noNamespaceSchemaLocation"
             )
           , XMLForest(
               COIL_ID                as "CoilId"
             , COIL_NUMBER            as "CoilNo"
             , COIL_PO_OPERATING_UNIT as "CoilPOOperatingUnit"
             , COIL_PO_NUMBER         as "CoilPONo"
             , MILL_NUMBER            as "MillNo"
             , MILL_COIL_STATUS       as "MillCoilStatus"
             , ITEM_NUMBER            as "ItemNo"
             , COIL_WEIGHT            as "Weight"
             , WEIGHT_UOM             as "UOM"
             , DOCUMENT_NUMBER        as "DocumentNo"
             , DOCUMENT_DATE          as "DocumentDate"
             , DOCUMENT_STATUS        as "DocumentStatus"
             , DOCUMENT_TYPE          as "DocumentType"
             , DOCUMENT_SOURCE        as "DocumentSource"
             )
           , XMLAgg(
               XMLElement("Tests",
                 XMLAttributes(
                   DOC_STS_MSG    as "DocStsMsg"
                 , EQUIPMENT_CODE as "EquipmentCode"
                 , TESTER_LOGIN   as "TesterLogin"
                 , VALUE          as "Value"
                 , TEST_UOM       as "TestUnit"
                 , TEST_STATUS    as "Status"
                 , TEST_ID        as "TestId"
                 )
               )
             )
           ).extract('/*')
    FROM coil
    GROUP BY COIL_ID
           , COIL_NUMBER
           , COIL_PO_OPERATING_UNIT
           , COIL_PO_NUMBER
           , MILL_NUMBER
           , MILL_COIL_STATUS
           , ITEM_NUMBER
           , COIL_WEIGHT
           , WEIGHT_UOM
           , DOCUMENT_NUMBER
           , DOCUMENT_DATE
           , DOCUMENT_STATUS
           , DOCUMENT_TYPE
           , DOCUMENT_SOURCE ;
    
  • The analysis via an XML file

    Hello

    I work with an XML file that is generated through the API of Google Books.  I'll apologize in advance if I don't get quite accurate XML terminology - it's my first foray into some of the tags XML see  I'm reading a XML file in and attempt to send data:

    "< cfhttp url = 'http://www.google.com/books/feeds/volumes?q=john+grisham+the+firm & min-viewability biased =" method = "GET" > "

    < CFSET xmlfile = xmlparse (cfhttp.filecontent) >


    < cfset xmlsize = arraylen (xmlfile.feed.entry) >


    < cfloop from = "1" = "" #xmlsize # "index ="a">"

    < b > title: #xmlfile.feed.entry [a].title.xmlText # < /b > < br >
    < b > Format: #xmlfile.feed.entry [a].format.xmlText # < /b > < br >
    < b > author: #xmlfile.feed.entry [a].creator.xmlText # < /b > < br >
    < b > identifier1: #xmlfile.feed.entry [a].identifier.xmlText # < /b > < br >
    < b > identifier2: #xmlfile.feed.entry [a] .identify [2] .xmlText # < /b > < br >

    < / cfoutput >
    < / cfloop >

    It works pretty well.  Here's the problem: there is often a third identifier field (xmlfile.feed.entry [a] .identify [3] .xmlText)- but not always.

    I'm testing the existence of this field before you post.  I tried the following:

    < CFIF isdefined("xmlfile.feed.entry[a].identifier[3].xmlText") >
    is defined

    < CFELSE >

    is not defined
    < / cfif >

    Gives the typical error:

    Parameter 1 of function IsDefined, which is now xmlfile.feed.entry [a] .identify [3] .xmlText, must be a valid variable name syntactically.

    I would use structkeyExists, but I can't understand how the third node (?) using the reference code:

    < cfif structKeyExists(xmlfile.feed.entry[a],"identifier") > only works for xmlfile.feed.entry [a] .identify [1] .xmlText

    < cfif structKeyExists(xmlfile.feed.entry[a],"identifier[3]") > is not valid.

    So with strucktkeyexists, I can not understand how to properly reference the name of the variable...

    Any help?  Or the best ideas to verify the existence of this variable?

    The node you are looking at is an array, so:

    you need to do. At the present time, you test for the attribute 'xmltext' rather than to check its node parent exists.

    HTH.

  • Invalid application - cannot find the config.xml file archive

    I'm new to webworks development... I created a sample config.xml and index.html in the folder Helloworld and made a Zip file...

    Then using ripple I packed up the app and the. Cod files are generated correctly...

    But I was not able to pack and sign using ripple, if I had the signature keys added to the bin folder of the SDK correctly...

    So I tried bbwp command line argument to achieve the same... But it has ended up with the error "Invalid application archive - cannot find the file config.xml.

    What is the problem that I do with the archieve file?

    How to use eclipse for development for the Webworks 2.3.1.5 sdk?

    My guess is that you have a HelloWorld inside your zip file and the file config.xml and index.html are inside this folder. The config.xml file must be in the root and must reference the index.html file, wherever it is in the zip directory structure.

Maybe you are looking for

  • How can I access the Clipboard when denied.

    I am trying to copy and paste, but Firefox said I'm being denied access to the Clipboard and to enter 'about.config' in the address bar and then navigate to signed Applets Code Base_Principle_support and enter the value true. When I type in about.con

  • Update disk for Satellite Pro 4340

    Hi people,I own a SatellitePro 4340. 10 GB HDD inside now is much to small. So I decided to upgrade the laptopwith the hard disk of 40 GB or 80 GB lager.My questions are:1 is this possible upgrade2. What is the biggest hard drive I can use (GB)?I'm u

  • Problems of its Equium M50

    Hello I've had an Equium M50 for about a year and a half now with no real problems, although recently the sound plays up. Any system windows crackle and sounds deformed while other sounds seem to have an echo. Can anyone advise how to solve this prob

  • My printer cuts the left edge of all documents

    My canon printer cuts the first 2 or 3 digits on the left side of all the documents and he has right since... a little over a year ago.

  • Little VB program that can delete a folder using the current date

    Greetings, I try to write a rudimentary program that will delete a file.  I'll post some pseudocode to demonstrate what I intend to achieve: If FileFolder is < 8=""> as CurrentDate then delete I looked at a few other Web sites and ran across somethin