XSL-FO Style Sheet Questions..
Hi,
I have some questions regarding XSL-FO Style Sheet
1. How can add some more fields to the XSL-FO Style Sheet when they are not included in the original XML source.. ( like we have attribute1 through attribute3)
for storing telephone number, fax number and email of the buyer) as we do not have access to the source code that generates the XML.
2. I need to include the signature image at the bottom of the PO and that depends on the operating unit to which the PO belongs.
I will appreciate if you can show some light on this with some examples..
Thanks for your help..
Shree
Hi,
For the question 2, I thinck you can read the XMLP blog entry :
http://blogs.oracle.com/xmlpublisher/2006/04/13
Hope you will help.
Cyryl
Similar Messages
-
Company logo in PO XSL-FO style sheet
Hi
I am working on inserting company logo on a PDF purchase order. For this I have changed the XSL-FO style sheet as follows
I uncommented the following code in the xsl file and added the company logo as shown below
<fo:inline>
<fo:external-graphic content-width="248pt" content-height="33pt" src="url('{'${OA_MEDIA}/image.gif'}')" />
</fo:inline>
and then I made the following changes in the set up
Setup / Organizations / Purchasing Options / Control TAB / set 'PO Output Format' = 'PDF'
setup / purchasing / document types / select "Standard Purchase Order" / Set the Document Type Layout to new template.
But when I try to view the PO PDF from Purchase Order Summary, I don't see any changes. The company logo is not displayed.
Any idea on where I went wrong. Any help is greatly appreciated.
Thanks,
SharmilaThanks for your quick reply Dave, I appreciate your time.
But I couldn't test the new template as I was neither able to create a new PO nor was able to run the PO Output for communication Report. When I tried to create a PO the Purchase Order form did not open saying I am not setup as an employee, even the PO Output for communication did not give any LOV for the PO's.
I tried to define employee name in the employee's login
information (System administrator/Security/User/Define) for my user, but some how my name doesn't appear in LOV. Any help is appreciated.
Thanks,
Sharmila -
Media Print Style Sheet Question
Hello!
I just added a Media Print style sheet to a website.
Everything seems to
work for the most part fine and the layout is as expected and
functioning as
desired. When I print from Firefox the print size is 12 pt as
my style sheet
specified, however when I print exactly the same page from
Internet Explorer
the print size is tiny - like maybe eight or something. I
thought that the
media print style sheet communicates directly with the
printer while the
screen style sheet communicated with the viewer screen. Am I
mistaken? Why
does the print size change depending upon what browser you
use?
Does anyone have a suggestions on how to get the Internet
Explorer to
recognize the font size command and print in 12 pt instead of
8?
Thank you
Best Regards,
Webdesigner.oO(Webdesigner)
>I just added a Media Print style sheet to a website.
Everything seems to
>work for the most part fine and the layout is as expected
and functioning as
>desired. When I print from Firefox the print size is 12
pt as my style sheet
>specified, however when I print exactly the same page
from Internet Explorer
>the print size is tiny - like maybe eight or something. I
thought that the
>media print style sheet communicates directly with the
printer while the
>screen style sheet communicated with the viewer screen.
Am I mistaken? Why
>does the print size change depending upon what browser
you use?
The stylesheet itself doesn't communicate with anything. It's
always the
browser that renders the document or sends it to the printer.
Different
browsers behave differently, so there will always be
differences in the
ouput. Some smaller, some bigger.
>Does anyone have a suggestions on how to get the Internet
Explorer to
>recognize the font size command and print in 12 pt
instead of 8?
Got a URL so we can have a look at it?
Micha -
Working on a book of about 200 pages with multiple chapters. Each chapter must start on a right hand page, which I know how to do. What I do need help with is that my client wants the title of the page on the right hand page by itself, but the opening paragraph of the chapter to appear on the next right hand page (still good with this) but starting about 2in down from the top margin. So how do I make that opening paragraph appear 2 in down on the page after the title page. Space before or after doesn’t seem to work. I also need to have the chapter title appear lower on its page as well.
Any help appreciated.Ariel's script can be purchased at http://www.freelancebookdesign.com/scripts/apply-masters-based-on-paragraph-styles
There seems to be some discussion over in the scripting forum, too, at http://forums.adobe.com/message/4525554, but I suspect the interface in Ariel's work will be more to your liking. -
Generate report from database using .xsl style sheet
I am trying to view test result histories for specific uut serial numbers.
We are logging all test data to the default access database template that was provided with Teststand.
Is there a method of generating reports from the database that match the format of those generated at runtime?
I was surprised to find that the default access database did not contain any gui or pre-made reports matching the xsl style sheets chosen in the report options dialog.
My database skills are weak, I am able to browse the raw data and I see the relationships between some of the tables, but the prospect of recreating one of the xml report formats in access seems daunting. Am I missing something? what is the best way to print a uut report from test data stored in access?Hello msears,
Thank you for posting on the NI Discussion Forums. Unfortunately there are no tools available in TestStand for directly converting an Access database to a formatted .xsl report. It is possible to have a step in a sequence that reads the information from the database, and create the .xsl report as if it had been generated at sequence run-time, by writing those values directly to Locals.ResultList. Admittedly, this would require some knowledge of Microsoft Access, and the ability to write a program that will extract information from the database, in order to include it as a step in the sequence.
Is there anything stopping you from creating a formatted .xsl report when the sequence is run (instead of trying to create it from previous data stored in an Access database)?
Chris_G
Sr Test Engineer
Medtronic, Inc. -
XML page cannot be displayed cannot view XML input using XSL style sheet Please correct the error and then click the REfresh
Is the error message displayed in Firefox or in IE, or in a customized window that doesn't identify the browser?
''If it displays in Firefox:''
It's possible that the Troubleshooter doesn't work correctly unless IE is your default browser. You could test that possibility by having IE make itself the default and testing the Troubleshooter again.
''If it displays in IE or embedded in another Microsoft application:''
In a web search I found these suggestions:
(1) Reset your Internet Explorer settings, according to http://answers.microsoft.com/en-us/ie/forum/ie8-windows_7/cannot-view-xml-using-xsl-style-sheet/ccfe80c6-c0db-4594-a7e3-475f9eac0e85
(2) Try the System File Checker, according to http://ask-leo.com/why_do_i_get_the_xml_page_cannot_be_displayed_after_running_a_microsoft_troubleshooter.html
Any luck? -
Cannot view XML input using XSL style sheet. Please correct the error and..
Hi All,
Scenario XML to IDOC.
The interface determination decides whether to create IDOC X or IDOC Y based on a xml segment value.
I have an error in the SXMB_MONI:
<!-- Interface Determination
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="IF_DETERMINATION">CX_ID_PLSRV</SAP:Code>
<SAP:P1>Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160).</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error when determining the inbound interface: Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Problem evaluating a condition: Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_RULE occurred (program: CL_SWF_RLS_CONDITION==========CP, include: CL_SWF_RLS_CONDITION==========CM00Q, line: 160). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: CL_SWF_RLS_COMPARISON=========CP, include: CL_SWF_RLS_COMPARISON=========CM002, line: 63). Exception CX_SWF_RLS_OPERAND_MISSING occurred (program: SAPMSSY1, include: , line: 0). Exception CX_SWF_EXP_EVALUATE occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM027, line: 38). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SWF_EXP_EXPRESSION=========CP, include: CL_SWF_EXP_EXPRESSION=========CM01Z, line: 520). Exception CX_SWF_EXP_EXPRESSION occurred (program: CL_SAI_SWF_RULE_ENGINE========CP, include: CL_SAI_SWF_RULE_ENGINE========CM00S, line: 42). Problem extracting values from the Payload: Check line 2 column 1 of the XML document</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
From the SXMB_MONI, the inbound message payload is truncated with an error:
- <ProductIdentification>
<GlobalProductIdentifier />
- <PartnerProductIdentification>
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
The following tags were not closed: Pip3B12ShippingOrderConfirmation, ShippingOrder, ShipmentLineItem, isContainsHazardousMa...
"> <GlobalPartnerClassificationCode />
<ProprietaryProductIdentifier>000000000000101369</ProprietaryProductIdentifier>
</PartnerProductIdentification>
</ProductIdentification>
- <QuantityInformation>
- <confirmedQuantity>
<ProductQuantity>1.00</ProductQuantity>
</confirmedQuantity>
I've checked that the xml format is OK.
As a matter of fact, if I try to resend the xml file from directory, the message is processed correctly and the payload shows all the xml file.
Thanks.
Daniele
Edited by: Daniele*Verdone on Feb 1, 2010 11:22 AM
Edited by: Daniele*Verdone on Feb 1, 2010 11:23 AMHi Suraj,
That option is not available in FTP mode..
This option is applicable only for the File adapter. If you enter a value in this field when configuring the sender FTP adapter, it will have no effect.
Yes, you're right !!
Are you sure that the message is not getting picked in half-way
Now, at this time, I can't see the XML data in the CC monitoring because the tool shows only the recent polling execute in the last 10 minutes. If the error recurs, I will check the payload of CC.
How can I solve the problem with reading incomplete file (FTP mode)?
...Meanwhile I will try with Full cache refresh.
Thanks
Daniele -
Sourcing Style Sheet xsl VO , Print RFQ (Sourcing )
Hello,
In Sourcing, when we click on Any PO. We have option to print RFQ. This internally calls
PON_SOURCING_XSLFO.xsl
Where can i find from which VO data is sent to this.Hi PreethamChandra
As far as I know, the XSL is called from the template . Please check the template definition. You should find here how and which data is exactly passed to the XSL style sheet for formatting. The XSL style sheet accepts the data in the form of xml nodes .
Thanks
Sandeep -
Ship To Contact Phone in XSL style sheet
I am trying to add ship_cont_phone in my PO XSL style sheet report.
However when I run this report I don't see any Phone number added in the PO. I can see that there is a phone number existing for that particular location. But it is not showing up in the report.
Anyone dealt with the same please reply
thanks
prasannaPrasaana
I would suggest logging a service request with the PO support team. They should be able to help you find the data, if its there.
Regards
Tim -
Getting Ship to Contact Phone Number for PO xsl style sheet
Hi anyone,
I have a Qn in xsl style sheet
If you look in the xml given below there is a field called <ADDR_DATA_9>
<ADDRESS_DETAILS>
<ADDRESS_DETAILS_ROW>
<LOCATION_ID>67670</LOCATION_ID>
<ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
<ADDR_LABEL_1>Cou
ntry</ADDR_LABEL_1>
<ADDR_LABEL_2>Address Line1</ADDR_LABEL_2>
<ADDR_LABEL_3>Address Line2</ADDR_LABEL_3>
<ADDR_LABEL_4>Address Line3</ADDR_LABEL_4>
<ADDR_LABEL_5>Zip Code</ADDR_LABEL_5>
<ADDR_LABEL_6>City</ADDR_LABEL_6>
<ADDR_LABEL_7>State <ADDR_LABEL_8>County</ADDR_LABEL_8>
<ADDR_LABEL_9>Fax</ADDR_LABEL_9>
<ADDR_LABEL_10>Sales Tax Override</ADDR_LABEL_10>
<ADDR_LABEL_11>Inside City Limits</ADDR_LABEL_11>
<ADDR_LABEL_12>Telephone</ADDR_LABEL_12>
<ADDR_DATA_2>BT Amer
icas Inc.|11440 Commerce Park Drive|Reston, VA 20191</ADDR_DATA_2>
</ADDRESS_DETAILS_ROW>
<ADDRESS_DETAILS_ROW>
<LOCATION_ID>67644</LOCATION_ID>
<ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
<ADDR_LABEL_1>Country</ADDR_LABEL_1>
<ADDR_LABEL_2>Address Lin
e1</ADDR_LABEL_2>
<ADDR_LABEL_3>Address Line2</ADDR_LABEL_3>
<ADDR_LABEL_4>Address Line3</ADDR_LABEL_4>
<ADDR_LABEL_5>Zip Code</ADDR_LABEL_5>
<ADDR_LABEL_6>City</ADDR_LABEL_6>
<ADDR_LABEL_7>State</ADDR_LABEL_7>
<ADDR_LABEL_8>County</ADDR_LABEL
_8>
<ADDR_LABEL_9>Fax</ADDR_LABEL_9>
<ADDR_LABEL_10>Sales Tax Override</ADDR_LABEL_10>
<ADDR_LABEL_11>Inside City Limits</ADDR_LABEL_11>
<ADDR_LABEL_12>Telephone</ADDR_LABEL_12>
<ADDR_DATA_1>US</ADDR_DATA_1>
<ADDR_DATA_2>Invoice To:</ADDR_DATA
_2>
<ADDR_DATA_3>BT AMERICAS ACCOUNTS PAYABLE</ADDR_DATA_3>
<ADDR_DATA_4>PO Box 696025</ADDR_DATA_4>
<ADDR_DATA_5>78269</ADDR_DATA_5>
<ADDR_DATA_6>SAN ANTONIO</ADDR_DATA_6>
<ADDR_DATA_7>TX</ADDR_DATA_7>
<ADDR_DATA_8>USA</ADDR_DATA_8>
</ADDRES
S_DETAILS_ROW>
<ADDRESS_DETAILS_ROW>
<LOCATION_ID>179305</LOCATION_ID>
<ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
<ADDR_LABEL_1>Country</ADDR_LABEL_1>
<ADDR_LABEL_2>Address Line1</ADDR_LABEL_2>
<ADDR_LABEL_3>Address Line2</ADDR_LABEL_3>
<ADDR_LABE
L_4>Address Line3</ADDR_LABEL_4>
<ADDR_LABEL_5>Zip Code</ADDR_LABEL_5>
<ADDR_LABEL_6>City</ADDR_LABEL_6>
<ADDR_LABEL_7>State</ADDR_LABEL_7>
<ADDR_LABEL_8>County</ADDR_LABEL_8>
<ADDR_LABEL_9>Fax</ADDR_LABEL_9>
<ADDR_LABEL_10>Sales Tax Override<
/ADDR_LABEL_10>
<ADDR_LABEL_11>Inside City Limits</ADDR_LABEL_11>
<ADDR_LABEL_12>Telephone</ADDR_LABEL_12>
<ADDR_DATA_1>US</ADDR_DATA_1>
<ADDR_DATA_2>Lantheus Medical Imaging</ADDR_DATA_2>
<ADDR_DATA_3>Building 250 ground floor</ADDR_DATA_3>
<
ADDR_DATA_4>331 Treble Cove Rd</ADDR_DATA_4>
<ADDR_DATA_5>01862</ADDR_DATA_5>
<ADDR_DATA_6>BILLERICA</ADDR_DATA_6>
<ADDR_DATA_7>MA</ADDR_DATA_7>
<ADDR_DATA_8>Middlesex</ADDR_DATA_8>
</ADDRESS_DETAILS_ROW>
</ADDRESS_DETAILS></PO_DATA>
If we have multiple ship to addresses how can i exacltly get that in xsl style sheet
For eg;
ship to 1:
address line 1
address line 2
<ADDR_DATA_9>423-667-3244</ADDR_DATA_9>
ship to 2:
address line 1
address line 2
<ADDR_DATA_9>123-456-3244</ADDR_DATA_9>
We can loop through location id in xml.
How can I achieve it in XSL?
appreciate your help
thanks
prasannaThere is no field called "ADDR_DATA_9" int he xml.
can you xplain and paste th full xml > if its public, do drop me a mail ;)
dont digest the message by yourself :) -
XSL style sheet not performing
Hi,
I'm playing around w/ the examples that came
with XML SQL utility.
The example works fine but does not apply
the style sheet to the XML data produced from
the SQL query. Is this a bug? Or is that
the way its supposed to be ?
I thought when you use
oracleXmlQuery.setStyleSheet("rowcol.xsl");
that it converts the XML data to the HTML specified by the XSL sheet.
But instead I still get ...
OUTPUT IS:
<?xml version = '1.0'?>
<?xml-stylesheet href="rowcol.xsl" type="text/xsl"?>
<ROWSET>
<ROW num="1">
<USER_NAME>oa2058</USER_NAME>
<FULL_NAME>Masatoh Awaya</FULL_NAME>
<LOCATION>Tokyo</LOCATION>
<EMAIL>[email protected]</EMAIL>
</ROW>
<ROW num="2">
<USER_NAME>cchang</USER_NAME>
<FULL_NAME>Chris Chang</FULL_NAME>
<LOCATION>New York</LOCATION>
<EMAIL>[email protected]</EMAIL>
</ROW>
<ROW num="3">
<USER_NAME>ccummins</USER_NAME>
<FULL_NAME>Chris Cummins</FULL_NAME>
<LOCATION>New York</LOCATION>
<EMAIL>[email protected]</EMAIL>
</ROW>
<ROW num="4">
<USER_NAME>igomendi</USER_NAME>
<FULL_NAME>Ignacio Gomendio</FULL_NAME>
<LOCATION>New York</LOCATION>
<EMAIL>[email protected]</EMAIL>
</ROW>
<ROW num="5">
<USER_NAME>jroblesg</USER_NAME>
<FULL_NAME>Jaime Roblesgil</FULL_NAME>
<LOCATION>New York</LOCATION>
<EMAIL>[email protected]</EMAIL>
</ROW>
</ROWSET>
nullThis is working as designed.
Calling setStylesheet() on XML SQL only adds the xml-stylesheet PI as you are seeing.
If you want to combine XML SQL and XSLT transformations easily, see our XSQL Servlet software that part of the XDK. It does all of this for you automatically. -
Adding report header lines using expand.xsl style sheet
Hello
I would like to add a few header lines (appears only at the first page of the report) into my XML report that is based on expand.xsl style sheet.
Since I am not familiar with XML, is there any example or a modified (ready to run) expand.xsl style sheet that implements it?
Thank you
ZvikaHey Zvika,
Chek out this website: http://zone.ni.com/devzone/cda/epd/p/id/4759
NI doesn't support any changes in the xsl however so if you change it you are on your own. You can look to this website for help with that: http://www.w3.org/XML/
Regards,
jigg
CTA, CLA
teststandhelp.com
~Will work for kudos and/or BBQ~ -
Finding and Editing the DynamicHomePage.xsl Style Sheet in MII 12.0
I'd like to edit the DynamicHomePage.xsl style sheet but I'd not sure where to find it in MII 12.0. Is it editable through the workbench?
Thanks!
DavidDavid,
you can modify the Logo in the File DefaultHeader.xml. You can find it under the Web/Themens,
in the Sample Project as Jeremy said.
Please include this in your project as Jeremy described.
Regards
Pedro -
Calling DB from XSL style sheet is possible?Please let me know gurus
Hi
ANy one has done DB calls from XSL style sheet for oracle POs?
is it possible
kpHi srini
In PO xsl style sheet there is a field caled Manufacturer's Part no and also another filed called Buying Department.
Some said customizing po_headers_xml and other relevant standard views..But client dont want to touch standard views.
So my client asking me if I can use DB calls ...PLease advise me with examples
thanks
prasanna -
Xsl style sheet & DTD for RSS 2.0 feeds
Does anyone have a workable DTD & style sheet for RSS 2.0 feeds? The PS DTD doesn't cut it for what's out in the Net today.
I have no problem setting channels up and getting data... just not a "UI" person...please see bug 5062227. the problem is noted there.
in lieu of that being fixed, there are several RSS stylesheets floating around on the web. for example:
http://today.icantfocus.com/style/xsl/feeds.xsl
for more, just google for "rss xsl stylesheet".
i have tried several of them and they all have had their quirks. you can try dropping any 3rd party stylesheet into the product.. for example, place the new file in /etc/opt/SUNWps/desktop/default/SampleRSS, and modify the channel SampleRSS in the administration console to use the new stylesheet.
Portal Server 6.4 (JES 4) will include a more robust RSS channel that is not based on XSLT.
Maybe you are looking for
-
Airport Express' no longer available to iTunes as remote speakers
Hi, I'm running Windows 7, iTunes 10.6.1.7 and the firmware on my airports is 7.6.1. I'm having a wierd issue where I can't use iTunes itself to send audio to the airports. There is no mulitple speaker icon in the lower right corner like there
-
ORA-00339: archived log does not contain any redo
Hi All, recently we faced 'ORA-00339: archived log does not contain any redo' issue at standby side, after searching on Google and from Metalink (note 30866.1 and 7197445.8 ) I find out that this is the known issue for 10g and below versions, our's i
-
Wireless-B Router configure /password help
My router recently stopped broadcasting and so I ended up having to reset it. My laptop can now again detect the "linksys" signal and it works fine. However, I want to secure it again like I had it before. I can access the setup screen (http://192.16
-
I find that I am unable to receive updates. When I try to re-install, the serial number is not recognized. I have a retail, boxed, full-version of PS6
-
HELP, I cant sync my ipod after redownloading iTunes...
I recently had to download iTunes again after my PC crashed. I have over $180.00 worth of songs on my ipod that I dont want to lose, just because I had to reformat..and download iTunes again..now it wants to erase all my songs so i can download the t