Stylesheets + J2sdk 1.4

I have recently migrated my code from j2sdk 1.3.1_03 to j2sdk 1.4.1_02. I am using JavaHelp 1.1.3.
All my html pages where previously successfully imcluding a style sheet for displaying the help.
In 1.4.1_02 the style sheet is not being applied. I have tried putting the styles in the head section of the html pages directly, but they are still not applied.
If I put the styles directly against the html elements, they works.
Obviously this defeats the point of a nice centralized way of controlling the styles!
Does anyone know what has changed in 1.4.1 to break JavaHelp's use of stylesheets or do I just need to be using them differently?

To further qualify this, I just discovered that it is only applying the styles which are directly on elements e.g.
This works:
body
     background: #ffffff;
     color: #000000;
     font-family:Arial, Helvetica;
     font-size:12.0pt;
     font-weight:normal;
This does NOT work anymore:
p.SubHeading
{     font-family:Arial, Helvetica;
     font-size:14.0pt;
     font-weight:bold;
     margin-top:6.0pt;
     margin-right:0cm;
     margin-bottom:6.0pt;
     margin-left:0cm;

Similar Messages

  • Problems with installation J2SDK on a GLIB 2.2.4

    Hi,
    everyone say that Microsoft's products have a lot of bugs,.... but I�m trying (and tired) to install J2SDK 1.4.0_01 and the installer showed me repetitively the error "glibc >= 2.1.2-11" is need to j2sdk-1.4.0_01.fcs. So what was the problem ? My glibc version is 2.2.4!
    Sun lies when says 'write once, run anywhere"!!!
    Best wishes,
    Fl�vio Queiroz
    Sun Certified Programmer
    [email protected]

    Hi,
    everyone say that Microsoft's products have a lot of
    bugs,Never mind people who complain about bugs... if you develop software,
    you are paid to deal with it. :)
    .... but I�m trying (and tired) to install J2SDK
    1.4.0_01 and the installer showed me repetitively the
    error "glibc >= 2.1.2-11" is need to
    j2sdk-1.4.0_01.fcs. So what was the problem ? My
    glibc version is 2.2.4! Me too- it is frustrating, but Linux has been in the SUN-shine only recently. :)
    >
    Sun lies when says 'write once, run anywhere"!!!Now, now. There is some truth behind this marketing slogan, but no reason to use such strong words. Or you could conclude that all and everyone lies.
    I'll let you know when I resolve the issue. Patience is a virtue. :)
    ivaylo
    >
    Best wishes,
    Fl�vio Queiroz
    Sun Certified Programmer
    [email protected]

  • J2sdk  installation problem on 64 bit linux machine

    Hi
    when i install the j2sdk then it gives the following error.:
    /j2sdk-1_4_2_13-linux-ia64.bin: line 425: ./install.sfx.8624: cannot
    execute binary file
    PLEASE SUGGEST ANY SOLUTION
    Thanks
    dev

    IA64 is the Itanium architecture. You probably don't have such a machine (if you did, you'd definitely know it).
    If indeed you are running Linux on a 64bit machine chances are pretty high, that you are using a processor that's running the the AMD64 architecture (also called EM64T, x86-64, IA32e, ...). AFAIK only 1.5 is available for that architecture.

  • J2SDK 1.3 on Linux RH 7.1

    Hi... does anyone can give a hand installing J2SDK 1.3. on Linux RH 7.1?
    I've already installed Java using the rpm file and it seems to have no problems...
    everything looks fine...I've got no error messages...
    but when I try to run: java -version
    there is not answer!..just nothing!
    this is the second installation and I don't know what else to do...
    what I'm missing?
    I hope anyone can help me!
    Thanks in advance!
    ciao!
    JC.

    i got the same problem too.
    not only is there no output from java -version, but also the command hangs there, never exits.
    the following is the output of java -verbose
    [Opened /usr/java/jdk1.3/jre/lib/rt.jar]
    [Opened /usr/java/jdk1.3/jre/lib/i18n.jar]
    [Opened /usr/java/jdk1.3/jre/lib/sunrsasign.jar]
    [Loaded java.lang.Object from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.io.Serializable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Comparable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.String from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Class from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Cloneable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ClassLoader from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Throwable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Error from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ThreadDeath from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Exception from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.RuntimeException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.ProtectionDomain from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.AccessControlContext from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ClassNotFoundException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.LinkageError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.NoClassDefFoundError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ClassCastException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ArrayStoreException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.VirtualMachineError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.OutOfMemoryError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.StackOverflowError from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Reference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.SoftReference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.WeakReference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.FinalReference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.PhantomReference from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Finalizer from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Runnable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Thread from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ThreadGroup from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Dictionary from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Map from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Hashtable from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Properties from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.AccessibleObject from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.Member from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.Method from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.Constructor from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collection from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.AbstractCollection from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.List from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.AbstractList from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Vector from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.StringBuffer from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Boolean from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Character from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Number from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Float from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Double from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Byte from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Short from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Integer from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Long from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.NullPointerException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ArithmeticException from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.Shutdown from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.StrictMath from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.io.ObjectStreamField from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Comparator from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.String$CaseInsensitiveComparator from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.System from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.AccessController from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Random from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Set from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.AbstractSet from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections$EmptySet from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections$EmptyList from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.AbstractMap from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections$EmptyMap from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.util.Collections$ReverseComparator from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ThreadLocal from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.InheritableThreadLocal from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.Guard from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.Permission from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.security.BasicPermission from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.reflect.ReflectPermission from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Reference$Lock from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Reference$ReferenceHandler from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.ReferenceQueue from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.ReferenceQueue$Null from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.ReferenceQueue$Lock from /usr/java/jdk1.3/jre/lib/rt.jar]
    [Loaded java.lang.ref.Finalizer$FinalizerThread from /usr/java/jdk1.3/jre/lib/rt.jar]
    then the output stops, and the command hangs here.

  • Report using xml stylesheet

    Has anyone tried generating report output in xml and displaying using stylesheet. I need some help in this.
    Any help is appreciated.
    Thanks
    Rakesh

    Hi Rakesh,
    If you mean "Customizing Reports with XML", then you can take a look at the Chapter on this topic in Publishing Reports Manual:
    http://download.oracle.com/docs/html/B10314_01/pbr_xml.htm#1004903
    Let us know if you have Q's.
    Navneet.

  • Getting stylesheets to work in header.php and files associated with it

    Let's say I created a header.php file in my includes folder.  And I include it in my index.php file in the site root directory.
    Then in the header.php file, I have a link to the style sheet. 
    The issue I've always found is that you can't get the header.php file to apply the stylesheet.
    I can get it to work using global links, however I don't want to do that as I'll have to undo them before I upload the site.  (And I forget....)
    So anyways, I came up with this code today in an attempt to overcome this.  Here is my header file so far:
    "; } else           echo ""; ?>  
    So here is what it is doing:
    1. It is creating a variable called $directory which is equal to the current directory.
    2. Then it is creating another variable called $currentFolder which is equal to whether or not the variable $directory contains the word "includes".
    3. Then it says if $currentFolder is NOT false then it has the location of the stylesheet in relation to the header.php file.
    4. Else - if it IS false then the stylesheet is located in a location in relation to files in my root directory.
    This works perfectly fine....in Live view.  Both the header.php and index.php will format the header in live view.  Neither though will format it in Design view.  Which sucks cause I was pretty happy that I came up with this code on my own.
    The reason it isn't working in Design View - I realize now - is because Dreamweaver won't process that script in Design View. 
    Does anyone know of a way to get this script to run in Design View?  Or maybe some suggestions on editing this code to get it to work in Design View?
    Thanks!

    >The issue I've always found is that you can't get the header.php file to apply the stylesheet.
    Right. That's because, and it seems you understand this already, the css file relative location is different from the point of view of the header file, and the parent file. Since the header file is included in the parent at the server, the client then sees the css file in the wrong location.
    The solution is to use Design time style sheets. This will apply the css to the page only in design time - it won't actually insert the css file into the code. So, insert the css reference into the header file from the point of view of the parent - index.html. Then add a design time style sheet. That should work.

  • XMLTRANSFORM Too large stylesheet - code buffer overflow issue

    Hi All,
    My question is related to MSWordML generation from PLSQL stored procedure.
    1. I have table, containing XSLT stylesheets for different documents
    2. PLSQL stored procedure is generating dynamic content depending on some params and at the end I'm using
    SELECT XMLTRANSFORM(XMLTYPE.createxml(db_data_clob), XMLTYPE.createxml(x.xslt_clob)).GetClobVal()
    INTO   res
    FROM   msword_ml_data x
    WHERE  x.report_id = rep_id_variable;
    where : x.xslt_clob -> column, containing XSLT CLOB
    db_data_clob -> dynamic content CLOB
    res -> CLOB result
    All this was working fine on Oracle11gR1, but I had to reinstall database and I said why not install Oracle11gR2 ...
    Guess what. Stored procedure is raising exception when using XMLTRANSFORM :
    Exception : : ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00004: internal error "Too large stylesheet - code buffer overflow"
    Google says nothing about it. I don't recall setting some special DB property in Oracle11gR1.
    Has anyone encountered this ?
    I haven't changed procedure nor table.
    I'm using exactly the same XSLT's from Java code and they are working just fine, so they are not the reason. My guess is that something in Oracle11gR2 related to XML processing is changed.
    If anyone could help, thanks in advance

    For those who are interested.
    I have logged a service request and it turned out that this is is a bug in Oracle 11gR2.
    "The limitation on the style sheet is not exactly a size limit but a limitation on the number of style sheet instructions and depends on the way the style sheet has been written. This is a C based parser limitation"
    Anyway, the workaround is to create Java stored procedure and do transformation from there.

  • OPM gives error when trying to use XSLT stylesheet

    Hi,
    I am trying use a simple XSLT stylesheet into an OPM project and see the result in the web determination screen.But when ever i am clicking on the link that is created when i compile the project with the XSL file, i am getting the error
    "An error occurred trying to process your request.
    This error has been logged and is available in the application logs.
    For support and assistance please contact [email protected]"
    I have kept the XSL file inside the "templates" folder in "include" folder.
    I am using a very simple one i.e
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    version="1.0" >
    <xsl:output method="html"/>
    </xsl:stylesheet>
    How do I find what the error is and what do I need to do to solve this?
    Thanks and regards
    Sagnik

    Yes, now that above issue is solved and now when I click on the "HTML" or "PDF" link, I think some file is being generated but not properly.
    For HTML, I am getting blank page error and for PDF I am getting "file is damaged" error.May be, the xslt stylesheet that I am using is wrong, but I am absolutley stuck with this. I have tried many different formats of xlst stylesheets, but none seem to be working.
    pasting the two xslts below:
    *<?xml version="1.0" encoding="UTF-8" ?>*
    *<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">*
    *<xsl:output method="html"/>*
    *<xsl:template match="/">*
    *<xsl:apply-templates/>*
    *</xsl:template>*
    *<html>*
    *<body>*
    *<xsl:template match="session">*
    *<session><xsl:apply-templates/></session>*
    *</xsl:template>*
    *<xsl:template match="entity name">*
    *<entity-name align="center"><xsl:apply-templates/></entity-name>*
    *</xsl:template>*
    *<xsl:template match="instance label">*
    *<instance-label align="center"><xsl:apply-templates/></instance-label>*
    *</xsl:template>*
    *<xsl:template match="attribute id">*
    *<attribute-id><xsl:apply-templates/></attribute-id>*
    *</xsl:template>*
    *<xsl:template match="date-val">*
    *<date-val><xsl:apply-templates/></date-val>*
    *</xsl:template>*
    *<xsl:template match="text-val">*
    *<text-val><xsl:apply-templates/></text-val>*
    *</xsl:template>*
    *<xsl:template match="unknown-val">*
    *<unknown-val><xsl:apply-templates/></unknown-val>*
    *</html>*
    *</body>*
    *</xsl:template>*
    *</xsl:stylesheet>*
    and
    *<?xml version="1.0" encoding="UTF-8" ?>*
    *<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">*
    *<xsl:output method="html"/>*
    *<xsl:template match="/">*
    *<html>*
    *<body>*
    *<xsl:template match="session">*
    *<session><xsl:apply-templates/></session>*
    *</xsl:template>*
    *<enityName>*
    *<xsl:for-each select="entity name">*
    *<instancelabel>*
    *<xsl:for-each select="instance label">*
    *<attribute-id>*
    *<xsl:for-each select="attribute id">*
    *<text-val>*
    *<xsl:value-of select="text-val"/>*
    *</text-val>*
    *<date-val>*
    *<xsl:value-of select="date-val"/>*
    *</date-val>*
    *</xsl:for-each>*
    *</attribute-id>*
    *</xsl:for-each>*
    *</instancelabel>*
    *</xsl:for-each>*
    *</enityName>*
    *</body>*
    *</html>*
    *</xsl:template>*
    *</xsl:stylesheet>*
    also pasting the source xml file I am trying to convert.
    - <session xmlns="http://oracle.com/determinations/engine/relational/sessiondata/10.0" sessionDateTime="2010-12-17T11:34:08" locale="en-US" rulebase="Barclay_2910" rulebase-build="2010-12-17 06:04:02Z">
    - <entity name="global">
    - <instance label="global">
    - <attribute id="S_Other_Type_of_Business1">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Nature_of_Business">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="N_Desired_Review_Period">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_I_Confirm">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_new_investors_ID_Vd">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Address">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="N_Total_Amount_of_Capital_Invested">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_State_Business_use_Trading_name1">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Correspondence_Postcode">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Country">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_BTA_Code1">
    *<text-val>Central Government</text-val>*
    *</attribute>*
    - <attribute id="S_Correspondence_Address">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="N_Total_Amount_Capital_Invested_non_Corporate">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Business_Organisation">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_State_Business_use_Trading_name">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Business_Organisation1">
    *<text-val>1</text-val>*
    *</attribute>*
    - <attribute id="S_Date_Established1">
    *<date-val>2010-01-01</date-val>*
    *</attribute>*
    - <attribute id="S_Telephone_Number">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Date_of_Incorporation1">
    *<uncertain-val />*
    *</attribute>*
    - <attribute id="S_Date_of_Incorporation">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Postcode">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Start_Up_Type_Non_Corporate">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Previous_registered_names">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Other_Investments_non_corporate">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Registered_Number">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="b8@Properties_PropBkACC_xsrc">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Registered_Number1">
    *<text-val />*
    *</attribute>*
    - <attribute id="b6@Properties_PropBkACC_xsrc">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Business_use_Trading_name1">
    *<text-val>Yes</text-val>*
    *</attribute>*
    - <attribute id="S_Registered_address_Main_Trading">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_select_the_high_risk_industry_operated1">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Start_Up_Type">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Priority1">
    *<text-val>Standard</text-val>*
    *</attribute>*
    - <attribute id="S_Correspondence_address_same_Main_Trading">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Additional_Source_Capital">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Previous_Sort_Code">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Source_of_funds">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Choose_Start_Up1">
    *<text-val>Start Up/New Entity/Businesses</text-val>*
    *</attribute>*
    - <attribute id="S_Registered_Country">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Fax_Number">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Contributer">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_business_organisations_annual_turnover1">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Previous_Account_number_Roll_Number">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Previous_registered_names1">
    *<text-val />*
    *</attribute>*
    - <attribute id="b9@Rules_startuprule_doc">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_CIS_Record1">
    *<text-val>Yes</text-val>*
    *</attribute>*
    - <attribute id="S_Employees_Members1">
    *<text-val>1-9</text-val>*
    *</attribute>*
    - <attribute id="S_shareholders_Contributors">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Business_operate_high_risk_industry">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="b7@Properties_PropBkACC_xsrc">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_select_the_high_risk_industry_operated">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_business_organisations_annual_turnover">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Registered_Postcode">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Nature_of_Business1">
    *<text-val />*
    *</attribute>*
    - <attribute id="S_Country_of_Incorporation1">
    *<text-val>1</text-val>*
    *</attribute>*
    - <attribute id="N_issued_share_capital_company">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Correspondence_Country">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Type_of_Business1">
    *<text-val>Sole Trader</text-val>*
    *</attribute>*
    - <attribute id="S_Web_Address">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Registration_Number1">
    *<text-val />*
    *</attribute>*
    - <attribute id="S_Business_operate_high_risk_industry1">
    *<text-val>Yes</text-val>*
    *</attribute>*
    - <attribute id="S_Additional_Source_Capital1">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="Source_of_funds_non_Corporate">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Country_of_Incorporation">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_if_registered_address">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Date_Established">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Registration_Number">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_ID_VD">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_I_confirm_form_287">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Other_Investments">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_I_Confirm1">
    *<text-val>Yes</text-val>*
    *</attribute>*
    - <attribute id="S_Date_Form_Lodged">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Registered_Address">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="S_Other_Type_of_Business">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="N_start_up_capital_business">
    *<unknown-val />*
    *</attribute>*
    - <attribute id="N_Approx_transferring_balance">
    *<unknown-val />*
    *</attribute>*
    *</instance>*
    *</entity>*
    *</session>*
    Edited by: Sagnik on Dec 21, 2010 12:06 AM

  • Need to import html stylesheet

    I need to print the html data, thus import the html stylesheet which is the xsl file.
    Does anyone know where should I put this stylesheet i.e., the path in ebusiness suite and import the same in my template.
    Right now for testing purposes I have put the xsl file in my local directory.
    Thanks,
    -Ritu

    can you see what I'm doing wrong?
    http://174.127.110.49/~bluewat2/test/test.php
    the script's not showing any code or results.
    Here's what's in the php file:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Untitled Document</title>
    </head>
    <body>
    <?php
    $string = file_get_contents("http://www.cbsa-asfc.gc.ca/bwt-taf/bwt-eng.csv");
    $strings = explode("\n", $string);
    foreach ($strings as $line) {
         if (substr($line,0,17) == "Blue Water Bridge") {
              $subline = explode(";",$line);
              echo $subline[0] . ":";
              echo " Canada bound: " . $subline[6] . "<br>";
              echo " USA bound: " . $subline[10] . "<br>";
              echo " last updated: " . date("h:ia d F, Y",strtotime($subline[4]));
    ?>
    <?php
    $string = file_get_contents("http://www.cbsa-asfc.gc.ca/bwt-taf/bwt-eng.csv");
    exit($string);
    /* $strings = explode("\n", $string);
    foreach ($strings as $line) {
         if (substr($line,0,12) == "North Portal") {
              $subline = explode(";",$line);
              echo $subline[0] . ":";
              echo " eastbound: " . $subline[6] . "<br>";
              echo " westbound: " . $subline[10] . "<br>";
              echo " last updated: " . date("h:ia d F, Y",strtotime($subline[4]));
    ?>
    </body>
    </html>

  • Can I use stylesheets to create multiple button styles?

    I am trying to create a custom look-and-feel within UIX to get it as close as possible to
    our existing application's look-and-feel.
    As part of this, I customized the UIX button by overriding the following named style:
    ButtonServerText
    and also by providing my own icons for:
    buttonStart
    buttonEnd
    buttonTopBackground
    buttonBottomBackground
    The good news is that I was able to get the button component to look exactly like our existing
    application buttons.
    The bad news is that we have different types of buttons in our application
    for different purposes. (i.e. the image used for the button can be completely different based on the context e.g.
    yellow button for important actions and light-blue buttons for secondary actions)
    It seems like there is no way in which I can use this stylesheet mechanism to create different types of buttons
    and use them within my application. (sometimes different types of buttons can appear on the same page)
    Please let me know if there is a way.
    This is in fact a general question regarding overriding a stylesheet for customizing look-and-feel.
    Lets say I customize the "contentContainer" component using the stylesheet. This change would then be global.
    But I do want to have different types of contentContainers in the application. I would be forced to create my own custom
    UIX elements similar to contentContainer and write my own renderers.
    (I know contentContainer does have the light, medium and dark styles. I used this just as an example.)
    Please let me know what my options are.
    Thanks,
    Jayesh Kapoor

    Hi Jayesh -
    The good news is that I was able to get the button
    component to look exactly like our existing
    application buttons.Cool - I'm glad to hear you were able to get this working!
    The bad news is that we have different types of
    buttons in our applicationRight. This is a fundamental limitation of our look and feel customization functionality - we only support global customizations, not instance-specific customizations. I agree that there are many cases where instance-level customization would be useful, but this just instance supported yet.
    The only solution that I can think of for your button dilemma would be to use static images. It's pretty easy to wire up an image to behave like a button - just embed the image in a link and use <fireAction> as the link's primaryClientAction.
    Obviously, the downside of this approach is that you need to create the button images manually - which also isn't ideal if you are planning to translate your applications. One possible solution here might be to use UIX to pre-generate your button images. The idea would be to create custom LAFs for each style of button, then create a UIX page for each button style, including <button> instances for each translated value. Then, you could configure UIX to run in the desired look and feel, hit the corresponding page, and UIX will generate the required buttons into your image cache. Again, not ideal, but this might be easier than creating the buttons by hand.
    This is in fact a general question regarding
    overriding a stylesheet for customizing
    look-and-feel.
    Lets say I customize the "contentContainer" component
    using the stylesheet. This change would then be
    global.
    But I do want to have different types of
    contentContainers in the application. I would be
    forced to create my own custom
    UIX elements similar to contentContainer and write my
    own renderers.Right - this is a generic problem. But for some components, like content containers, an easier solution might be to leverage UIX's templating mechanism. Remember, you can embed arbitrary HTML contents in a UIX page/template by setting the namespace to "http://www.w3.org/TR/REC-html40". You can then reference these templates from your other UIX contents as if they were in fact UIX components. I'd recommend that you explore UIX's template support to see if this will meet your needs.
    Andy

  • How to use different stylesheets for ChangeAttributeRequest workflow in OAM

    Hi,
    We have a requirement to invoke different change attribute request workflows (change password ,change email etc..) from external JSPs..
    I want to apply different stylesheets for each workflow. In the workflow URL if i enter style=stylesheet-name its not using that stylesheet. Always its using the same base stylesheet (wf_changeattr.xsl). How can i use different stylesheets? Any pointers on this is appreciated.
    Thanks inadvance..
    Regards,
    Srikanth

    Hi Colin,
    Thanks for your response. Now i am able to invoke different xsls for different workflows.
    I did a mistake by entering style=stylesheet-name. I verified the same with xsl=stylesheet-name.
    Its working fine now..
    Thanks & Regards,
    Srikanth

  • How do I make an XLink active when displayed with stylesheet

    Ok, so I have an xml file holding all my data and am trying to make it so that different elements/attributes within the structure are links, but XLink does not seem to be working for me. I have an xls stylesheet which displays the xml data, and I would like to be able to click on the elements that are displayed and be taken to the links. Below is the first section of code from my xml document:
    <studies xmlns:xlink="http://www.w3.org/1999/xlink/">
    <study id="mice" xlink:type="simple"
    xlink:href="http://www.w3schools.com" xlink:actuate="onRequest" xlink:show="embed">
    <animal id="mouse234">
    <date id="20070615">
    <file>treatment.xml</file>
    </date>
    </animal>
    </study>
    And here is my stylesheet:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method='html' version='1.0' encoding='UTF-8' indent='yes'/>
    <xsl:template match="/">
    <html>
    <body bgcolor="#0099ff">
    <font style="font-family:verdana;font-size:110%;color:#FFFFFF"><b>
    <h2>Study Performed</h2>
    <blockquote>
    <xsl:for-each select="studies/study">
    <p><xsl:value-of select="@id"/></p>
    </xsl:for-each>
    </blockquote>
    </b></font>
    </body>
    </html>
    </xsl:template>
    </xsl:stylesheet>
    So when I load up the xml file using the stylesheet, it shows:
    Study Performed
    mice
    etc...
    And I want mice to be a link but when I mouseover it or try to click it, nothing happens (behaves like normal text). What am I doing wrong?

    Ah. Well, first you decide what you want the HTML to include so you have a link. Probably an <a> element with href= whatever you had in your xlink:href attribute?
    Then you write XSLT code that produces that output. Something like this:<a href="{xlink:href}">whatever text you want</a>for example. You'll have to declare the xlink namespace in your XSLT document for this to work.

  • Can I Include an xml-stylesheet Link in a Java Web-Service?

    The ability to easily create a SOAP-based web-service from a Java class using JDev's built in "Java Web Service" wizard is great.
    From an "Ajax enablement" perspective, I see tremendous value in having the ability to specify an XSL url in the call to that web-service, so that the server will insert an <?xml-stylesheet .../> link to the specified URL prior to the SOAP message that it returns. That way, different callers to the web-service could render the same SOAP response differently (via an XSL transformation performed on the client-side via the XSL they've specified).
    Is there already an undocumented way to do this with an Oracle "Java Web Service" that I am not aware of? If not, adding that capability would be trivial for Oracle, and it would add tremendous value to developers using Oracle's "Java Web Service" capability.

    Hi Chris,
    I take it you are using the RESTful API method to GET the data. In that case you shoul be able to perform a http POST from your js code in order to update the controls.
    This could be done as form components are updated, or after a submit button is pressed (I'm sure you are familiar with this part).
    Please see here for more information: http://zone.ni.com/reference/en-XX/help/371361J-01​/lvhowto/build_web_service/
    I hope this helps.

  • How can I export a stylesheet (either CSS or XSLT) with XML from indesign?

    Hi,
    I am using indesign CS4. I want to export style sheet whether it is CSS or XSLT file with xml.
    I try to get it but can't.
    Also the XML i am exporting does not styles that has been applied by me while creating the file in Indesign.
    Please help me out by telling me the way how can i get a stylesheet and also how can I embed that style sheet with XML so that my XML file looks similiar to the indesign file.
    Thanks,
    Choudhary Nafees Ahmed

    I am using indesign CS4. I want to export style sheet whether it is CSS or XSLT file with xml.
    CSS is not an XML style sheet, it's an HTML style sheet. "Export to HTML" will export an empty stylesheet for the paragraph and character styles. ID cannot convert its (very advanced) typographic capabilities to the (very limited) CSS notation, and thus it defaults to exporting the names only.
    XSLT is not an XML style sheet either; it's a transformation format (http://www.w3.org/TR/xslt).
    I try to get it but can't.
    Also the XML i am exporting does not styles that has been applied by me while creating the file in Indesign.
    XML Export does not export anything except the items you tagged with the Auto-tag feature, or you tagged yourself. If you need your styles tagged, use Map Styles to Tags (http://www.adobe.com/accessibility/products/indesign/mapping.html).
    XML has almost nothing to do with styling -- ideally, XML describes document structure while styles describe formatting.

  • Using xsl stylesheet with List View Web Part to display custom text

    Hi 
    i have an xsl stylesheet with sharepoint listview webpart. The list view shows some items based on a filter. I want to display custom text such as "No Items" when there are zero items in the list view using the xsl stylesheet. How do i achieve
    this. I have spent hours searching but couldnt find the exact answer. Please help me out. I am a light user not a hard core developer so I dont use Visual Studio. Thanks in advance

    Hi 
    I have customised the list view webpart using a custom xsl file by including it in the xsl link of the list view webpart. So i think i need to include the condition in the xsl file itself else it wont work. Since the list view webpart isnt using the default
    xsl. Please let me kknow if you have any idea about including a condition in xsl to check if there are not items in view. 
    The code of the xsl is included below.
    <!--
    This section is the set up and can be used at the top of any external XSLT stylesheet file
    -->
    <xsl:stylesheet
    xmlns:x="http://www.w3.org/2001/XMLSchema"
    xmlns:d="http://schemas.microsoft.com/sharepoint/dsp"
    version="1.0"
    exclude-result-prefixes="xsl msxsl ddwrt"
    xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime"
    xmlns:asp="http://schemas.microsoft.com/ASPNET/20"
    xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt"
    xmlns:SharePoint="Microsoft.SharePoint.WebControls"
    xmlns:ddwrt2="urn:frontpage:internal">
    <xsl:output method="html" indent="no"/>
    <xsl:template match="/" xmlns:x="http://www.w3.org/2001/XMLSchema">
    <xsl:variable name="Rows" select="/dsQueryResponse/Rows/Row" />
    <table>
    <xsl:for-each select="$Rows">
    <xsl:call-template name="dvt_1.rowview"></xsl:call-template> 
    </xsl:for-each>
    </table>
    </xsl:template>
    <xsl:template name="dvt_1.rowview">
        <tr>
      <td><img height="78" width="60"><xsl:attribute name="src"><xsl:value-of select="@Photo"/></xsl:attribute></img></td>
        <td>
        <table style="margin-left:10px;">
        <tr><td><xsl:value-of select="@FullName"/></td></tr>
        <tr><td><xsl:value-of select="@DOBinWords"/></td></tr>
        </table>
        </td>
      </tr>
    </xsl:template>
    </xsl:stylesheet>

Maybe you are looking for