How to apply Xsl to the xml value stored in ResultSet
String url = "jdbc:msql://200.210.220.1:1114/Demo";
Connection conn = DriverManager.getConnection(url,"","");
Statement stmt = conn.createStatement();
ResultSet rs;
rs = stmt.executeQuery("SELECT Lname FROM Customers for auto xml");
// I want to convert the content of this rs into a String or StringBuffer and apply sxlt to format the data. Can anyone help me.
Thanks
In your view you could do something like that:
foreach (var field in Model.FormStruture.fields)
<div class="editor-label">
<label for="@field.Name">@field.Descricao</label>
</div>
<div class="editor-field">
<input class="text-box single-line" id="@field.Name" name="@field.Name" type="text" value="@field.Valor" data-rules-required="@field.Mandatory.ToString().ToLower()" data-rule-number="@field.Tipo.Equals(SiB.OCR.Documentos.Modelo.TipofieldDocumento.Numerico).ToString().ToLower()" title="@field.Descricao" />
</div>
if (!String.IsNullOrEmpty(field.Format))
@:<script type="text/javascript">$("[email protected]").mask("@field.Format");</script>
Similar Messages
-
Error applying XSL stylesheet to XML
Hi,
after installed SPS 21 into portal we are facing an issue:
A contentadministrator wants to publish a new newsfact in portal, but get the following error message:
Error applying XSL stylesheet to XML:
com.sapportals.wcm.WcmException: com.sap.engine.lib.xml.util.NestedException: Variable '$system_config_activateClipboard' has not been bound to a value
at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:284)
Hope that somebody can give me some help.
thanks a lot in advance.
Regards,
EdwinHi Lorcan,
You help solved our issue, thanks a lot.
After generate the existing xml project with the Forms builder in the Content Management,
the contentadministratoris able to produce a new newsfact without errors
Regards, edwin
Posts: 123
Registered: 11/29/04
Forum Points: 346
Solved problem (10)
Very helpful answer (6)
Helpful answer (2)
Re: Error applying XSL stylesheet to XML
Posted: Apr 19, 2010 11:13 AM in response to: Edwin Theuns Reply
Hi Edwin,
You need to recompile the xml forms project and that should resolve the issue. Unfortunately there is no alternative solution in such a scenario.
Regards,
Lorcan. -
XML forms error: Error applying XSL stylesheet to XML
hi,
I created XML forms for news and 2 weeks ago everything was working right, but today when i try to see a preview of the project i get this error:
XML - Forms
<b>Error applying XSL stylesheet to XML</b>
com.sapportals.wcm.WcmException: com.sap.engine.lib.xml.util.NestedException: Variable '$Sap' has not been bound to a value
at com.sapportals.wcm.service.pipeline.Pipeline.handle(Pipeline.java:284)
at com.sapportals.wcm.service.pipeline.XSLTPipeline.handle(XSLTPipeline.java:118)
at com.sapportals.wcm.service.xmlforms.transformation.Transformer.pipeIt(Transformer.java:133)
at com.sapportals.wcm.service.xmlforms.transformation.Transformer.transform(Transformer.java:105)
at com.sapportals.wcm.service.xmlforms.transformation.Transformer.transform(Transformer.java:77)
at com.sapportals.wcm.service.xmlforms.transformation.HtmlGenerator.getHtmlStream(HtmlGenerator.java:122)
at com.sapportals.wcm.service.xmlforms.transformation.Transformation.render(Transformation.java:391)
I really don't know where this come from is there somebody that can help me?
i tried to change the paths of the project cause i also got this:
<b>java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key xmsg_project_not_exist</b>
at java.util.ResourceBundle.getObject(ResourceBundle.java:326)
at java.util.ResourceBundle.getObject(ResourceBundle.java:323)
at java.util.ResourceBundle.getString...
Hope that somebody can give me some help. Please it is urgent we have to deploy the site this week.
thanks a lot in advance.
Regards,
MJHi All,
Anybody could find the cause for this?
I'm also facing the same problem now when I try to see the preview for Edit Form. It's working fine with RederList Form. Earlier everything was fine. If somebody has got the solution for this, pls help me out. This is very urgent. Thankyou very much in advance.
Thanks & BR,
Ram Marni.
[email protected] -
How to apply paragraph styles to xml tag?
Hi All,
How to apply paragraph style to xml tag?Hi Learner,
Try the below js code.
var myDoc = app.activeDocument;
try{
mySel=app.selection[0];
myDoc.xmlElements[0].xmlElements.add({markupTag:"TEST", xmlContent:mySel});
}catch(e){
alert(e);
var myDocument = app.activeDocument;
app.findGrepPreferences.appliedParagraphStyle = "test";
app.findGrepPreferences.findWhat = ".+(?=\\r)"
var mySearch = myDocument.findGrep(false);
for (a=0; a<mySearch.length; a++){
myDocument.xmlElements[0].xmlElements.add({markupTag:"TEST", xmlContent:mySearch[a]});
thx,
csm_phil -
How stop PS6 from removing the DPI value from an image when using "save for the web"?
How stop PS6 from removing the DPI-value from an image when using "save for the web"?
Example:
- Open a tif image, that contains a dpi value (resolution).
- Use the splice tool in PS6.
- Export the slices with "Save for web", as gif-files.
Then the dpi value is removed, the gif files has no dpi value (it's empty).
How can we stop PS6 from removing the dpi value when using "save for web"?
OR:
When using the slice tool, how can we save the sliced pieces without PS removing the dpi value?you can make your art go a little bit over the bounds. or you can make sure your artboart and art edges align to pixels
-
How we can find out the default value of the initialization parameters
Hi All,
How we can find out the default value of the initilization parameters from oracle database.
Thanks
ShijuHi,
you can find currently used parameter values v$parameter and v$parameter2.
if default values is different real values then you can see alert.log.
because in alert.log you will see non default values, rests is default.
Edited by: admin on May 8, 2010 3:41 AM -
How to apply condition when parsing XML using XMLTable
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
XML Response to be processed by stored proc:
<TFSResponse>
<TFS>
<referenceNumber>39760</referenceNumber>
<reqId>39760</reqId>
<fromAccount>
<id>1550796</id>
<number>0003210011</number>
</fromAccount>
<toAccount>
<id>1550769</id>
<number>3199109643</number>
</toAccount>
<createdBy>
<userId>627892</userId>
<userLoginId>AAAAAA</userLoginId>
<userTypeId>1</userTypeId>
</createdBy>
</TFS>
</TFSResponse>
Register schema script:
DECLARE
l_schema CLOB;
BEGIN
l_schema := '<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xdb="http://xmlns.oracle.com/xdb">
<xs:element name="TFSResponse" type="TFSResponseWSResponseType" xdb:defaultTable="TEMP_RESULT" />
<xs:complexType name="TFSResponseWSResponseType">
<xs:sequence>
<xs:element maxOccurs="unbounded" name="TFS" type="TFSSummaryWSTO"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="TFSSummaryWSTO">
<xs:sequence>
<xs:element name="referenceNumber" type="xs:string"/>
<xs:element name="reqId" type="xs:long"/>
<xs:element name="fromAccount" type="tns:AccountSummaryWSTO" />
<xs:element name="toAccount" type="tns:AccountSummaryWSTO"/>
<xs:element name="createdBy" type="tns:userWSTO"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AccountSummaryWSTO">
<xs:sequence>
<xs:element minOccurs="1" name="accountId" type="xs:long" />
<xs:element minOccurs="1" name="accountNumber" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="userWSTO">
<xs:sequence>
<xs:element name="userId" type="xs:long" />
<xs:element name="userLoginId" type="xs:string" />
<xs:element name="userTypeId" type="xs:short" />
</xs:sequence>
</xs:complexType>
</xs:schema>';
dbms_xmlSchema.registerSchema(schemaurl => 'TFSWebService_schema.xsd',
schemadoc => l_schema,
enableHierarchy => dbms_xmlschema.ENABLE_HIERARCHY_NONE);
END;/
Object Type:
CREATE OR REPLACE TYPE DOC_ROWTYPE AS OBJECT
REFERENCENUMBER VARCHAR2(255),
REQID NUMBER(12),
FROMACCOUNTID NUMBER(12),
FROMACCOUNTNUMBER VARCHAR2(35),
TOACCOUNTID NUMBER(12),
TOACCOUNTNUMBER VARCHAR2(35),
CREATEDBYUSERID NUMBER(12),
CREATEDBYUSERLOGINID VARCHAR2(12)
Collection Type:
CREATE OR REPLACE TYPE DOC_TABLETYPE IS TABLE OF DOC_ROWTYPE;
CREATE OR REPLACE PROCEDURE SP_TFS_REPORT (LoginId IN STRING,
requestedByUser IN STRING,
result_cursor OUT SYS_REFCURSOR)
IS
SYSTEM_USER VARCHAR2(12) := 'SYSTEM';
l_http_request UTL_HTTP.req;
l_http_response UTL_HTTP.resp;
l_string_request VARCHAR2(1024);
l_result_xml XMLTYPE;
docExtTable_XML DOC_TABLETYPE := DOC_TABLETYPE();
docExtRecord DOC_ROWTYPE;
BEGIN
l_string_request := .....(prepare web service request here)
l_http_response := UTL_HTTP.get_response(l_http_request);
resp_in_xml := XMLTYPE(l_clob_response);
INSERT INTO TEMP_RESULT VALUES l_result_xml;
SELECT DOC_ROWTYPE (t1.referenceNumber, t1.reqId, t2.accountId, t2.accountNumber, t3.accountId, t3.accountNumber,
t4.userLoginId, t4.userId)
BULK COLLECT INTO docExtTable_XML
FROM TEMP_RESULT ltr,
XMLTABLE('/TFSResponse/TFS'
PASSING ltr.object_value
COLUMNS
referenceNumber VARCHAR2(255 BYTE) PATH 'referenceNumber',
reqId NUMBER(12) PATH 'reqId',
fromAccountXML XMLTYPE PATH 'fromAccount',
toAccountXML XMLTYPE PATH 'toAccount',
createdByXML XMLTYPE PATH 'createdBy'
) t1,
XMLTABLE('/fromAccount'
PASSING t1.fromAccountXML
COLUMNS
accountId NUMBER(12) PATH 'accountId',
accountNumber VARCHAR2(35 BYTE) PATH 'accountNumber'
) t2,
XMLTABLE('/toAccount'
PASSING t1.toAccountXML
COLUMNS
accountId NUMBER(12) PATH 'accountId',
accountNumber VARCHAR2(35 BYTE) PATH 'accountNumber'
) t3,
XMLTABLE('/createdBy'
PASSING t1.createdByXML
COLUMNS
userId NUMBER(12) PATH 'userId',
userLoginId VARCHAR2(12 BYTE) PATH 'userLoginId' ----- This value should be set based on a condition*
) t4
OPEN result_cursor FOR SELECT * FROM TABLE (DOC_TABLETYPE);
COMMIT;
END SP_TFS_REPORT
The condition is like this
IF (requestedByUser = true and createdByUserType = '2') then
CREATEDBYUSERLOGINID := SYSTEM_USER;
ELSE
Take CREATEDBYUSERLOGINID from XML value 'userLoginId'
where 'requestedByUser' is the input parameter to the stored procedure and 'createdByUserType' is the value from XML.
'userTypeId' is not required to be set in collection.
Now my question is how to put that condition when doing the XML parsing.
Edited by: 991900 on Mar 19, 2013 9:54 AMAdd a projection for "userTypeId" in T4, then use a CASE statement in the SELECT clause :
SELECT DOC_ROWTYPE (
t1.referenceNumber, t1.reqId, t2.accountId, t2.accountNumber, t3.accountId, t3.accountNumber,
t4.userId,
CASE WHEN requestedByUser = 'true' AND t4.userTypeId = 2
THEN system_user
ELSE t4.userLoginId
END
BULK COLLECT INTO docExtTable_XML
FROM TEMP_RESULT ltr,
XMLTABLE('/TFSResponse/TFS'
PASSING ltr.object_value
COLUMNS
referenceNumber VARCHAR2(255 BYTE) PATH 'referenceNumber',
reqId NUMBER(12) PATH 'reqId',
fromAccountXML XMLTYPE PATH 'fromAccount',
toAccountXML XMLTYPE PATH 'toAccount',
createdByXML XMLTYPE PATH 'createdBy'
) t1,
XMLTABLE('/fromAccount'
PASSING t1.fromAccountXML
COLUMNS
accountId NUMBER(12) PATH 'accountId',
accountNumber VARCHAR2(35 BYTE) PATH 'accountNumber'
) t2,
XMLTABLE('/toAccount'
PASSING t1.toAccountXML
COLUMNS
accountId NUMBER(12) PATH 'accountId',
accountNumber VARCHAR2(35 BYTE) PATH 'accountNumber'
) t3,
XMLTABLE('/createdBy'
PASSING t1.createdByXML
COLUMNS
userId NUMBER(12) PATH 'userId',
userLoginId VARCHAR2(12 BYTE) PATH 'userLoginId',
userTypeId NUMBER PATH 'userTypeId'
) t4
; -
How to generate XSL for an XML file to use it for XSLT transformation -SSIS?
Hi All,
Can anybody please help me to generate XSL for my attached XML file?
I need to use the XSL file for XSLT transformation.
Thanks & Regards,
SriHi Vibhav,
Thanks for the response.
I am aware of the process but not sure how to generate XSL file.
Can you please refer me to any tool which can convert XML to XSL? or please can you transform my simple XML to XSL?
Thanks & Regards,
Sri -
How-to use Excel for the XML file input?
Hello all,
Following our discussion with Gerhard Steinhuber on the very nice tutorial from Horst Schaude , "How to upload mass data via XML File Input" , I am starting this new discussion.
In the comments section of this previous cited tutorial, Rufat Gadirov explains how to use a generated XML from Eclipse instead of your XSD file as your source in Excel.
However, in spite of all the instructions, I am still facing the same issue in Excel when I try to save my file as XML : "The XML maps in this workbook are not exportable".
What I try to do is to create one or more Sales Orders with multiple Items in it from a XML File Input, using excel to enter data.
The part with the File input is working (if I directly upload my file to the webDAV, it creates a sales order instance with multiple items).
The only missing part is the Excel data input that I cannot make work. Any help on this matter would be greatly appreciated.
Here is my XML file that I try to use as a source in Excel before inputing data from Excel:
<?xml version="1.0" encoding="UTF-8"?>
<p:MySalesOrderUploadedIntegrationInputRequest xmlns:p="http://001365xxx-one-off.sap.com/YUUD0G3OY_" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<MessageHeader>
<CreationDateTime>2015-03-02T12:00:00.000Z</CreationDateTime>
</MessageHeader>
<List actionCode="01" listCompleteTransmissionIndicator="true" reconciliationPeriodCounterValue="0">
<MySalesOrderUploaded>
<MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>
<MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>
<MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>
<MyName languageCode="EN">MyName</MyName>
<MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>
<MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>
<MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>
<MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>
<MyItem>
<MyItemID>token</MyItemID>
<MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>
<MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>
<MyProductTypeCode>token</MyProductTypeCode>
<MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>
<MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>
<MyNetAmount currencyCode="token">0.0</MyNetAmount>
</MyItem>
</MySalesOrderUploaded>
<MySalesOrderUploaded>
<MySalesOrderUploadedID>idvalue0</MySalesOrderUploadedID>
<MyBuyerID schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeID="token">token</MyBuyerID>
<MyDateTime>2015-03-02T12:00:00.000Z</MyDateTime>
<MyName languageCode="EN">MyName</MyName>
<MyBillToParty schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyBillToParty>
<MyDateToBeDelivered>2001-01-01</MyDateToBeDelivered>
<MyEmployeeResponsible schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MyEmployeeResponsible>
<MySalesUnit schemeAgencyID="token" schemeAgencySchemeAgencyID="1" schemeAgencySchemeID="token" schemeID="token">token</MySalesUnit>
<MyItem>
<MyItemID>token</MyItemID>
<MyItemProductID schemeAgencyID="token" schemeID="token">token</MyItemProductID>
<MyItemDescription languageCode="EN">MyItemDescription</MyItemDescription>
<MyProductTypeCode>token</MyProductTypeCode>
<MyRequestedQuantity unitCode="token">0.0</MyRequestedQuantity>
<MyConfirmedQuantity unitCode="token">0.0</MyConfirmedQuantity>
<MyNetAmount currencyCode="token">0.0</MyNetAmount>
</MyItem>
</MySalesOrderUploaded>
</List>
</p:MySalesOrderUploadedIntegrationInputRequest>
Thank you all for your attention.
Best regards.
Jacques-Antoine OllierHello Jacques-Antoine,
I suppose that as you have tried to construct a map from the schema, you have taken the elements from the List level down. In this case I also can't export the map.
But if you take the elements from the level MySalesOrderUploaded down, you'll get the exportable map (screenshots)
Best regards,
Leonid Granatstein -
How to apply Qos in the precedence of cache server
m in an isp and iwant to apply the QOS to enhance my network internet performance
actually i have two requests , i will start with showing brief topology about my network and start asking the questions .
here is the topology below :
from the topology above , my access is only on R1 which is BGP internet gateway router and R2 is my ISP router.
1- i want to apply Qos on R1 so that a subnet of 32 ips to have gurantee bandwidth of 30M .
assume the subnet is 10.20.30.0/27 that need to be bw gurantee .
2- i want the download traffic by idman or ftp on my Router R1 dont exceed 50 % of my total bw .
i mean that i have 450M bandwith from my isp , & sometimes we have a slow in browsing , so i want to enhance the browsing quality because its more important that downloading files from internet.
here is my two requests above , i dont know how it will work with the precedence of the cache server .
anyway , i will paste my config of router and i will replace my puplic ips with xxx for privacy .
7200Gateway#sh run
Building configuration...
Current configuration : 10149 bytes
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname 7200Gateway
boot-start-marker
boot-end-marker
logging message-counter syslog
logging buffered 50000
enable secret xxxxxxxxxxxxxx
no aaa new-model
ip source-route
ip wccp 80 redirect-list CACHE80
ip wccp 90 redirect-list CACHE90
ip cef
no ip domain lookup
ip accounting-threshold 4294967295
login block-for 180 attempts 3 within 60
login quiet-mode access-class telnet
login on-failure log
login on-success log
no ipv6 cef
multilink bundle-name authenticated
username xxxxxx password xxxxx
archive
log config
hidekeys
interface GigabitEthernet0/1
description LAN
bandwidth 230000
ip address 10.160.150.2 255.255.255.0
ip wccp 80 redirect in
ip policy route-map CACHE-REDIRECT
load-interval 30
duplex auto
speed auto
media-type rj45
negotiation auto
interface FastEthernet0/2
no ip address
shutdown
duplex auto
speed auto
interface GigabitEthernet0/2
description Cache
bandwidth 150000
ip address x.x.x.x 255.255.255.248
ip wccp redirect exclude in
load-interval 30
duplex auto
speed 1000
media-type rj45
negotiation auto
interface GigabitEthernet0/3
description Internet
bandwidth 230000
ip address x.x.x.x 255.255.255.252
ip wccp 90 redirect in
load-interval 30
duplex full
speed 1000
media-type sfp
negotiation auto
router bgp zzzzzzz
no synchronization
bgp log-neighbor-changes
network xxxx mask xxxxx
network xxxx mask xxxx
network xxxx mask xxxxx
network xxxx mask xxxx
network xxxx mask xxxxx
network xxxx mask xxxx
redistribute connected
redistribute static
neighbor zzzzzzzz remote-as zzzzzzz
neighbor zzzzzzz password zzzzzzz
neighbor zzzzzz route-map Pipo out
no auto-summary
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 xxxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
no ip http server
no ip http secure-server
ip flow-top-talkers
top 200
sort-by bytes
cache-timeout 5000
ip access-list extended bb
permit ip xxxx.xxxx.xx.0 0.0.1.255 any
ip access-list extended CACHE80
permit tcp xxxxxxx any eq www
ip access-list extended CACHE90
permit tcp any xxxxx.0 0.0.0.255
ip access-list extended pipo
permit ip xxxxx xxxxxxx any
permit ip xxxxx xxxxxxx any
ip access-list extended private
permit tcp 172.16.0.0 0.0.255.255 any eq www
permit ip 10.20.30.0 0.0.0.255 any
ip access-list extended telnet
permit ip xxxxxx xxxxxxx.255.255 any log
permit ip xxxx xxxxx 0.0.0.255 any log
ip prefix-list bb seq 5 permit xxxxx
ip prefix-list bbseq 10 permit xxxxxx
logging history size 500
no cdp run
route-map pipo permit 10
match ip address prefix-list pipo1
route-map pipo permit 20
match ip address prefix-list newsubnet
set metric 500
set origin incomplete
set as-path prepend xxxxxxxxx
route-map permit 10
match ip address prefix-list bibo
route-map CACHE-REDIRECT permit 10
match ip address private
set ip next-hop 1vvvvvv
route-map CACHE-REDIRECT permit 20
match ip address bibo e1
set ip next-hop vvvvvv
route-map CACHE-REDIRECT permit 30
match ip address pipo
set ip next-hop vvvvvvvvvv
route-map CACHE-REDIRECT permit 100
snmp-server community xxxxxx RO
control-plane
dial-peer cor custom
line con 0
password xxxxxxxx
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
exec-timeout 60 0
password xxxxxxxxxxxxxxxxx
logging synchronous
login local
endHi Vinay,
Please check the program. I have used the replace statement but it is not working.
IF NOT v_sap_bom_rec IS INITIAL.
Spliting the records at '~' delimiter
SPLIT v_sap_bom_rec AT c_del INTO wa_bom_file-model_name
wa_bom_file-product_code
wa_bom_file-description
wa_bom_file-product_type
wa_bom_file-mfg_part_num
wa_bom_file-mfg_part_desc.
REPLACE cl_abap_char_utilities=>horizontal_tab IN wa_bom_file-mfg_part_desc WITH space .
wa_bom_file-status = c_status.
APPEND wa_bom_file TO i_bom_file.
But it is not working.
Please help me..
Thanks
Neelima -
I am using a table which contains a text field with a lookup. I want to use the selected value of this field in a form which is acting as a selection form. No editing of the field's value is permitted. How do I just display the value of the field (which
is considered a listbox on the form) without the reverse display and the up and down selection buttons.
I can provide an illustration of the condition I am trying to overcome, but this system doesn't accept it.
Thank you for any suggestions or clarification you can provide.
Marj WeirThank you. I'll try that approach.
I found, after much experimentation, on a similar problem involving a multiselect lookup field, that if I make the field invisible, and add a textbox that displays the fieldname plus .column(0), it displays all the selected entries.
E.g.: staff.Column(0)
Staff is the field containing the last names of selected staff members.
staff.Value only shows the first name in the lookup list whether it is checked or not, so this is useless.
staff.column(0), however, (inexplicably) shows all the selected names, e.g. Jones, Smith, Wiggins.
Marj Weir
-
How do I determine/set the XML implementation for WLS 6.1?
I can't find anywhere on the console that shows or allows one to change the XML
implementation that is used in the Weblogic Server (6.1).
I tried putting the xml jars prior to the weblogic.jar in the classpath, but did
not see any changes to the problem I am having (see previous post), and do not
know how to tell if I impacted the server at all.
Thanks,
kEnThanks. That .cfg file shows Times Regular for the following characters, but none of these characters are the regular alphabet, (are they?) so there must be yet another place?
mathchar.cfg 53 < plus 2b Times Regular>
mathchar.cfg 54 < equal 3d Times Regular>
mathchar.cfg 70 < gg c8 Times Regular>
mathchar.cfg 71 < ll c7 Times Regular>
mathchar.cfg 93 < fact 21 Times Regular>
mathchar.cfg 94 < dagger a0 Times Regular>
mathchar.cfg 98 < minus d0 Times Regular>
mathchar.cfg 106 < uequal 3d Times Regular>
mathchar.cfg 112 < diff 64 Times Regular>
mathchar.cfg 116 < ucomma 2c Times Regular>
mathchar.cfg 117 < semicolon 3b Times Regular>
mathchar.cfg 118 < optotal 64 Times Regular>
mathchar.cfg 127 < power 5e Times Regular>
I've determined (by comparing equation string to body string visually) that Times is in fact the font being used. I just don't see yet how that gets determined. Any further thoughts? -
How to use xsl in the veriable (of type Document packorg.w3c.dom)?
I have xml document in the variable of type Document from the package "org.w3c.dom". I want to use xsl to this xml document to format it.
I am trying to do something like this:
<c:set var="aaa">
doc // doc is of type Document created by traversing the ResultSet.
<c:set>
<c:import url="/generic_stylesheet.xsl" var="xsl" />
<x:transform xml="${aaa}" xslt="${xsl}" />
</td></tr></table>
Helphi "user615720"
If you have questions about JDeveloper 11g TP, you might also want to try this forum :
"JDeveloper and OC4J 11g Technology Preview"
JDeveloper and OC4J 11g Technology Preview
(tip : You can use "Your Control Panel" to make your name visible in forum posts.)
regards
Jan Vervecken -
[AS CS3] getting the xml value?
I'm having trouble returning the "Value" of my xml object. I can get all sorts of other attributes. I need to be able to return the value "123456". I must be missing something, or is this a real shortcoming?
tell application "Adobe InDesign CS3"
tell document 1
get associated XML element of first page item
--> XML element id 12 of XML element id 2 of document "Untitled-8"
get XML attribute 1 of associated XML element of first page item
--> XML attribute "TCnumber" of XML element id 12 of XML element id 2 of document "Untitled-8"
get properties of (get XML attribute 1 of associated XML element of first page item)
--> {value:"123456", parent:XML element id 12 of XML element id 2 of document "Untitled-8", index:1, name:"TCnumber", object reference:XML attribute "TCnumber" of XML element id 12 of XML element id 2 of document "Untitled-8"}
get name of (get XML attribute 1 of associated XML element of first page item)
-->TCnumber
get index of (get XML attribute 1 of associated XML element of first page item)
-->1
get value of (get XML attribute 1 of associated XML element of first page item)
--ERROR
end tell
end tellThat's a nice one.
The "get value" event takes precedence, it is probably understood by ScriptArg.
For insiders: kGetValueScriptArgEventScriptElement
You can use round brackets to disambiguate:
get (value of ...)
Dirk -
I had to re-load my OS (Windows XP Pro) from a HD snapshot via Acronis True Image Server. I save my OS on my C: drive and all my data files on my D: drive. So when I re-loaded my OS, I still have all of my music files intact.
I have re-loaded the OS before and had to re-create iTunes library which I did by doing the follwing:
1. cut & paste .xml file in iTunes folder to desktop
2. delete .itl file in iTunes folder
3. import .xml file through iTunes file>library>iport playlist
4. navigate to .xml file on desktop and import
This worked last time I re-loaded my OS but not this time for some reason.
So I'm wondering if there is a copy of the .xml file on the iPod itself in the iPod_Control folder that I can copy and paste to my comuter desktop and import via the above steps?
I have seen all kinds of solutions on the web that include copying the music files from the iPod to the computer. I don't need to do that. I have the music files. I just need the .xml file so iTunes can talk to my iPod (5th Generation - 30G).Backup your music library, that is the only way to ensure it does not go missing through theft, damage, operator error, machine breaks, upgrades go wrong, operator goes wrong .........
Maybe you are looking for
-
Safari 5.0.4 keeps crashing for no reason.
my safari keeps crashing whenever i start the app. please help. problem details: Process: Safari [936] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 5.0.4 (6533.20.27) Build Info: WebBrowser-75332027~1 Cod
-
We are currently using 5 apple products - but all our contacts etc are shared - please advise. We do want to share our music but thats all...
-
Can't deploy my app on Sun Java System Application Server Platform Edition
Hi, I am trying to deploy me app on the Sun's app server but I get the following error: I am using Sun Java System Application Server Platform Edition 8.2 Invalid Deployment Descriptors in archive jag-ejb.jar in deployment descriptor file META-INF/ej
-
How to create a .CSV file & place it in Application server
Hi All, I have a requirement like . 1.Create a .CSV file by using report output data. 2.The .csv file should be placed in application server. When user will execute the report, automatically a .csv has to generate and that should be available at appl
-
Numeric keyboard comma separator
Hello iUsers, I am quite new in mac but this problem has appeared suddenly and I don't know if it is on my site or by something else. I've googled it and trying to find answer here but nothinkg helps. The problem has been already solved here before b