How to use ora:processXSLT to create HTML with BR tags included?

I am using a .xsl to create HTML for use as part of a notification process. The issue is that if in the .xsl I include the
tag, when the transform engine runs to make the HTML it creates <br> tags with out the maching </br> tags. (in doing some reading this seems to be a feature of most XSLT engines) But the result is invalid XML, so when I attempt to assign the output to a variable the process faults and I get the following error:
XPath expression failed to execute.
Error while processing xpath expression, the expression is "ora:processXSLT("XML_PURCHASE_ORDER_to_HTML.xsl", bpws:getVariableData("inputVariable", "payload", "/ns1:XML_PURCHASE_ORDER"))", the reason is The XML data is invalid.
The XML data is invalid; the reason is "Error on line 100 of document : The element type "br" must be terminated by the matching end-tag "
". Nested exception: The element type "br" must be terminated by the matching end-tag "
Message was edited by:
mlutze
Message was edited by:
mlutze
Message was edited by:
mlutze

You can probably set the output format in the stylesheet, like:
<xsl:output method="txt" indent="no" omit-xml-declaration="yes" />
if you really don't want to use xhtml. The result might have to be wraped in a cdata block in the bpel flow?
cheers
/Stig

Similar Messages

  • How to use the DLLs which created from c++ in Java?

    And How to use the DLLs which created from JNI in C++?

    Huh?
    Are you asking how to do JNI - you should read the tutorial.
    Are you asking how to load it - then use System.loadLibrary()
    Are you asking what to do with the output from javah - put it in a C file and write some code, compile it into a dll.

  • In SQLScript, how to use EXEC to call another procedure with parameters in procedure?

    Hi experts,
    In SQLScript, How to use EXEC to call another procedure with input and output parameters in procedure?thanks very much

    Hi Sagar,
    thank you! I generate another procedure with an input parameter and an output parameter in a procedure. Then i need to call the generated procedure using EXEC. Here is my code:
    create procedure ftest1(out sum_num bigint)
    as
    begin
    declare fa_output bigint;
    declare v_sql_drop varchar(200);
    declare v_sql varchar(500);
    declare cursor c_cursor1 for select num from TABLE1;
    --v_sql_drop := 'drop procedure fe';
    --exec v_sql_drop;
    v_sql := 'create procedure fe(in i_num bigint,out o_num bigint) as begin';
    v_sql := :v_sql || ' o_num := :i_num * 2 + :i_num * :i_num;';
    v_sql := :v_sql || ' end';
    exec v_sql;
    open c_cursor1;
    for c_item as c_cursor1 do
    exec 'call fe(c_item.num,o_num=>fa_output)';
    if sum_num is null then
    sum_num := fa_output;
    else
    sum_num := :sum_num + fa_output;
    end if;
    end for;
    close c_cursor1;
    end;
    The underline code is using exec to call the generated procedure. But this method cannot work. Any suggestion? thanks again!

  • How to Use SQL Query having IN Clause With DB Adapter

    Hi,
    I am using 11.1.1.5 want to find out how to Use SQL Query having IN Clause With DB Adapter. I want to pass the IN values dynamically. Any ideas.
    Thanks

    invoke a stored procedure, it's safer than trying to put together an arbitrary SQL statement in the JCA adapter

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • How to use 45W MagSafe 2 Power Adapter with cable management MagSafe 2 power port macbook air 2013

    How to use 45W MagSafe 2 Power Adapter with cable management MagSafe 2 power port macbook air 2013 there's two plugs do I use both for the safety to work or I just one ? Thanks sorry new macbook air 2013 was given to my daughter fir her 18th bday 2 days ago by my brother

    No, the one is just an extension cord,          just use the 45W charger with its attached thin cord and connect the magnetic magsafe to to the connector on the back left of the macbook Air for use and charging it

  • How to use Mac Mini Server as NAT with only one port??

    How to use Mac Mini Server as NAT with only one ethernet port??

    But why did apple sell me this server that does NAT with one port? I don't get it.

  • How to create HTML with tree stucture representation of xml

    hi....in my application i have a xml and xslt ..i have to generate one html
    that will display the xml which will have 2 display area one is for navigator and one view area
    there will be a navigator which is display all the nodes with its hierrerchy
    and when we click a node its all attribute value will be shown in a table
    the look and feel will be same as below html where left display area denotes the nodes and the table represents the attributes of the node
    http://www.free-dev.com/demo_invoice_9i.htm
    can any body help me on that how i will do it?? any similar help link to proceed.....pls give me the suggesstion how i will proceed

    You can do that in Java iteself. Using the logic of creating a tree structure dynamically. (If you dont want to make it as complex, check out web for creating tree structure )
    In the below link an articles talks about creating tree structure using DOM in JAVASCRIPT.
    http://www.google.co.in/search?hl=en&q=HTML+parser+in+vb6&meta=
    If you want to enhance tree struc. try in dynamicdrive.com...

  • How to use Synchronized method when creating our own controls

    I don't know how to use the synchronized method when creating our own activex like controls to speed up the application.

    [url http://java.sun.com/docs/books/tutorial/essential/threads/multithreaded.html] here you go 

  • How to use migration assistant without creating dual user accounts

    I want to use migration assistant to transfer apps, software & files on my macbook pro to my new macbook air. How can I do this without creating two user accounts for myself on the m-book air -- my account from the m-book pro & the one that the air makes me create as soon as I do start-up? Can I just use the same name & password for both? or will that make things go badly awry?
    Thanks!

    If you have not booted the MBA for the first time and gone through the Setup Assistant, then I would use the Setup Assistant to make the transfer before you even create another user account. However, if you've already created the new user account on the MBA, then create a new admine one with a different username than the account you will migrate. Log into this new account, delete the first account you made, then use Migration Assistant to transfer your account from the MBP.

  • How to use Jquery Data Grid in HTML

    can anyone please tell me how to use JQuery Data grid in my HTML page with example.
    I have one HTML page i want the standard JQuery Data Grid with search and pagination functionality.

    Guys I have got the solution
    thanks a lot
    please refer this link for JQGrid
    http://www.codeproject.com/Articles/609442/Using-JqGrid-in-ASP-NET

  • How to use class.getResource() to create an ImageIcon

    Hi,
    I am well acquainted with creating and using ImageIcon icons using the ImageIcon constructor
    and putting the image file in a folder called Images which is at the same level as the
    bin and src folders.
    I discovered a demo program, LayeredPaneDemo, that uses class.getResource() to create
    an icon and found that in my eclipse version, the icon's image file was not found when
    I used the original getResource() call but the icon was created when I used the ImageIcon
    constructor.
    I posted on JavaRanch and eventually realized that the image file needed to be with the
    .class files, so I moved the Images folder under bin and getResource() works fine and I'm
    happy.
    However, I have three questions for you.
    One poster on JavaRanch told me that it's better to use getResource() rather than the
    ImageIcon constructor for distributing an app (I'm not distributing anything but want
    to do it all correctly).
    Do you agree with that or can I safe keep using the ImageIcon constructor?
    Another poster told me he doesn't think it's safe to leave the image file in bin because
    it might be lost during the build in eclipse and that there is a way to have eclipse copy
    the files to bin during the build which should mean that I can leave the images folder at
    the level of bin and src.
    Do you agree with that?
    If yes, how do I get eclipse to copy the file during the build?
    P.S.
    Before I posted on JavaRanch, I put the Images folder at every level of the project's
    directory as shown in eclipse (which is why I missed the bin folder until JavaRanch
    whacked me upside the head) and getResource() still didn't work.

    The contents of the Java Source folder are compiled if they're source files, copied otherwise (assuming no filter's been put in place to prevent copying), so your images belong under a source folder.

  • How to use the java class created by  "CONTIVO" as web sevrvice?

    Hi All,
    We are creating the java class by the Contivo mapping tool, how to use that class as a web serivce?
    Very thankful if anyone gives some light on this.
    Thanks in advance.....
    rgds,
    Rajeev Pariyadathu

    com.contivo.runtime.dom.Transform
    Transform.transform(     "Transform_HotelAvailRQ_",file1, file2);, like this we can use the contivo generated class

  • How to use networkmanager-applet to creat wireless internet sharing?

    hi,
    I'm trying to creat a wireless connection to share internet with another laptop.
    I followed the usual step like how i did it on Ubuntu
    Creat New Wireless Connection-->
    then I setup a connection
    Mode: Ad-hoc  (No security password, cuz it's for testing)
    ipv4 settings: Method: shared to other computers
    when I tried to connect to this connection, it does work for only a second. the notify-osd says connection established, then changed into disconnected right after. and the connection does was detected on the other laptop (with vista), but only last about a second.
    I have no idea what happed. but it works perfectly on Ubuntu, with the same operations.
    also, if I create a connection on vista, it can connect to that connection.
    what should I do to make it works as well as how it does in unbuntu?
    # /etc/rc.conf - Main Configuration for Arch Linux
    # LOCALIZATION
    # LOCALE: available languages can be listed with the 'locale -a' command
    # HARDWARECLOCK: set to "UTC" or "localtime"
    # USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
    # TIMEZONE: timezones are found in /usr/share/zoneinfo
    # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
    # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
    # CONSOLEMAP: found in /usr/share/kbd/consoletrans
    # USECOLOR: use ANSI color sequences in startup messages
    LOCALE="en_US.utf8"
    HARDWARECLOCK="localtime"
    USEDIRECTISA="no"
    TIMEZONE="Asia/Shanghai"
    KEYMAP="us"
    CONSOLEFONT=
    CONSOLEMAP=
    USECOLOR="yes"
    # HARDWARE
    # MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
    # MOD_BLACKLIST: Prevent udev from loading these modules
    # MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
    # NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
    MOD_AUTOLOAD="yes"
    #MOD_BLACKLIST=() #deprecated
    MODULES=(acpi_cpufreq cpufreq_ondemand cpufreq_powersave usblp usbcore)
    # Scan for LVM volume groups at startup, required if you use LVM
    USELVM="no"
    # NETWORKING
    # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
    HOSTNAME="kwan-laptop"
    # Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
    # Interfaces to start at boot-up (in this order)
    # Declare each interface then list in INTERFACES
    # - prefix an entry in INTERFACES with a ! to disable it
    # - no hyphens in your interface names - Bash doesn't like it
    # DHCP: Set your interface to "dhcp" (eth0="dhcp")
    # Wireless: See network profiles below
    #Static IP example
    #eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
    eth0="dhcp"
    INTERFACES=(lo !eth0 !ath0)
    # Routes to start at boot-up (in this order)
    # Declare each route then list in ROUTES
    # - prefix an entry in ROUTES with a ! to disable it
    gateway="default gw 192.168.0.1"
    ROUTES=(!gateway)
    # Enable these network profiles at boot-up. These are only useful
    # if you happen to need multiple network configurations (ie, laptop users)
    # - set to 'menu' to present a menu during boot-up (dialog package required)
    # - prefix an entry with a ! to disable it
    # Network profiles are found in /etc/network.d
    # This now requires the netcfg package
    #NETWORKS=(main)
    # DAEMONS
    # Daemons to start at boot-up (in this order)
    # - prefix a daemon with a ! to disable it
    # - prefix a daemon with a @ to start it up in the background
    DAEMONS=(syslog-ng hal fam cpufreq @laptop-mode ufw networkmanager dnsmasq netfs cups crond avahi-daemon !network !lastfmsubmitd !lastmp alsa gdm)
    [kwan@kwan-laptop ~]$ ifconfig
    eth0 Link encap:Ethernet HWaddr 00:13:A9:50:3D:2B
    inet addr:192.168.1.101 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::213:a9ff:fe50:3d2b/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:1628 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1788 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:1061372 (1.0 Mb) TX bytes:276083 (269.6 Kb)
    Interrupt:16
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:694 errors:0 dropped:0 overruns:0 frame:0
    TX packets:694 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:34780 (33.9 Kb) TX bytes:34780 (33.9 Kb)
    wlan0 Link encap:Ethernet HWaddr 00:19:7D:C0:F8:5A
    inet6 addr: fe80::219:7dff:fec0:f85a/64 Scope:Link
    UP BROADCAST MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:90 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:20024 (19.5 Kb)
    wmaster0 Link encap:UNSPEC HWaddr 00-19-7D-C0-F8-5A-00-00-00-00-00-00-00-00-00-00
    UP RUNNING MTU:0 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

    I can't get this to work either.  I've tried everything I can think of.
    Relevant configuration file:
    # DHCP configuration generated by Firestarter
    ddns-update-style interim;
    ignore client-updates;
    subnet 192.168.1.0 netmask 255.255.255.0 {
        option routers 192.168.1.1;
        option subnet-mask 255.255.255.0;
        option domain-name-servers 128.253.180.2, 132.236.58.250;
        option ip-forwarding off;
        range dynamic-bootp 192.168.1.100 192.168.1.110;
        default-lease-time 21600;
        max-lease-time 43200;
    dnsmasq is installed and running.
    created ad-hoc network in nm-applet, tried all sorts of different configs in there to no avail.
    Has anyone gotten this working in Arch?

  • How to Use NDS Tool and create a very simple application

    Hi All,
      Today i have Installed NDS on my machine,but i dont know
    how to use it,is there any guide inside NDS which gives me step by step procedure to create a simple application.
    Can any link help me know about this.version of NDS is 2.0.9.Is this latest one?
    I am pretty confused about NDS and PDK,if NDS can be used to develop java apllications ,then whats the need of PDK at all?
    Thanks in Advance
    Rani A

    Hi Rani,
      The Portal Development Kit (<b>PDK</b>) provides documentation and examples with source code to demonstrate how to develop portal applications and portal content for the SAP NetWeaver Portal using the <b>SAP NetWeaver Developer Studio</b>.
    PDK includes coding examples on the following topics:
    *Creating Portal Components and Portal Services,Portal Profiles,Resources,Internationalization,Portal Beans,Page Builder,EPCF,Application Integrator,Connector Framework,Portal Navigation,Object Based Navigation,Transformation Service,User Management etc
    PDK is for deployment for portal application, has very good documentation of portal development, contains sample application, Java Docs for all the apis for portal and KM and plugins for eclipse(which you don't need if you are using NWDS). It is basically a nice help for developer along with an iviews for uploading par and testing them.
    In EP 6.0 it is just business package that you import to your portal. This will then give a "java development" role in portal which can be assigned to users. The role will then create a tab called "Java Development" in the top navigation and click on it you can see all the contents underneath.
    If u want to see the application on which an iview is based on import that par file into NWDS.
    Regards,
    Pooja.

Maybe you are looking for

  • Can't send document attachments from Mail to iPhone

    ...well I can but not very well.... When using Gmail IMAP to sync everything, document attachments sent from Mac Mail to iPhone mail arrive as a bit of mess.. i.e. not as attachments but as text within the email itself, plus lots of garbled numbers a

  • Need help in query tuning

    Hi All, In my application I have 3 tables. Event(1.2 L records), KeyWord(1K records) and Event_KeyWord_Mapping(1.4 L records) table. In my query i need to sort the Events table by 3 columns -( 1 Date column and 2 String column) and i am interested on

  • Does Firefox work on my cricket zte score

    I have a cricket (ZTE Score )android phone how can I download Firefox on my phone

  • Power Adapters

    hi, I just bought a new ibook g4 I've been on the computer that is listed for 2 years, and it was 3 years old when I got it, it recently died... However my problem lies wih the power adapter on my new iBook. After plugging the computer in I have foun

  • Subwoofer still active when headphones plugged.

    Hi everyone, I've just realised that on my laptop, the subwoofer is still playing music when i've plugged-in my headphones. Kernel 2.6.35.4, Alsa 1.0.23, 00:08.0 Audio device: nVidia Corporation MCP79 High Definition Audio (rev b1) I don't know when