Using htmlmarkup.xsl with a data template

Has anyone used a file called htmlmarkup.xsl, http://blogs.oracle.com/xmlpublisher/2007/01/formatting_html_with_templates.html, with a data template?
If I create my BI Publisher report using a data query in my data model, htmlmarkup.xsl works fine in converting the html text to bold or underline, or whatever I want it to be. But if am using a data template in my data model, the tags don't get converted and I still see the tags.
Any thoughts would be appreciated!
Thanks!!
Kris Henning
www.piocon.com

I was hoping you would help me with this!
Here is the data template:
<dataTemplate dataSourceRef="oltpdev" name="html" defaultPackage="html">
     <properties>
          <property name="xml_tag_case" value="upper"/>
     </properties>
     <parameters>
     </parameters>
     <lexicals>
     </lexicals>
     <dataQuery>
          <sqlStatement name="Q_1">
select manager_product_id,notes
from manager_product_note
where trunc(note_timestamp,'mm')='01-jun-2008'
                         </sqlStatement></dataQuery>
     <dataStructure>
          <group name="G_notes" dataType="varchar2" source="Q_1">
               <element name="notes" dataType="clob" value="NOTES"/>
               <element name="manager_product_id" dataType="number" value="MANAGER_PRODUCT_ID"/>
          </group>
     </dataStructure>
</dataTemplate>
I just want to see the NOTES column correctly. Instead I get:
<p><strong>New Note</strong></p>
<ol>
<li>numbered list - normal font</li>
<li><strong>bold font</strong></li>
<li><strong><em>bold and italic</em></strong></li>
<li><u>underlined</u></li>
<li><em>italic only</em></li>
<li><strike>strike out</strike></li>
</ol>
<ul>
<li>bulleted list</li>
<li>next item</li>
<li><strong><i><u><strike>Bold, Italics, Underlined and Strikeout</strike></u></i></strong></li>
</ul>
You can tell this is a test case.
Thanks for your help!
Kris Henning
www.piocon.com

