XML Rendering
My jsp pages would be transformed by XSLT for layout formatting, So I do not use JSF's UIComponents. I'm failed to invode the navigation-rule without using UIComponents.
Does somebody have idea how to inoke the navigator-rule using custom java code?
Thanks.
Adobe Forums wrote:
> <?xml version="1.0" encoding="utf-8" ?>
> - <SearchResults:searchresults
> xsi:schemaLocation="
http://www.zillow.com/static/xsd/SearchResults.xsd
>
/vstatic/ad61129f275e26eed3e3f3aba47dcc02/static/xsd/SearchResults.xsd"
> xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
> xmlns:SearchResults="
http://www.zillow.com/static/xsd/SearchResults.xsd">
> - <request>
> <address />
> <citystatezip />
> </request>
> - <message>
> <text>Error: invalid or missing ZWSID
parameter</text>
> <code>2</code>
> </message>
> </SearchResults:searchresults>
assuming you parsed this or created an xml var named "x":
x['SearchResults:searchresults'].request.address
Similar Messages
-
XML rendering in IE and Netscape
Hi all,
I have a simple servlet that streams xml data to the browser. When I view the page in IE it is formatted in the DHTML tree structure but with Netscape 7 it is messed up. However when I open an xml document directly in Netscape, it works! My JSP page has an IFrame that streams the XML data. Can someone let me know why XML rendering does not work in Netscape but in IE? Do I need to set some browser specific parameter in my servlet?
Many thanks
clementvHi,
Iam setting the content type as 'text/xml'.
byte[] bytedata = null;
resp.setContentType(CONTENT_TYPE);
if (mBean != null && mBean.getParsedXMLContent() != null ) {
bytedata = mBean.getParsedXMLContent().getBytes();
//Create Servlet Output Stream
sos = resp.getOutputStream();
sos.write(bytedata);
} -
The XML twp and iFS overview refer to XML parsing and rendering
in relation to iFS. If we are interested in XML rendering only,
do we require iFS ?
TIA
Ronny
nullIf you need XML Rendering only, you will need to wait for our XSL
Processor which is currently in development. No announced time
for beta as yet.
Ronny Weisz (guest) wrote:
: The XML twp and iFS overview refer to XML parsing and rendering
: in relation to iFS. If we are interested in XML rendering only,
: do we require iFS ?
: TIA
: Ronny
Oracle XML Team
http://technet.oracle.com
Oracle Technology Network
null -
I have created several medium-sized (100-200 page) xml documents for my company, and successfully displayed them in a browser (formatting through css). However, the images do not display as (I believe) the entity locations don't accurately point to the image file.
I recently completed a 1000+ page document, divided into chapters and compiled into an xml Framemaker book. The book file points to entity locations (chapters and graphics) and the chapter file names have a suffix of ".e0x" as described by the developer's manual. The chapter files do not seem to be connected to the book xml file; neither my xml editor or browser recognize connections between the book and the chapter files.
Here are my questions.
1. How do you create entity references that identify image locations to a browser (rwr or struc app)?
2. How do you create entity references that identify xml file locations?That was it! Thanks!
Subbu Allamaraju <[email protected]> wrote:
Please make sure you've the url mapping for .portal extension in your
web.xml?
Subbu
Chris Jennings said the following on 10/15/2003 08:49 AM:
I have a portal application in workshop. Often, when I "Open CurrentPortal" in
the browser I get the raw XML instead of the rendered page. What mightcause this?
Thanks,
Chris -
I know people have talked about this before but its killing me so I thought I would bring it up again. Safari 4.0 is awesome but the one deficit Safari has that keeps me from using it as my only browser is its inability to render XML. All the other major browsers can do this and Opera allows you to plug in a JavaScript extension to handle this task. As a developer who constantly deals with XML this is a big deal. I frequently hit XML-RPC or REST services from the browser or use web apps that deal with XML. Sometimes I just want a light weight way of viewing pretty printed XML. When Safari gets XML it just renders the text nodes. You can use the "View source" option to see the actual XML but its not pretty printed, can be difficult to read, and adds another step into process.
This has to be an easy feature to add! I didn't see any obvious way to submit feature requests so I'm hoping some Apple product people read this. Thanks!
-WillJerry:
Did you look inside the iPhoto Library/Originals folder to see if the image files were in there? If you're lucky they were only deleted from the library and not the hard drive.
The external HD problem is very perplexing. Was it mounted when you had to force quit out of iPhoto? Run Disk Utility on it to repair the disk. See if that will bring back the photos. It could be a damaged directory file that is making them not appear there. DiskWarrior would be the tool to use to rebuild the directory file on the external. It's one of my "got to have" utilities for maintenance and repair.
If you can't recover the image files download and run SubrosaSoft FileSalvage to see how many image files it says it can recover. It lets you do that before you commit to purchase. The downside to that is the recovered files will have some strange file name that the application gives it and will be difficult to organize except by visual examination.
If you get them back I'd start a new library and import all over again. Don't mess with the current library as it's probably corrupted. You might also consider reinstalling iPhoto from the disks it came one, update to the latest version and repair disk permissions. -
HTML held in DOM (as XML) rendered onto JEditorPane
I am interested to know if anyone out there has any ideas on the following?:
I am holding an html document as a DOM object as it is part of an xml message (which undergoes various transformations) that is passed through our software.
The problem is that to do this I have had to make the html into a 'well-formed' xml document (which doesn't conform to html 3.2)
Basically this causes problems where I want to use html elements that forbid end tags (e.g. <br> or <img>), in that the DOM when written out contains these end tags (so <br> becomes <br></br> or
This actually works fine in IE (as it's quite lenient to these things) but when you put it in a JEditorPane it displays a spare > (not quite sure on it's logic!).
So... does anyone have any good ideas?? My only thought was to extend the HTMLEditorToolKit to be more lenient with these but that strikes me as being a bit hard! I know I can get around it by putting spaces in for things like img (e.g. <img src="bla.gif"> </img> displays fine whereas <img src="bla.gif"></img> displays the image and then a > symbol!)If anyone is still interested in this tread, an article was written on this subject and ways to work around it:
http://www.xml.com/pub/a/2000/08/30/xsltandhtml -
Dynamic Table Width for XML Renderer
Hi Guys,
I'm looking for a way to get a XML documents with a dynamic table width.
Using a dynamic result table doesn't work.
The test program looks like this.
REPORT xml_test.
TYPE-POOLS: ixml.
DATA: go_ixml TYPE REF TO if_ixml.
go_ixml = cl_ixml=>create( ).
DATA: go_xml_document TYPE REF TO if_ixml_document.
go_xml_document = go_ixml->create_document( ).
DATA: go_xml_root_elm TYPE REF TO if_ixml_element.
go_xml_root_elm = go_xml_document->create_simple_element(
name = 'flights'
parent = go_xml_document
value = 'Texas Flight' ).
DATA: go_xml_main_elm TYPE REF TO if_ixml_element.
go_xml_main_elm = go_xml_document->create_simple_element(
name = 'airline'
parent = go_xml_root_elm ).
DATA: lv_rc TYPE i.
lv_rc = go_xml_main_elm->set_attribute( name = 'code' value = 'LH401' ).
DATA: go_xml_streamfactory TYPE REF TO if_ixml_stream_factory.
go_xml_streamfactory = go_ixml->create_stream_factory( ).
* Static Creation of X tab ---------------------------------------------
DATA: BEGIN OF gs_xml_line,
data(255) TYPE x,
END OF gs_xml_line.
DATA: gt_xml_table LIKE TABLE OF gs_xml_line,
gv_xml_size TYPE i,
go_ostream TYPE REF TO if_ixml_ostream.
* END Static Creation of X tab ------------------------------------------
* Dynamic Creation of X tab ---------------------------------------------
FIELD-SYMBOLS: <lf_x_tab> TYPE STANDARD TABLE,
<lf_x_stru> TYPE ANY.
DATA: lt_fldcat TYPE lvc_t_fcat.
DATA: lr_tab TYPE REF TO data,
lr_stru TYPE REF TO data,
ls_fldcat TYPE lvc_s_fcat,
lv_dyn_width TYPE i.
lv_dyn_width = 255.
* Append Dynamic Field.
CLEAR ls_fldcat.
ls_fldcat-fieldname = 'DATA' .
ls_fldcat-datatype = 'X'.
ls_fldcat-inttype = 'X'.
ls_fldcat-intlen = lv_dyn_width.
APPEND ls_fldcat TO lt_fldcat .
* Create dynamic internal table and assign to FS
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
it_fieldcatalog = lt_fldcat
IMPORTING
ep_table = lr_tab.
ASSIGN lr_tab->* TO <lf_x_tab>.
* Create dynamic work area and assign to FS
CREATE DATA lr_stru LIKE LINE OF <lf_x_tab>.
ASSIGN lr_stru->* TO <lf_x_stru>.
CHECK sy-subrc = 0.
* END Dynamic Creation of X tab ------------------------------------------
* Static Table works
go_ostream = go_xml_streamfactory->create_ostream_itable( table = gt_xml_table ).
* Dynamic Table doesn't work
go_ostream = go_xml_streamfactory->create_ostream_itable( table = <lf_x_tab> ).
* Show result
DATA: go_renderer TYPE REF TO if_ixml_renderer.
go_renderer = go_ixml->create_renderer( ostream = go_ostream
document = go_xml_document ).
lv_rc = go_renderer->render( ).
gv_xml_size = go_ostream->get_num_written_raw( ).
DATA: lv_str TYPE string,
lv_xstr TYPE xstring.
LOOP AT gt_xml_table INTO gs_xml_line.
lv_xstr = gs_xml_line-data.
CALL FUNCTION 'HR_KR_XSTRING_TO_STRING'
EXPORTING
* FROM_CODEPAGE = '8500'
in_xstring = lv_xstr
* OUT_LEN =
IMPORTING
out_string = lv_str.
WRITE: / lv_str.
ENDLOOP.
If the static table is used, the program gets a result, but it doesn't work with the dynamic table.
* Static Table works
go_ostream = go_xml_streamfactory->create_ostream_itable( table = gt_xml_table ).
* Dynamic Table doesn't work
go_ostream = go_xml_streamfactory->create_ostream_itable( table = <lf_x_tab> ).
Any Ideas?
Thanks in advance
DominikI've never used dynamically changing popup items variable before, and I'm not sure it will work(?)
But, if it's displaying a long string, it does not sound like 'items' is being assigned a proper table yet.
I don't know what you mean by a "chunk" of values. I assume you mean table.
In any case, if SYPNEventResults[1].title is a string, then SYPNEventResults[1].value can be any legal lua type.
Likewise for SYPNEventResults[2], SYPNEventResults[3], ...
If you can index/display the title with this syntax, e.g. LrDialogs.message( SYPNEventResults[1].title ), then the popup should be initialized thusly:
viewFactory:popup_menu {
items = SYPNEventResults,
value = LrView.bind('eventname2'),
width_in_chars = 40,
if a function is returning multiple values, then to get it into a table "array", do this:
local tableArray = { myTableArrayFunc( myTableArrayParameters ) }
Does this help?
Rob -
Question about Java and XML rendering for Word 97 upwards.
Without using the apache POI library, and by sticking to non-pay products,
is it possible to use java or XSLT/XML to turn
an xml formatted file into a
Microsoft Word/Excell/PDF file within one framework?Look into Apache FOP. But be warned: it will most likely use POI to do any excel conversions. That's how (sane) software development works: you don't reinvent the wheel, you effectively reuse what is already there.
-
XML Rendering not working in Safari
Hi all,
Just updated my official unlock iPhone 3G S to 3.1 yesterday. Used Safari on it last night and waptrick.com wouldn't render (1st time I went there). It just showed its source, which is in XML (I think). A friend's unofficial unlock 3G 3.0 Safari showed the page fine. I've never noticed this before and I'm not sure how to proceed. Nothing on the web/Google has listed this. Is it settings? HELP! Cheers.
SrynHi Shay,
Thank you for the quick answer.
No it does not work on the ipad or iphone.
It works on chrome for the ipad!
PPR does not work for the second click on the same button.
In you example it will accept the first click but ignore the rest of the clicks on the same button.
We are about to create a ADF app for the ipad and this is a major showstopper.
Hope we can find some sort of workaround, that does not involve dropping PPR.
Regards Johnny -
XML rendering of folders and/or folder items
Hello,
Rummaging thru the Portal pkg. specs, I came across apis that generate an xml lsiting of folders (and their sub-folders) ,as well as folders and their items. Can we get a corresponding XSL and DTD as sample code ?Hi,
The maximum number of resources is 2,147,483,648
Refer this thread
https://forums.sdn.sap.com/thread.jspa?threadID=445652&tstart=0
Regards,
Senthil K. -
can we generate a form dynamically, with respect to an XML file in the server???
forgot to add. cldc does not come with built it
parser. So you will have to create your own, or
simply use a 3rd party one.ya ok, thanx... but i hope these 3rd party ones r different from JSR API's... in the sense that it doesnt OEM's to support it or anything.
and what abt efficiency?
thanx a ton
=======
Kiran -
We make a Content Management system that renders XML inside of iframe in a few different areas. As of Firefox 17, these iframes no longer render using the built-in Firefox XML renderer but instead as plain text.
A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
*http://forums.mozillazine.org/viewforum.php?f=25
The helpers at that forum are more knowledgeable about web development issues.<br>
You need to register at the MozillaZine forum site in order to post at that forum.
It is probably best if you have a web page with example code, so they can test this themselves. -
Hi,
I am storing some documents created from XML forms into a new repository created by us in KM. while opening this document from our repository, the content is opened in normal XML file format, instead of expected XML form renderer. But if I choose to edit this document, I am getting it opened in XML renderer. Any solutions to fix it ?
I added my repository to xmlforms_filter, in KM->CM->XMLFormsRepositoyFilter, but I got null pointer exception while editing and content not hyperlinked for directly opening.
Thanks in Advance,
JohnI am attaching the stacktrace....
com.sapportals.wcm.repository.ResourceException: Exception while applying filters: null
at com.sapportals.wcm.repository.ResourceException.fillInStackTrace(ResourceException.java:400)
at java.lang.Throwable.(Throwable.java:195)
at java.lang.Exception.(Exception.java:41)
at com.sapportals.wcm.WcmException.(WcmException.java:59)
at com.sapportals.wcm.util.content.ContentException.(ContentException.java:34)
at com.sapportals.wcm.repository.ResourceException.(ResourceException.java:227)
at com.sapportals.wcm.repository.runtime.CmFilterHandler.handleRuntimeException(CmFilterHandler.java:996)
at com.sapportals.wcm.repository.runtime.CmFilterHandler.applyContentFilter(CmFilterHandler.java:546)
at com.sapportals.wcm.repository.runtime.CmFilterHandler.applyContentReadFilter(CmFilterHandler.java:108)
at com.sapportals.wcm.repository.ContentImpl.applyContentReadFilter(ContentImpl.java:389)
at com.sapportals.wcm.repository.ContentImpl.initContent(ContentImpl.java:374)
at com.sapportals.wcm.repository.ContentImpl.getContentType(ContentImpl.java:159)
at com.sapportals.wcm.service.xmlforms.transformation.ResourceDemultiplexer.getContentStream(ResourceDemultiplexer.java:71)
at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:129)
at com.sapportals.wcm.service.xmlforms.transformation.Transformation.renderItemOrTemplate(Transformation.java:274)
at com.sapportals.wcm.app.xmlforms.EditServlet.doGetAction(EditServlet.java:342)
at com.sapportals.wcm.app.xmlforms.XFBaseServlet.doGet(XFBaseServlet.java:246)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.wcm.app.xmlforms.XFBaseServlet.service(XFBaseServlet.java:134)
at com.sapportals.wcm.portal.proxy.PCProxyServlet.service(PCProxyServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sapportals.portal.prt.core.broker.ServletComponentItem$ServletWrapperComponent.doContent(ServletComponentItem.java:110)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:95)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160) -
I want to design a News like the *LInklist* by XML Form Builder
Hello:
Everyone!
Now I have another problem about XML Form Builder
I want to design a News like the LInklist by XML Form Builder
I want the result,For Example
SAP News
1news1
2news2
3news3
who can give me some adviseon about how to disign the Edit, Show and Renderlistitem in XML
Thanks a lot
Hope your help!Hi,
In XML Form
1) Edit form is used for designing the user interface.
2) Show form is used for displaying the xml form to the end user
3) RenderListItem is used for rendering the xml form into a small description like 1News1, 2news2 etc..
Here you need to display only the heading of the xml form
After you create the xml form
Create Layout set where you need to give the proerties like xml renderer form , no of items to display etc...
Thanks&Regards,
Raghu -
Custom Renderer / Embedded Objects
In looking over the developer's guide, it suggests that one would have to create a custom XML renderer to handle deep structured documents (i.e., embedded objects). Is my reading of the renderer chapter correct?
Thanks in advance.Check out the technical brief on a XSL Renderer sample application at:
http://technet.oracle.com/products/ifs/
Maybe you are looking for
-
TS2446 when i want download any app from appstore i cant cus this message plz help me apple
i have big proplem plz help me apple pl when i down anything from appstore iphone your apple id has been disabled help me i cry
-
OIncomingPayment + BillOfExchange = error -5002 - Invalid dll path or name
Hi for all, I´m having a problem when I try to pay a incoming payment from a invoice with BillOfExchange, I´ve been search all this forum for many hours, with all possibile combinations of subject, but any past topic could explain this problem.
-
Copy quantity confirmation from Qt to SO
Hi While i copy Quotation confirmation for SO creation , system again go for availability check automatically , after that i observed that it confirm other quantity instead to quantity blocked by Quotation. So its like double quantity confirmation fo
-
How to download music from iPhone 4?
How to download music from iphone4 to new mac without deleting the old data from the iPhone4? my frnd slip coffee on my old mac so had to get a new one and now want to add new songs onto my phone but don't want to loose my old songs. Any suggestion??
-
Auto-Save &Auto-Close after inactivity
I'm new to JavaScript, so please be patient. I am using Acrobat XI I have a document that I am trying to have auto-save and auto-close after 10 minutes of inactivity. I've found where I would enter the JavaScript under the document actions, and I see