Concatenating different XML
Hi
I have a requirement where I have to call BPEL XPath functions from Transform activity XSLT mapper
Is that possible..?
Thanks
-Praveen
Hi
I have a requirement where I have to call BPEL XPath functions from Transform activity XSLT mapper
Is that possible..?
Thanks
-Praveen
Similar Messages
-
How to retrieve elements from 3 different xml file in one url
Hi all,
Could anyone please let me how can we retrieve elements from 3 different xml file in one url?
i just can only do it with one file only, any help would very appreciate.
Thank in advance
JimHi Philip
Thanks for replying me.
I tried on that way, In my mdx query i am using one slice attribute (i.e [Customer].[Gender].allmembers) in rows so getting error "The Hierarchy already appears in Axis1".
SELECT
{[Measures].[Internet Sales Amount] } ON 0,
NON EMPTY
{[Customer].[Gender].allmembers } ON 1 -- Used
FROM
[Adventure Works]
WHERE
[Customer].[Gender].&[M]
,[Product].[Size Range].[(All)]
,[Customer].[Country].[All Customers]
[Customer].[Gender].[All Customers]
,[Product].[Size Range].&[XL]
,[Customer].[Country].[All Customers]
[Customer].[Gender].[All Customers]
,[Product].[Size Range].[(All)]
,[Customer].[Country].&[Australia]
Can you provide alternate ways to get resolved.
Thanks in advance -
Weblogic 12g Server - EAR with WAR - how can I have different XML parsers
Hi All,
I have a requirement where I need to have two different XML parsers in the same enterprise application.
By backend Spring container require a XML parser and my JSP code which has XSLT logic require another XML parser.
If I specify -D System property then it is applied to the whole Enterprise application. Instead I want a way to specify different XML parsers one for Spring backend container and the other for JSP pages.
I am deploying my application in Weblogic and it is an EAR file.
Thanks in Advance,
Kishore Veleti A.V.K.check this one.
-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl -
How to HTTP-Post different XML messages to one receiving URL on XI side?
Hi
I have a problem with a HTTP => XI => IDoc scenario.
A client want to send 4 different XML documents to only 1 receiving URL on the XI side. How can I handle this in XI???
To send XML data via HTTP to XI you have to specify the namespace, interface and service in the URL. But I only can specify 1 namespace, interface and namespace in the URL...
But how can I define a generic message interface for all 4 messages.
The solution with 4 receiving URL's is easy, but not workable for the client
Thx
manukuYou can do following:
Create an interface with an artificial root node like this:
root
- structure message 1
- structure message 2
- structure message 3
A simple XSLT/Java mapping adds that root node to every message.
Create different mappings based on the structure if the different mappings and do routing based on the same.
Another option: Upgrade to PI 7.1. Here you can simply create a service interface with different operations and routing/mapping based on the operations.
Regards
Stefan -
Specifying nested element with two different XML Schema
Hello,
I am trying to convert one xml file to another file. I figure data services would be great for this.
My problem relates to how to have a source xml file with a certain xml schema be transformed to one of a different xml schema. I cannot build the nested elements of the target schema.
From the source xml I only need four fields. But they need to be nested three levels in the target xml.
Source
<DRUG_PRODUCT_LST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DRUG_ITEM>
<DRUG_PRODUCT_ID>113083</DRUG_PRODUCT_ID>
<DIN_PDIN>2317559</DIN_PDIN>
<HC_BRAND_NAME>PMS-SILDENAFIL</HC_BRAND_NAME>
<HC_ATC_CODE>G04BE03</HC_ATC_CODE>
</DRUG_ITEM>
<DRUG_PRODUCT_LST
Target
<?xml version="1.0" encoding="ISO-8859-1"?>
<CODES>
<CODE_TYPES>
<CODE_TYPE>
<COD_CODE>113083</COD_CODE>
<COD_DESCR>PMS-SILDENAFIL</COD_DESCR>
<COD_SOURCE>G04BE03</COD_SOURCE>
<COD_NPSA>2317559</COD_NPSA>
</CODE_TYPE>
</CODE_TYPES>
</CODES>
I have tried using an xml pipline to unnest the source, then use a query transform to re-nest for the target. But I do not know how to specify the input schemas.Hello,
I am trying to convert one xml file to another file. I figure data services would be great for this.
My problem relates to how to have a source xml file with a certain xml schema be transformed to one of a different xml schema. I cannot build the nested elements of the target schema.
From the source xml I only need four fields. But they need to be nested three levels in the target xml.
Source
<DRUG_PRODUCT_LST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DRUG_ITEM>
<DRUG_PRODUCT_ID>113083</DRUG_PRODUCT_ID>
<DIN_PDIN>2317559</DIN_PDIN>
<HC_BRAND_NAME>PMS-SILDENAFIL</HC_BRAND_NAME>
<HC_ATC_CODE>G04BE03</HC_ATC_CODE>
</DRUG_ITEM>
<DRUG_PRODUCT_LST
Target
<?xml version="1.0" encoding="ISO-8859-1"?>
<CODES>
<CODE_TYPES>
<CODE_TYPE>
<COD_CODE>113083</COD_CODE>
<COD_DESCR>PMS-SILDENAFIL</COD_DESCR>
<COD_SOURCE>G04BE03</COD_SOURCE>
<COD_NPSA>2317559</COD_NPSA>
</CODE_TYPE>
</CODE_TYPES>
</CODES>
I have tried using an xml pipline to unnest the source, then use a query transform to re-nest for the target. But I do not know how to specify the input schemas. -
How to merge five different xml input files into three output files
Hi All,
Can you please explain me to merge 5 different xml input files into 3 output xml files.
I'm looking forward for ur suggestions...
Thanks
PullaraoHI
Please see the below links
/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm
Many other examples can be found under the following link at help.sap.com
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
And some weblogs
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****
/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****
/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement
Also have a look at these seminars,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c6d54e02
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37bec4706cc
<b>BPM CollectPattern..</b>
http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm
Thanks !
Regards
Abhishek Agrahari
Questions are welcome here!!
<b>Also mark helpful answers by rewarding points </b> -
How to read data with different XML schemas within the single connection?
I have Oracle 11g database
I access it through jdbc:oracle:thin, version 11.2.0.3, same as xdb.
I have several tables, each has one XMLType column, all schema-based.
There are three different XML schemata registered in the DB
I may need to read the XML data from several tables.
If all the XMLTypes have the same XML schema ,there is no problem,
If the schemata are different, the second read throws BindXMLException.
If I reset the connection between the reads of the XMLType column with different schemata, it works.
The question is: how can I configure the driver, or the connection to be able to read the data with different XML schemata without resetting the connection (which is expensive).
The code to get the XMLType data is textbook implementation:
1 ResultSet resultSet = statement.executeQuery( sql ) ;
2 String result = null ;
3 while(resultSet.next()) {
4 SQLXML sqlxml = resultSet.getSQLXML(1) ;
5 result = sqlxml.getString() ;
6 sqlxml.free();
7 }
8 resultSet.close();
9 return result ;It turns out, that I needed to serialize the XML on the server and read it as Blob. Like this:
1 final Statement statement = connection.createStatement() ;
2 final String sql = String.format("select xmlserialize(content xml_content_column as blob encoding 'UTF-8') from %s where key='%s'", table, key ) ;
3 ResultSet resultSet = statement.executeQuery( sql ) ;
4 String result = null ;
5 while(resultSet.next()) {
6 Blob blob = resultSet.getBlob( 1 );
7 InputStream inputStream = blob.getBinaryStream();
8 result = new Scanner( inputStream ).useDelimiter( "\\A" ).next();
9 inputStream.close();
10 blob.free();
11 }
12 resultSet.close();
13 statement.close();
14
15 System.out.println( result );
16 return result ;
17
Then it works. Still, can't get it work with XMLType in resultset.On the client unwrapping XML blows up when trying to switch to different XML schema. JDBC/XDB problem? -
Load different xml docs to same database table
I have 2 different xml documents that contains the information about rows which should be loaded into a database table.
File 1:
<customer>
<name>Company1</name>
<city>Helsinki</city>
</customer>
File 2:
<client>
<clientname>Company2</clientname>
<clientcity>Helsinki</clientcity>
</client>
The data in the 2 different files should be read and inserted as a row into the same database table.
Instead of creating a java program for each xml file to insert the content into the database, I would like to first "translate" the content of the xml files and create a file for each xml file which uses the same tags, so that my java programs only reads the new "translated" files and inserts the data into the database.
This means that when I receive a new xml file with different tags but information about a row that should be inserted into the same table, I just have to "translate" this file, and use the same java program to insert the new file data into the database.
I would like to know which technology should be used to perform this task.XSLT is quite commonly used for this.
Or, for more a formal approach, google 'xml "architectural forms"'
Pete -
Load different xml structure in single flash file
Hi to all,
How can i call different xml structures in single file..
actually i am looking for 2 different menu galleries in single
file.. first menu contains.. some 4 to 5 buttons.. done with this..
in other flash file..having some of 4-5 buttons.. and these
buttons.. to show in main flash file.. can i load 2 different swf
files in single main file and with different xml structure please
help me on this.. thanks in advance.
Best Regards
Satish Kumar Rajulayes, you can use one xml instance with an if-statement, but
it's easier and cleaner to use different xml instances and
different parsing code for each xml file loaded that has different
structure. -
Breaking BIG XML files in to 4 different XML Files
Hi:
What will be a problem if I break the BIG XML file in to a number of different XML FILES?
My main reason is to create XMLVIEW.
Please help
ALI_2Would Suite Spot Studios "AA Translator" achieve this? If you navigate to his web site you can test the app by submitting a test project to him and he/they will attempt to "convert" it for you. (Only one of you, you or your buddy, would need to buy and have the app installed).
I realise this is something of a "long shot" since "suitespot" does not use a Mac and this "new" session format (.sesx) may not be readable by his app.
Jeff -
Join Nodes from different XML strings
Hi,
Please can you help me in joining 2 similar XML documents such that required nodes are appended.
Need to combine the nodes of XML (input source:String) A and B as below:
A:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MSG_Cont xmlns:ns0="http://xmlns.sample.xml.com/Xref">
<ns0:Header>
<ns0:ProjectName>Services-1</ns0:ProjectName>
<ns0:TimeStamp>11-05-2007 08:24:08</ns0:TimeStamp>
</ns0:Header>
<ns0:Body>
<ns0:MID_INTER_XREF>
<ns0:INT_ID>0</ns0:INT_ID>
<ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
<ns1:PERS_TITLE>MGR</ns1:PERS_TITLE>
<ns1:PERS_FIRST_NM>BUY</ns1:PERS_FIRST_NM>
<ns1:PERS_LAST_NM>INT</ns1:PERS_LAST_NM>
</ns1:CDS_Person>
<ns0:CLS>48</ns0:CLS>
<ns0:COM>410</ns0:COM>
<ns0:SW>P</ns0:SW>
<ns0:ALT_ID> </ns0:ALT_ID>
<ns0:ACTV_CD>I</ns0:ACTV_CD>
<ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
</ns0:MID_INTER_XREF>
<ns0:MID_INTER_XREF>
<ns0:INT_ID>96</ns0:INT_ID>
<ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
<ns1:PERS_TITLE>MGR</ns1:PERS_TITLE>
<ns1:PERS_FIRST_NM>TEMP</ns1:PERS_FIRST_NM>
<ns1:PERS_LAST_NM>GRT</ns1:PERS_LAST_NM>
</ns1:CDS_Person>
<ns0:CLS>48</ns0:CLS>
<ns0:COM>935</ns0:COM>
<ns0:SW>D</ns0:SW>
<ns0:ALT_ID>F$</ns0:ALT_ID>
<ns0:ACTV_CD>A</ns0:ACTV_CD>
<ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
</ns0:MID_INTER_XREF>
</ns0:Body>
</ns0:MSG_Cont>B:
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MSG_Cont xmlns:ns0="http://xmlns.sample.xml.com/Xref">
<ns0:Header>
<ns0:ProjectName>Services-1</ns0:ProjectName>
<ns0:TimeStamp>11-05-2007 08:24:08</ns0:TimeStamp>
</ns0:Header>
<ns0:Body>
<ns0:MID_INTER_XREF>
<ns0:INT_ID>0</ns0:INT_ID>
<ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
<ns1:PERS_TITLE>TECH</ns1:PERS_TITLE>
<ns1:PERS_FIRST_NM>BUY</ns1:PERS_FIRST_NM>
<ns1:PERS_LAST_NM>INT</ns1:PERS_LAST_NM>
</ns1:CDS_Person>
<ns0:CLS>98</ns0:CLS>
<ns0:COM>910</ns0:COM>
<ns0:SW>P</ns0:SW>
<ns0:ALT_ID> </ns0:ALT_ID>
<ns0:ACTV_CD>I</ns0:ACTV_CD>
<ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
</ns0:MID_INTER_XREF>
<ns0:MID_INTER_XREF>
<ns0:INT_ID>96</ns0:INT_ID>
<ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
<ns1:PERS_TITLE>TECH</ns1:PERS_TITLE>
<ns1:PERS_FIRST_NM>TEMP</ns1:PERS_FIRST_NM>
<ns1:PERS_LAST_NM>GRT</ns1:PERS_LAST_NM>
</ns1:CDS_Person>
<ns0:CLS>98</ns0:CLS>
<ns0:COM>435</ns0:COM>
<ns0:SW>D</ns0:SW>
<ns0:ALT_ID>F$</ns0:ALT_ID>
<ns0:ACTV_CD>A</ns0:ACTV_CD>
<ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
</ns0:MID_INTER_XREF>
</ns0:Body>
</ns0:MSG_Cont>Combined (desired Output):
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MSG_Cont xmlns:ns0="http://xmlns.sample.xml.com/Xref">
<ns0:Header>
<ns0:ProjectName>Services-1</ns0:ProjectName>
<ns0:TimeStamp>11-05-2007 08:24:08</ns0:TimeStamp>
</ns0:Header>
<ns0:Body>
<ns0:MID_INTER_XREF>
<ns0:INT_ID>0</ns0:INT_ID>
<ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
<ns1:PERS_TITLE>MGR</ns1:PERS_TITLE>
<ns1:PERS_FIRST_NM>BUY</ns1:PERS_FIRST_NM>
<ns1:PERS_LAST_NM>INT</ns1:PERS_LAST_NM>
</ns1:CDS_Person>
<ns0:CLS>48</ns0:CLS>
<ns0:COM>410</ns0:COM>
<ns0:SW>P</ns0:SW>
<ns0:ALT_ID> </ns0:ALT_ID>
<ns0:ACTV_CD>I</ns0:ACTV_CD>
<ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
</ns0:MID_INTER_XREF>
<ns0:MID_INTER_XREF>
<ns0:INT_ID>96</ns0:INT_ID>
<ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
<ns1:PERS_TITLE>MGR</ns1:PERS_TITLE>
<ns1:PERS_FIRST_NM>TEMP</ns1:PERS_FIRST_NM>
<ns1:PERS_LAST_NM>GRT</ns1:PERS_LAST_NM>
</ns1:CDS_Person>
<ns0:CLS>48</ns0:CLS>
<ns0:COM>935</ns0:COM>
<ns0:SW>D</ns0:SW>
<ns0:ALT_ID>F$</ns0:ALT_ID>
<ns0:ACTV_CD>A</ns0:ACTV_CD>
<ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
</ns0:MID_INTER_XREF>
<ns0:MID_INTER_XREF>
<ns0:INT_ID>0</ns0:INT_ID>
<ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
<ns1:PERS_TITLE>TECH</ns1:PERS_TITLE>
<ns1:PERS_FIRST_NM>BUY</ns1:PERS_FIRST_NM>
<ns1:PERS_LAST_NM>INT</ns1:PERS_LAST_NM>
</ns1:CDS_Person>
<ns0:CLS>98</ns0:CLS>
<ns0:COM>910</ns0:COM>
<ns0:SW>P</ns0:SW>
<ns0:ALT_ID> </ns0:ALT_ID>
<ns0:ACTV_CD>I</ns0:ACTV_CD>
<ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
</ns0:MID_INTER_XREF>
<ns0:MID_INTER_XREF>
<ns0:INT_ID>96</ns0:INT_ID>
<ns1:CDS_Person xmlns:ns1="http://xmlns.sample.xml.com/PXref">
<ns1:PERS_TITLE>TECH</ns1:PERS_TITLE>
<ns1:PERS_FIRST_NM>TEMP</ns1:PERS_FIRST_NM>
<ns1:PERS_LAST_NM>GRT</ns1:PERS_LAST_NM>
</ns1:CDS_Person>
<ns0:CLS>98</ns0:CLS>
<ns0:COM>435</ns0:COM>
<ns0:SW>D</ns0:SW>
<ns0:ALT_ID>F$</ns0:ALT_ID>
<ns0:ACTV_CD>A</ns0:ACTV_CD>
<ns0:LST_UPDT_DT>2006-01-30</ns0:LST_UPDT_DT>
</ns0:MID_INTER_XREF>
</ns0:Body>
</ns0:MSG_Cont>Trying to use the dom document.importNode() and appendChild(). But, looks like appendChild removes any already existing node (in this case - ns0:MID_INTER_XREF).
Any help appreciated.
TIA,
PraveenWell, the requirement was to have elements from different XML in a single master XML. The way we achieved this - read from each XML, append to a string buffer and construct the combined XML (which passes on for use elsewhere).
Hope this helps anyone with a similar requirement.
Many Thanks for looking. -
How to connect to a different XML?
<p>Hello all</p><p> I'm trying to connect to a different XML file using Crystal Reports XI and a Desktop .net application. </p><p>Any Ideas?</p><p> PS: Native XML. </p><p> Thanks in advance</p>
Hello,
one possibility is to use datasets.
Simply read different XML datasources to the dataset and pass it to the report.
Please see samples on our diamond community site under :
https://boc.sdn.sap.com/dotnet -
Different xml format in two servers?
Hello Experts-
I encountered a little orblem with xml .
I have a report in prod server (Version 10.1.3.4.0 )
and I have same report in Dev server(Version 10.1.3.3.2 )
I managed connections in Dev server such that the report query hits the Prod database (as dev data is inconsistant)
SO, Both the reports pulls up the information from same database. But still, both servers are producing different xml pattern
My data template consists of Graphs and charts.
I was able to view the out put when I run the report in Prod server.
But, When I run the report in Dev server, I viewed charts with wierd pattern.
I checked xml for prod and dev, and noticed a difference. Please notice type element
My prod xml:
<DATA><do_signingin><DO_SIGNINGIN_ROW>
<month>Nov - 09</month>
<type>EMERGENCY</type>
<price1>17</price1>
<price2>18</price2>
</DO_SIGNINGIN_ROW>
<DO_SIGININGIN_ROW>
<month>Nov - 09</month>
<type>LOCKED</type>
<price1>10</price1>
<price2>20</price2>
</DO_SIGNINGIN_ROW>
</do_signingin>
</DATA>
My dev xml:
<DATA><do_signingin><DO_SIGNINGIN_ROW>
<month>Nov - 09</month>
<type>
EMERGENCY</type>
<price1>17</price1>
<price2>18</price2>
</DO_SIGNINGIN_ROW>
<DO_SIGININGIN_ROW>
<month>Nov - 09</month>
<type>
LOCKED</type>
<price1>10</price1>
<price2>20</price2>
</DO_SIGNINGIN_ROW>
</do_signingin>
</DATA>
Please notice that "type" element value is printed in next line for Dev data. where as, it is printed in same line for prod data.
As the graphs are created with a condition on "type" element, I saw some distorted graphs (default graphs) in DEV.
Prod Graphs are correct.
Why are the two servers producing different xml, when they are hitting the same database?
I am unable to resolve this Problem. Can anyone help me in this issue.
Thanks in advance for your help.user8840662 wrote:
Also, I have one problem with another report.
When I tried to run the report and view it, It is gave me and error saying that - http://img34.imageshack.us/img34/7609/errord0.jpg
When I download the XML and RTF file onto my machine and view the output on my desktop, it is giving me the output.
What could be the reason??
There are the two prod fixes I need to do it today Can anyone please help me asap.
Thanks lot in advance!\
Any info on this issue please? -
Joining 2 different xml documents
Hi,
I have 2 different xml documents coming from different sources and i want to join the second document inside the first document root.How could i do??
Any example will be appreciated!!
Here is the example data:::
XML DOCUMENT(1)
<PopularModels>
<Manufacturer Make="Nokia"/>
</PopularModels>
XML DOCUMENT(2)
<Device>
<Price value="100"/>
</Device>
I want to join as follows:
<PopularModels>
<Manufacturer Make="Nokia"/>
<Device>
<Price value="100"/>
</Device>
</PopularModels>
nullHere is an example XSL file only for your example data, please modify to meet your further requirements.
<?xsl version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" indent="yes"/>
<xsl:variable name="ex" select="document('try02.xml')"/>
<xsl:template match="/">
<xsl:for-each select="PopularModels/child::*">
<xsl:copy-of select="."/>
</xsl:for-each>
<xsl:for-each select="$ex/child::*">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
Hope this will help.
null -
Produce 2 different xml files from the same PDF
Hi all
I need to produce a PDF document which will produce two different XML files depending upon which option ('file A' or 'file B') the user chooses.
One file needs to capture most of the data from the PDF, the second file only needs to capture some of the data from the PDF.
Is there a straightforward and efficient way of doing this (i am new to lifecycle)?
ThanksLiveCycle will extract all bound data fields into the XML data. I don't believe that you can change data binding at run time. One thing you could do is to have a process that evaluates the data coming from the form by examining one of the fields. If the data matches a 'file A' type then just pass along the data. If it matches a 'file B' type then run an XSLT transformation to get the other form of the data.
Maybe you are looking for
-
Why the same function ToolTipText behaves differently in Jar and in Class
Hi All! In my applet I use two similar statements from javax.swing: jListTeaSortSelect.setToolTipText("To stop the alarm just click over here."); jProgressBar1.setToolTipText("To stop the alarm just click over here."); Both work correctly when I run
-
Is there a way to undo the last itunes update? itunes will not now recognise my ipod nano
I recently installed the itunes update to 11.3 and my ipod nano (gen 7) is no longer recognised in itunes. Is there a way to undo the update or is itunes issuing a fix for it. the message board indicate I'm far from alone with this problem!
-
Edittable ALV grid using CL_GUI_ALV_GRID supported in ERP 4.7
Hi.. I like to know whether EDItable ALV grid is Supported in version 4.7 ..... ..Thanks & Regards Ashish
-
Capturing DHCP Assignments to IP Addresses
I am running MARS 6 software. While I am getting a lot of operational value, I still have a lot of setup questions. Today it is if MARS tracks the DHCP assignments. We use Active Directory for our dynamic devices, and of course DHCP to get addresses
-
Hello Our old computer crashed and we were unable to backup our itunes....how can we retrieve our itunes online? Please help me... Thank you, Robin Galida