Similar Messages

  • PA_CONTRACT_XSLFO: How to invoke a RTF-template with related data template

    Dear Reader,
    actually I want to extend the standard Document Type Layout for a Purchase Agreement Contract with additional data from approved supplier list (ASL).
    Therefor I have created a RTF-template and a data template with the needed sql-statement. For testing I put this in a standalone concurrent programm and it works fine (result was a blue table with all data rows).
    Next step for me was to invoke the RTF-template into the PA_CONTRACT_XSLFO template for extending the Document Type Layout for my Purchase Agreement Contract. So I put the neede invoke-statements
    <xsl:import href="xdo://XXOC.XX_RTF_TEMPLATE.de.00/"/>
    and
    <xsl:call-template name="XX_RTF_TEMPLATE"/>
    into the XSLFO-template. Also I extend the RTF-template with the define template statement
    <?template:XX_RTF_TEMPLATE?>
    So all seems to be fine.
    As result I get the standard document for Purchase Agreement Contract with the additional blue table from RTF-template BUT WITHOUT DATA !
    From my point of view there is no execution of the sql-statement in data template. But I dont know why.
    Do Oracle support a combination of XSLFO-template with data template?
    [XSLFO-template] with related [XSD-data definition]
    calls [RTF-template] with related [data template (with included sql-statement)]
    Thanks for your help.
    Best regards
    Mario.

    How to call a rtf template from another rtf template by passing a value try in main template create hyperlink of url with parameters for another template
    http://bipconsulting.blogspot.ru/2010/02/drill-down-to-detail-or-another-report.html
    When user pull a quote report from siebel this new rtf template should attach to the quote at the end.it'll be only another report
    IMHO you can not attach it to main. it'll be second independent report
    you can try subtemplate but it's not about rtf from rtf by click
    it's about call automatically rtf subtemplate from main rtf based on some conditions
    for example, main template contain some data and if some condition is true then call subtemplate and place it instead of its condition

  • How to use a queue with dynamic data

    When using a collector I have found that it significantly slows down my loop times. I am using LabView7.1 on a Dell PC with Windows XP.  If I use a queue with dynamic data do you think that will require less of my processor and allow for faster loop speeds?
    I have created a queue using dynamic data in one loop and I want to retrieve all available samples each iteration in a slower loop. If I use the flush queue I get a 1d array of dynamic data. What is the best way to convert the 1d array of dynamic data so that the array of dynamic data is consolidated back into a single dynamic data type? Any help would be much appreciated.

    Hi Dennis,
    You could for instance wire the array to an auto-indexed for loop. I attach an example. I assume you wish to concatenate the arrays a singel waveform.
    Hope it helps,
    Pelle S
    District Sales Manager
    National Instruments Sweden
    Attachments:
    Dynamic queue.vi ‏245 KB

  • Anyone using durable topics with high data volumes?

    We're evaluating JMS implementations, and our requirements call for durable subscribers, where subscribers can go down for several hours, while the MQ server accumulates a large number of messages.
    Is anyone using Sun MQ in a similar scenario? How is it holding up?
    Sun folks, do you know of production installations that use durable topics with high data volumes?
    thanks,
    -am

    We are using a cluster of Sun�s JMS MQ 3.6 with durable message queues and persistent topics. In a 4 hour window each night we run over 20,000 messages through a queue. The cluster sits on two Windows servers, the producer client is on a AIX box and the consumer is running on a iSeries. Within the 20,000 messages are over 400,000 transactions. Each message can have many transactions. Yes, the iSeries client has gone down twice and the producer continued with the message queue pilling up, as it should. We just use the topic to send and receive command and status inquiries to the clients. So every thing works fine. We have only had a couple issues with a client locking and that maybe fixed with sp3, we are in the process of installing that. The only other issue we have had is that once in a while the producer tries to send an object message with to many transactions and it throws and JMS exceptions. So we put a cap on the size of the messages, if its over a set number of transactions it send each transaction as separately, otherwise it sends all the transactions in one object type (linked list of transactions) message. Compare the cost of this JMS system with Tibco or Sonic and you�re looking at big savings.

  • HT4108 can I use my IPAD with a data projector?  and does the data projector have to be an iOS compatible one?

    can I use my IPAD with a data projector?  and does the data projector have to be an iOS compatible one?

    You can connect via a cable or wireless using an Apple TV.
    http://ipad.about.com/od/iPad_Guide/a/How-To-Connect-Your-Ipad-To-Your-Tv.htm
    iPad Accessories: Connections for a TV or Projector
    http://www.dummies.com/how-to/content/ipad-accessories-connections-for-a-tv-or-p rojector.html
    You may be interested in AirPlay on the Apple TV:
    Apple - AirPlay - Play content from iOS devices on Apple TV
    http://www.apple.com/airplay/
    Alternately, there are Apple Digital AV Adapters for hardwired connections:
    iOS: About Apple Digital AV Adapters
    http://support.apple.com/kb/ht4108
     Cheers, Tom

  • Using alternate rows with Spry Data Set

    Can anyone provide more information on how to implement alternate row colors with a Spry Data Set?  What I have done is:
    Create spry data set using HTML page as the data set
    The html page that displays the data set is:  <div spry:region="equipment">
    In the default.css page that is linked, I added the info in note #1 below
    When the page displays, no colors appear. Tried changing the colors and still no luck.  Is there another step to do?
    Note #1:
    within the default.css, the following are declared:
    #equipment odd {
    background-color: #CCC;
    #equipment even {
    background-color: “#F2F2F2;
    Note #2:
    Here is a link to see the actual pages referenced above.
    Any ideas? Getting frustrated!!  Thanks in advance for any advice.

    You are going to kick yourself, but, you haven't assigned any page element the ID #equipment. The region is called that but the table or the DIV does not have an idea and your selector matches nothing...

  • How to  use  Stylesheet (XSL) with JSPX ?

    Hi!
    How to use XSL stylesheets with JSPX pages?
    I want use an xsl transformations with jspx pages, I tried using the following syntax, but it didn't work....
    <?xml version='1.0' stylesheet type="text/xsl" href="mathml.xsl" encoding='UTF-8'?>
    <tr:html xmlns="http://www.w3.org/1999/xhtml">
    what is the best way to use xslt with jspx pages?
    Thanking you in advance,
    Samba

    Thanks Ric,
    But My problem is not solved..
    I'm getting the transformation working in plain HTML
    The file given below :
    <?xml-stylesheet type="text/xsl" href="mathml.xsl"?>
    <!--
    Copyright David Carlisle 2001, 2002.
    Use and distribution of this code are permitted under the terms of the <a
    href="http://www.w3.org/Consortium/Legal/copyright-software-19980720"
    W3C Software Notice and License</a>.-->
    <html xmlns="http://www.w3.org/1999/xhtml"
    >
    <head>
    <title>Content MathML Examples</title>
    </head>
    <body>
    <div style="border-style:solid; border-width:1px; margin: 1em 1em 1em 1em; padding: 1em 1em 1em 1em;color:gold;background:grey;">
    <pre><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>]]>
    </pre>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>
    </div>
    </body>
    </html>But the same thing is not working when put in jspx page..
    And I tried to use JSTL as you have suggested :
    But the content is not getting transformed.
    Here is the jspx page :
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
              xmlns:c="http://java.sun.com/jsp/jstl/core"
              xmlns:x="http://java.sun.com/jsp/jstl/xml"
              xmlns:m="http://www.w3.org/1998/Math/MathML"
              xmlns:xh="http://www.w3.org/1999/xhtml">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document binding="#{backing_xsltTest.document1}" id="document1">
    <div style="border-style:solid; border-width:1px; margin: 1em 1em 1em 1em; padding: 1em 1em 1em 1em;color:gold;background:grey;">
    <f:verbatim>
    <pre><![CDATA[<math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>]]>
    </pre>
    </f:verbatim>
    <c:import var ="mathml" url="/mathml.xsl"/>
    <x:transform  xslt="${mathml}">
    <math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
    <eq/>
    <apply>
      <abs/>
      <ci> x </ci>
    </apply>
    <piecewise>
      <piece>
          <apply><minus/><ci> x </ci></apply>
          <apply><lt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <cn> 0 </cn>
          <apply><eq/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
      <piece>
          <ci> x </ci>
          <apply><gt/><ci> x </ci> <cn> 0 </cn></apply>
      </piece>
    </piecewise>
    </apply>
    </math>
    </x:transform>
    </div>
          <af:form binding="#{backing_xsltTest.form1}" id="form1">
          </af:form>
        </af:document>
      </f:view>
      <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_xsltTest-->
    </jsp:root>Can you please suggest where I'm doing wrong?
    Thanking you in advance,
    Samba

  • Create offline interactive forms using webdynpro java with XML data source

    Hi Gurus,
    I am having a scenario like below:
    Sales guy request for order list online from portal- Sytem receives the request and creat XML file- from xml file need to create a Offline interactive form-Sales guy fills it offline at customer site- uploads in portal -on submit xml has to be generated with captured data at customer site-Process to  ECC.
    So my questions are:
    How to create the offline interactive form  from XML?
    Once filled offline interactive form uploaded into portal how to create XML again from pdf ?
    Please give some idea on this as this is my first Offline interactive form using XML datasource.
    Thanks
    Ravi
    Edited by: Ravi Sunkara on Jul 27, 2010 5:25 PM

    Hi Otto,
    Sorry for replying lately. First of all  I did not get your suggestions as your are editing the same posting.
    Secondly we will be using WDJ. Actually in between SAP Portal and ECC we are having adobe LCES so we need to create Interactive form using XML only. Once it is filled again the form will be submitted to another application which is running on FLEX, which will process the order.
    if you can give me your personal id i can send you the detailed process
    Thanks
    Ravi

  • Use of MIN with text data

    I am not familiar with using MIN with text data as in the sample below and could use some help in deciphering what it is doing. This SELECT statement is taken from a larger CREATE OR REPLACE VIEW statement. The first line of the WHERE clause is making the connection to look at the correct user's information. The section after the first AND is what I am trying to interpret correctly. I have moved into a new position and wasn't around when this view was created. The statement is designed to assign the correct DOMAIN_ID to each user based on values in the elms.elms_dom_lkup table ed. This table consists of 4 columns: DOMAIN_ID, PROC_LVL, LOCATION, AND POSITION. The DOMAIN_ID is the only field that is not nullable. The primary key for the table is a combination of the 4 columns. The section after the first AND matches the PROC_LVL from the ed (lookup table) to the PROCESS_LEVEL in the cd (reference table) and confirms the process level is associated with the users primary position. It then looks for one of three conditions:
    1. process levels match and LOCATION and POSITION are NULL
    2. process levels match and LOCATION matches user's location in a reference table
    3. PROC_LVL is NULL and POSITION matches user's position in a reference table
    (SELECT MIN (domain_id)
    FROM elms.elms_dom_lkup ed, mici.const_dept cd
    WHERE c.constituent_id = cd.constituent_id
    AND ( (ed.proc_lvl = cd.process_level AND cd.pos_level = 1
    AND ( (ed.location IS NULL AND ed.position IS NULL)
    OR (LOWER (ed.location) = LOWER (loc.campus))))
    OR (LOWER (ed.position) = LOWER (c.job_desc)
    AND ed.proc_lvl IS NULL))), /*Domain ID*/
    My question revolves around the priority on those matches. The ed table is not organized in any manor. The records are in the order they were entered. Does the MIN in the SELECT statement cause the DOMAIN_ID

    Hi,
    Welcome to the forum!
    If v is a string column (such as a VARCHAR2), then MIN (v) is the first string in collating order (that is, alphabetic order, but with numbers and punctuation symols given particular values in the ordering).
    It lookw like the code fragment you posted is a Scalar Sub-Query , that is, a sub-query used where an expression is exprected. For example, in a query like this:
    SELECT  *
    FROM    scott.emp
    WHERE   sal     > 1200
    ;You can replace the literal 1200 with any kind of numeric expression, even
    SELECT  *
    FROM    scott.emp
    WHERE   sal     > (     --Begin scalar sub-query
                    SELECT  AVG (sal)
                    FROM    scott.emp
                )     -- End scalar sub-query
    ;You have to be careful that a sclar sub-query produces exactly one column, and either 0 or 1 rows. You'll get a run-time error if the sub-query ever produces 2 or more rows.
    People sometimes use MIN in situations like yours when the sub-query might otherwise return 2 or more rows, and either:
    (a) all the non-NULL rows will contain the same domain_id, or
    (b) it doesn't matter which domain_id is used, just so long as it is one that actually exists in the result set.
    842436 wrote:
    My question revolves around the priority on those matches. The ed table is not organized in any manor. The records are in the order they were entered. Does the MIN in the SELECT statement cause the DOMAIN_IDSorry, I don't understand exactly what you're asking.
    Rows in a relational table are never in any intrensic order.
    It looks like the question got cut off. Does the MIN in the SELECT statement cause the DOMAIN_ID to do what?
    Edited by: Frank Kulash on Mar 7, 2011 3:01 PM
    I see you corrected your first post.
    842436 wrote:
    ... My question is does the MIN in the SELECT statement cause the DOMAIN_ID from the first record that meets any of the 3 conditions to be returned?Yes, it makes the sub-0query return the first domain_id ( in alphabetic order ) that meets all the conditions. If there are 1,000 rows that meet all the conditions, the query will ind all 1,000 of them, keeping track iof which one is first in alphabetic order. Remember that
    '127.255.255.0' is less than
    '25.0.0.0' in alphabetic order, because '1' is less that '2'.

  • I would like to use your 6035E with Matlab, Data aquisition toolbox.

    What drivers do I have to have to use the 6035E AD card with Matlab, Data aquisition toolbox?
    thanks

    You will have to check with Mathworks and see if they have a driver for that board that works with their software.
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Videos in iPhoto used to export with correct date, no they don't.

    Hello, I use iPhoto a lot. About every 6 months I rename and export my photos and videos to a separate portable hard drive for safe storage.
    I am doing that right now, but have noticed that my videos do not export with the correct date (changes the date to the export date), and therefore the videos are not going to be in the right order, and will not have the correct date on my backup files. The pictures export properly with correct date. Just the videos are the problem.
    This problem did not exist before. What has changed? Is there a way to export my videos and retain the correct date again?
    Thank you!

    Thank you for the quick reply Terence!
    Is this something new for Maverick, or new iPhoto update? I have always been able to export video with the correct date. Even when I imported it back into iPhoto later, the correct date was there. I think I updated to Maverick after my last renaming and exporting session.
    I have found that if I drag the video from iPhoto to my desktop, it keeps the correct date on the file and the video is intact. So there must be some sort of "metadata" in the file that has the correct date?? You probably have the knowledge to experiment with this??
    Just seems weird, because for years it was just fine. Now it is not.
    How did the videos used to keep the correct date?
    Thank you.

  • Running out of memory while using cursored stream with large data

    We are following the suggestions/recommendations for the cursored stream:
    CursoredStream cursor = null;
              try
                   Session session = getTransaction();
                   int batchSize = 50;
                   ReadAllQuery raq = getQuery();
                   raq.useCursoredStream(batchSize, batchSize);
                   int num = 0;
                   ArrayList<Request> limitRequests = null;
                   int totalLimitRequest = 0;
                   cursor = (CursoredStream) session.executeQuery(raq);
                   while( !cursor.atEnd() )
                        Request request = (Request) cursor.read() ;
                        if( num == 0 )
                             limitRequests = new ArrayList<Request>(batchSize);
                        limitRequests.add(request);
                        totalLimitRequest++;
                        num++;
                        if( num >= batchSize )
                             log.warn("Migrating batch of " + batchSize + " Requests.");
                             updateLimitRequestFillPriceForBatch(limitRequests);
                             num = 0;
                             cursor.releasePrevious();
                   if( num > 0 )
                        updateLimitRequestFillPriceForBatch(limitRequests);
                   cursor.close();
    We are committing every 50 records in the unit of work, if we set DontMaintianCache on the ReadAllQuery we are getting PrimaryKeyExceptions intermittently, and we do not see much difference in the IdentityMap size.
    Any suggestions/ideas for dealing with large data sets? Thanks

    Hi,
    If I use read-only classes with CursoredStream and execute the query within UOW, should I be saving any memory?
    I had to use UOW because when I use Session to execute the query I get
    6115: ISOLATED_QUERY_EXECUTED_ON_SERVER_SESSION
    Cause: An isolated query was executed on a server session: queries on isolated classes, or queries set to use exclusive connections, must not be executed on a ServerSession or in CMP outside of a transaction.
    I assume marking the descriptor as read-only will avoid registering in UOW, but I want to make sure that this is the case while using CursoredStream.
    We are running in OC4J(OAS10.1.3.4) with BeanManagedTransaction.
    Please suggest.
    Thanks
    -Raam
    Edited by: Raam on Apr 2, 2009 1:45 PM

  • Windows Proximity Un/Lock using ThinkPad Bluetooth with Enhanced Data Rate Software

    While installing the driver for ThinkPad Bluetooth with Enhanced Data Rate Software, the installer asks whether I want to include additional features such as Windows Proximity Un/Lock, file transfer, and others. However, after installing, I cannot find the Proximity Un/Lock option anywhere.
    Can someone please enlighten me as to how I can activate this built-in feature? THANKS!
    -Raj

    Hi
    Welcome to Lenovo Community
    You can directly download and install this package . It will not do any harm to any other component of Operating System
    http://support.lenovo.com/en_US/detail.page?LegacyDocID=MIGR-70042
    Hope This Helps
    Cheers!!!

  • Can I use Apple TV with unlimited data plan for my IPad without any other internet connection?

    I Live in a weird area with no hardwired internet connection.
    My only internet connection is my iPad Air's UNLIMITED DATA plan from AT&T... It's LTE and it works great for my usual work.
    i Want to cancel stupid Direct TV acct and use Apple TV instead...
    IS it possible to subscribe a TV account online by using my ipad air's unlimited data plan and watch in on my TV via Apple TV without  using any other type of home network account?

    If you intend to use your iPads data plan then that will require use of the tethering/hot spot feature. As I said, you will not be able to use airplay, that needs a wifi LAN (home  network). This may change with IOS 8, but won't know for sure until the release.

  • Very strange bug when using a view with a date

    Hi,
    Just thought I'd point out this bug I'd found and see if anybody has had similar problems.
    I'm connecting to Oracle 9i from servlets using the thin client-side JDBC driver. In the Oracle schema I've got a few views to another schema set up. One of them looks like this:
    select
    blah
    blah
    from
    projects
    where
    project_start_date between '1-Apr-2000' and '31-Mar-2010'
    Nothing wrong with this, you'd think. And indeed, the view works fine and any valid queries on the view also work fine if they're performed from anywhere apart from my servlets. The servlets can perform queries on all my other views but they think that this particular view is completely empty.
    As soon as I change the view to:
    project_start_date > '1-Apr-2000'
    the servlets can see the data in the view.
    Hope all this made sense. Anybody else had any similar problems?
    Chris.

    Any time you want to do a date comparison, you really want to do an explicit to_date conversion rather than relying on Oracle to do it implicitly. I'll wager that if you change the view to
    SELECT <columnList>
      FROM projects
    WHERE project_start_date BETWEEN to_date('1-Apr-2000', 'DD-MON-YYYY') and to_date('31-Mar-2010', 'DD-MON-YYYY')that everything will work.
    Justin

Maybe you are looking for