Create Checkbox with Attributes from XML file
Hi
I have some problem. I want to create some checkbox with attribute from a XML file
my Xml file look like this:
<group type="Content Relation" color="255, 255, 255" active="true">
so I want to create for example a check box with name as Content Relation, Background color is RGB(255, 255, 255) and it's checked. All of these Attribute I have readed and save them as String. My question, how can I create a Color object with the color Attribute from the XML file?
Is it better if I define my XML file like this:
<group>
<type>Content Relation</type>
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
<active>true</active>
</group>
IMO attributes are much easier to parse then textnodes
altho
<color red='255' green='255' blue='255'/>
might be easier
Similar Messages
-
1.6 Dynamic Photo Gallery - alt and title attributes from xml file?
Hi!
I would like to attach information to my gallery images from
the XML-file used by the gallery.
Especially the alt and title attributes for the "img
id="mainImage"-tag would add a bit more user friendliness.
I found
this
example about adding caption to images very help full and
everything worked just fine, thanks to clear information!
(http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=72&catid=602&threadi d=1306782&enterthread=y)
Could someone come up with an example of adding title/alt
attributes values from XML file?
I'm sure there are quite a few out ther who would like to see
a solution to this ;)You need to add your info to the XML.
So something like:
<photo
path = "travel_01.jpg"
width = "263"
height = "350"
title="my title"
alt_text="Alt Text"
thumbpath = "travel_01.jpg"
thumbwidth = "56"
thumbheight = "75">
</photo>
Then in your detailregion:
<img src="{dsData::large/@base}{@path}" alt="{@alt_text}
title="{@title}" />
I am using
http://www.adobe.com/devnet/dreamweaver/articles/spry_photo_album.html
as the source of my samples...
So, just add the data to the XML and then you will have these
attributes available as data references.
Hope this helps.
Don -
How to get attribute from xml file
I managed to grab all the info from xml, except the "url" attribute in <image type="poster" url="" size="mid" .../>. Any ideas?
import java.io.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.net.*;
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.NodeList;
import org.xml.sax.SAXException;
public class XmlParser {
ArrayList<Movie> myMovies;
Document dom;
public XmlParser(){
//create a list to hold the movie objects
myMovies = new ArrayList<Movie>();
public void runExample(String adr, String tagName) {
parseXmlFile(adr);
parseDocument(tagName);
printData();
private void parseXmlFile(String adr){
//get the factory
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
try {
//Using factory get an instance of document builder
DocumentBuilder db = dbf.newDocumentBuilder();
//parse using builder to get DOM representation of the XML file
URL xmlUrl = new URL(adr);
InputStream in = xmlUrl.openStream();
dom = db.parse(in);
}catch(ParserConfigurationException pce) {
pce.printStackTrace();
}catch(SAXException se) {
se.printStackTrace();
}catch(IOException ioe) {
ioe.printStackTrace();
private void parseDocument(String tagName){
//get the root elememt
Element docEle = dom.getDocumentElement();
//get a nodelist of <movie> elements
NodeList nl = docEle.getElementsByTagName(tagName);
if(nl != null && nl.getLength() > 0) {
for(int i = 0 ; i < nl.getLength();i++) {
//get the movie element
Element el = (Element)nl.item(i);
//get the Movie object
Movie mov = getMovie(el);
//add it to list
myMovies.add(mov);
* I take an movie element and read the values in, create
* an Movie object and return it
* @param movE
* @return
private Movie getMovie(Element movE) {
String title = getTextValue(movE, "original_name");
String year = getTextValue(movE, "released");
String imdbId = getTextValue(movE, "imdb_id");
double score = getDoubleValue(movE, "score");
String overview = getTextValue(movE, "overview");
String poster = movE.getAttribute("url");
Movie mov = new Movie(title, year, imdbId, score, overview, poster);
return mov;
private String getTextValue(Element ele, String tagName) {
String textVal = null;
NodeList nl = ele.getElementsByTagName(tagName);
if(nl != null && nl.getLength() > 0) {
Element el = (Element)nl.item(0);
textVal = el.getFirstChild().getNodeValue();
return textVal;
* Calls getTextValue and returns a int value
* @param ele
* @param tagName
* @return int
private int getIntValue(Element ele, String tagName) {
//in production application you would catch the exception
return Integer.parseInt(getTextValue(ele, tagName));
* Calls getTextValue and returns a double value
* @param ele
* @param tagName
* @return double
private double getDoubleValue(Element ele, String tagName) {
return Double.parseDouble(getTextValue(ele, tagName));
* Iterate through the list and print the
* content to console
private void printData(){
System.out.println("Total Movies: " + myMovies.size());
Iterator it = myMovies.iterator();
while(it.hasNext()) {
System.out.println(it.next().toString());
public static void main(String[] args){
//create an instance
XmlParser xp = new XmlParser();
//call run example
xp.runExample("http://api.themoviedb.org/2.1/Movie.search/en/xml/apikey/Fight+Club+1999", "movie");
}Here is the example xml file I used
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/">
<opensearch:Query searchTerms="Fight Club 1999"/>
<opensearch:totalResults>1</opensearch:totalResults>
<movies>
<movie>
<score>8.383284</score>
<popularity>3</popularity>
<translated>true</translated>
<adult>false</adult>
<language>en</language>
<original_name>Fight Club</original_name>
<name>Fight Club</name>
<alternative_name>El Club de la Lucha</alternative_name>
<type>movie</type>
<id>550</id>
<imdb_id>tt0137523</imdb_id>
<url>http://www.themoviedb.org/movie/550</url>
<votes>62</votes>
<rating>8.4</rating>
<certification></certification>
<overview>A lonely, isolated thirty-something young professional seeks an escape from his mundane existence with the help of a devious soap salesman. They find their release from the prison of reality through underground fight clubs, where men can be what the world now denies them. Their boxing matches and harmless pranks soon lead to an out-of-control spiral towards oblivion.</overview>
<released>1999-09-16</released>
<images>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-original.jpg" size="original" width="1000" height="1500" id="4bc908ab017a3c57fe002f75"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-mid.jpg" size="mid" width="500" height="750" id="4bc908ab017a3c57fe002f75"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-cover.jpg" size="cover" width="185" height="278" id="4bc908ab017a3c57fe002f75"/>
<image type="poster" url="http://hwcdn.themoviedb.org/posters/f75/4bc908ab017a3c57fe002f75/fight-club-thumb.jpg" size="thumb" width="92" height="138" id="4bc908ab017a3c57fe002f75"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-original.jpg" size="original" width="1280" height="720" id="4bc908ab017a3c57fe002f71"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-poster.jpg" size="poster" width="780" height="439" id="4bc908ab017a3c57fe002f71"/>
<image type="backdrop" url="http://hwcdn.themoviedb.org/backdrops/f71/4bc908ab017a3c57fe002f71/fight-club-thumb.jpg" size="thumb" width="300" height="169" id="4bc908ab017a3c57fe002f71"/>
</images>
<version>73</version>
<last_modified_at>2010-09-11 14:33:06</last_modified_at>
</movie>
</movies>
</OpenSearchDescription>pvujic wrote:
Thanks, but how can I "fetch" the url from the image element?You've got to first get to the image element. But based on what you've posted though, with a little more coding, you should be able to succeed. Just give it a try! :) -
How can i extract attributes from XML-file
Hi!
I want to extract XML-files.
And the most tags are no problem,but how can i extract attributes?
Here is a part from the XML-Schema:
<xs:complexType name="ATT_LIST">
<xs:sequence>
<xs:element name="ATTRIB" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="VALUE"/>
</xs:sequence>
<xs:attribute name="ATTNAM" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
Thanks for help.
With best regards.
NicoleHi!
If i delete one '/' i get the error message:
data can't be found'
This is my xml-file:
<?xml version="1.0" encoding="UTF-8"?>
<INSOBJ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sv6:8080/sys/schemas/SCOTT/sv6:8080/public/mydocs/inspection_pda_schema.xsd">
<INSP_PDA>
<SYSID>900000438</SYSID>
<INSPECTOR/>
<INSDAT>20001223</INSDAT>
<INSOBJ_TYP>MSP-Mast</INSOBJ_TYP>
<INSOBJ_ID1>BAM / Bad Aussee / Bad Mitterndorf/Grundlsee</INSOBJ_ID1>
<INSOBJ_ID2>MITTERNDORF 2 - M 259</INSOBJ_ID2>
<INSOBJ_ID3>239</INSOBJ_ID3>
<INSOBJ_NAME>259</INSOBJ_NAME>
<PDA_PORTION>0000000391</PDA_PORTION>
<GESQUALITAET/>
<AUSFALLSEINSCH/>
<ANMERKUNGEN/>
<LAGE_NORD>48,2281993</LAGE_NORD>
<LAGE_OST>14,2394658</LAGE_OST>
<HOEHE/>
<GPS_STATUS/>
<KOORD_SYSTEM/>
<KOORD_EINHEIT/>
<PLZ/>
<ORT/>
<STR_ORTSTEIL/>
<NUMMER/>
<BEZEICHNUNG/>
<GRUNDBESITZER/>
<TELENR/>
<ERREICHBARKEIT/>
<ATT_LIST>
<ATTRIB ATTNAM="BAUWEISE">
<VALUE>E-Mast</VALUE>
</ATTRIB>
<ATTRIB ATTNAM="HOLZART">
<VALUE>KIEFER</VALUE>
</ATTRIB>
</ATT_LIST>
<MZ_LIST>
<MAS_ZU MZ_NAM="AUSHOLZEN">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM>N</DONE_AM>
<DONE_VOM/>
<URSACHE>2</URSACHE>
<DRINGLICH>2</DRINGLICH>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="ALLGEMEIN-ANMERKUNG">
<VALUE>2 Isolatoren</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE>2</URSACHE>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="Stange erdfaul/hohl">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE/>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="Masttyp nicht normgerecht">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE/>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
</MZ_LIST>
</INSP_PDA>
<INSP_PDA>
<SYSID>900000437</SYSID>
<INSPECTOR/>
<INSDAT>20001223</INSDAT>
<INSOBJ_TYP>MSP-Mast</INSOBJ_TYP>
<INSOBJ_ID1>BAM / Bad Aussee / Bad Mitterndorf/Grundlsee</INSOBJ_ID1>
<INSOBJ_ID2>MITTERNDORF 2 - M 259</INSOBJ_ID2>
<INSOBJ_ID3>239</INSOBJ_ID3>
<INSOBJ_NAME>259</INSOBJ_NAME>
<PDA_PORTION>0000000391</PDA_PORTION>
<GESQUALITAET/>
<AUSFALLSEINSCH/>
<ANMERKUNGEN/>
<LAGE_NORD>48,2281993</LAGE_NORD>
<LAGE_OST>14,2394658</LAGE_OST>
<HOEHE/>
<GPS_STATUS/>
<KOORD_SYSTEM/>
<KOORD_EINHEIT/>
<PLZ/>
<ORT/>
<STR_ORTSTEIL/>
<NUMMER/>
<BEZEICHNUNG/>
<GRUNDBESITZER/>
<TELENR/>
<ERREICHBARKEIT/>
<ATT_LIST>
<ATTRIB ATTNAM="BAUWEISE">
<VALUE>E-Mast</VALUE>
</ATTRIB>
<ATTRIB ATTNAM="HOLZART">
<VALUE>KIEFER</VALUE>
</ATTRIB>
</ATT_LIST>
<MZ_LIST>
<MAS_ZU MZ_NAM="AUSHOLZEN">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM>N</DONE_AM>
<DONE_VOM/>
<URSACHE>2</URSACHE>
<DRINGLICH>2</DRINGLICH>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="ALLGEMEIN-ANMERKUNG">
<VALUE>2 Isolatoren</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE>2</URSACHE>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="Stange erdfaul/hohl">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE/>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
<MAS_ZU MZ_NAM="Masttyp nicht normgerecht">
<VALUE>J</VALUE>
<BEMERKUNG/>
<INSP_AM/>
<INSP_VON/>
<DONE_AM/>
<DONE_VOM/>
<URSACHE/>
<DRINGLICH/>
<ZIEL_DAT/>
<MZ_PARAM_LIST/>
</MAS_ZU>
</MZ_LIST>
</INSP_PDA>
</INSOBJ>
Thanks for help.
With best regards
Nicole -
Prepopulating PDF Fillable Forms with data from XML files
How can I get a PDF fillable form to open pre-populated with data from an XML file automatically? I've been using Adobe Standard 9.0 and am willing to upgrade in a modest fashion if necessary. I am aware of the Navigation method > Forms > Manage Form Data > Import Data. This works fine, however, my users are not smart enough to do tis much clicking and selecting. Is there an automated way to have this XML data merged into the PDF file on the fly. These files will reside on an internal local area network and will be operated on local PC's that will probably have Acrobat Reader ONLY. I have been told that the only way to accomplish this is through Java Scripting. I would prefer to do this the 'old fashioned' way of command line switches, but that does not appear to be an option. Does anyone have a sample Javascript that would accomplish what I am trying to achieve. Any help would be greatly appreciated.
Hi Sharon
The easiest way is:
- Open your PDF form within Acrobat
- From the File menu, import the XML form data into the form
- From the File menu, use Save As... to save the file with a new name.
The new PDF will be identical to the original one, but will have the data embedded in it. Voila.
If you want the same form to pre-populate with different XML files depending on the circumstances, or if you're generating the XML on the fly, then things get more complicated. (And more expensive.) As your consultant said, LiveCycle Forms is one option, but it is expensive (actually even more than 10K). There are other options, including Cold Fusion, custom servlets, etc.
Howard
http://www.avoka.com -
Prepopulating PDF forms with data from XML file
How can I get a PDF form to open pre-populated with data from an XML file automatically? I've been using Adobe LifeCycle Designer 8.0 and there doesn't seem to be a way to do it. The closest I came was to use the ImportData method, but that only lets you specify a data file if the form is signed (certified), which these aren't and don't need to be because we're using them on an internal company web page. ImportData works if there is no file name, but then the user has to navigate to and select the correct file, which we can't rely on our users to do.
I've researched this problem for days on this and other websites and haven't found an answer (one Adobe advisor suggested purchasing LifeCycle Forms, which is not an option because it's a $10,000 software package and the company wouldn't authorize a purchase that steep). We will buy a less-expensive option if there is one. We'll even hire a consultant if we can find one to who can design a supportable solution. All suggestions will be much appreciated.Hi Sharon
The easiest way is:
- Open your PDF form within Acrobat
- From the File menu, import the XML form data into the form
- From the File menu, use Save As... to save the file with a new name.
The new PDF will be identical to the original one, but will have the data embedded in it. Voila.
If you want the same form to pre-populate with different XML files depending on the circumstances, or if you're generating the XML on the fly, then things get more complicated. (And more expensive.) As your consultant said, LiveCycle Forms is one option, but it is expensive (actually even more than 10K). There are other options, including Cold Fusion, custom servlets, etc.
Howard
http://www.avoka.com -
Dynamically create Value Objects from XML file
Hi
I want to create a value object from Xml file dynamically,like in the xml file i have the name of the variable and the datatype of the variable.is it possible do that,if so how.Read about apache's Digester tool. This is part of the Jakartha project. This tool helps in creating java objects from the XML files. I am not sure, if that is what u r looking for.
-
How to create Inbound Idoc from XML file-Need help urgently
Hi,
can any one tell how to create inbound Idoc from XML file.
we have xml file in application server Ex. /usr/INT/SMS/PAYTEXT.xml' we want to generate inbound idoc from this file.we are successfully able to generate outbound XML file from outbound Idoc by using the XML port. But not able to generate idoc from XML file by using we19 or we16.
Please let me know the process to trigger inbound Idoc with out using XI and any other components.
Thanks in advance
Dora ReddyHi .. Did either of you get a result on this?
My question is the same really .. I am testing with WE19 and it seems SAP cannot accept an XML inbound file as standard.
I see lots of mention of using a Function Module.
Am I correct in saying therefore that ABAP development is required to create a program to run the FM and process the idoc?
Or is there something tht can be done with Standard SAP?
Thanks
Lee -
Currently my application uses the following arrays to populate a map with data depending on the user's selection.
<fx:Declarations>
<fx:Array id="fwo1">
<ammap:MapArea instanceName="borders" color="#FFFFFF" mouseEnabled="false"/>
<ammap:MapArea instanceName="SE" title="SWEDEN" value="4447100" customData="{dpSE}"/>
<ammap:MapArea instanceName="CH" title="SWITZERLAND" value="47100" customData="{dpCH}"/>
<ammap:MapArea instanceName="FR" title="FRANCE" value="447100" customData="{dpFR}"/>
</fx:Array>
<fx:Array id="fwo2">
<ammap:MapArea instanceName="borders" color="#FFFFFF" mouseEnabled="false"/>
<ammap:MapArea instanceName="SE" title="SWEDEN" value="2000" customData="{dpSE}"/>
<ammap:MapArea instanceName="CH" title="SWITZERLAND" value="200" customData="{dpCH}"/>
<ammap:MapArea instanceName="FR" title="FRANCE" value="20" customData="{dpFR}"/>
</fx:Array>
</fx:Declarations>
I would like to spin the country data off into one or more external XML files so that rather than being hard coded, the arrays would load the data dynamically.
<fx:Array id="fwo1">
<ammap:MapArea instanceName="borders" color="#FFFFFF" mouseEnabled="false"/>
[[include/loop through data from XML file to create rest of array]]
</fx:Array>
<fx:Array id="fwo2">
<ammap:MapArea instanceName="borders" color="#FFFFFF" mouseEnabled="false"/>
[[include/loop through data from XML file here to create rest of array ]]
</fx:Array>
After much searching, I just haven't quite found an example that will let me make the leap from hard coding to dynamically loading the data (in large part, because of the name space declaration as part of the array element).
Any suggestions would be greatly appreciated. Thanks so much.Hi laurie brown,
////////////////////// XML /////////////////////
<?xml version="1.0" encoding="iso-8859-1"?>
<Data>
<name>Raj</name>
<name>Siva</name>
<name>Babu</name>
<name>Kiran</name>
<name>Girish</name>
</Data>
////////////////////// XML /////////////////////
////////////////////// As 3.0 /////////////////////
package{
import flash.display.MovieClip;
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
public class XMLDataPush extends MovieClip{
var urlRequest:URLRequest = new URLRequest("data.xml");
var urlLoader:URLLoader = new URLLoader();
var dataArr:Array = new Array();
public function XMLDataPush():void{
urlLoader.load(urlRequest);
urlLoader.addEventListener(Event.COMPLETE, onLoaded);
private function onLoaded(evt:Event):void{
var xml:XML = new XML(evt.target.data);
for(var i:Number = 0; i<xml.children().length(); i++){
dataArr.push(xml.children()[i]);
trace(dataArr + " dataArr" );
////////////////////// As 3.0/////////////////////
If it use for you please mark it correct answer.
Thank you
Siva -
Pls Help me with steps to add data from xml file to SAP B1 through B1iSN.
Pls Help me with steps to add data from xml file to SAP B1 through B1iSN. I am getting stuck in xsl transformation. not able to understand where the mapping code needs to be added.
Pls explain me the steps for adding data from xml to B1 quotation step by step.
thanks and regards
PriyaHi,
Have you checked this: https://sap.na.pgiconnect.com/p45508295/?launcher=false&fcsContent=true&pbMode=normal ?
Thanks,
Gordon -
How to extract data from XML file with JavaScript
HI All
I am new to this group.
Can anybody help me regarding XML.
I want to know How to extract data from XML file with JavaScript.
And also how to use API for XML
regards
NagarajuThis is a Java forum.
JavaScript is something entirely different than Java, even though the names are similar.
Try another website with forums about JavaScript.
For example here: http://www.webdeveloper.com/forum/forumdisplay.php?s=&forumid=3 -
Basic question, how to create rtf template with a given xml file
Hello guys
I am new to BI publisher and I am learning how to create rtf templates using given xml fiel definitions by following the bi publisher guide
The steps I am following is:
1, create template using template builders, which is downloaded into MS words.
2, In the empty template, map the xml columns with template field using BI publisher tag
3, upload the template to BI Publisher as a layout.
That's all I can understand.
My question is:
1,in which above step do I import XML file into template builder (if not bi publisher), how to do so?
2,After template is created, how to associate this template layout with existing reports in BI Publisher, or is it necessary at all?
3,In the template content in MS Word template builder, what should I enter other than BI publisher tags for mapping XML field to desired template field
Or, if my understand of this process is entirely wrong, what's the right process of creating rtf template with a given XML file definition
ThanksIf you have a BI Publisher desktop installed, have a look a the demos,.. should answer most of your basic questions.
(Windows) Start->Programs->Oracle BI Publisher Desktop->Demos
Invoice Demo - good one for those with E-Business Suite
Report Demo - Sample using BI Publisher -
How to delete a perticular node from xml file using java code
Hii All,
Now i am trying to delete a perticular node from xml file.Like...
XML file:
<Licence>
<SERVER>
<was id="1">1</was>
<was id="2">2</was>
</SERVER>
</LICENCE>
I am working in messaging service using JABBER framework with whiteboard facility.
Here Some commands i have created to add,modify,delete nodes from xml file.They Are
1.If u want to add a new node then.
create Licence.SERVER <ss id="3">ddd</ss> lic.xml
(here u want to add a new node called "ss" under Licence.SERVER.
And lic.xml is tyhe xml file name where it was saved.
2.If u want to delete a node(Suppose <was id="1">),then the command should be
delete Licence.SERVER.was:id='"1" lic.xml
A problem arises that here it find two was attributes.And it delete the last was attribute,not the requested node.
PLEASE HELP ME IN SOLVING THIS CODE..
------------------------------------Looks like you clicked on "Post" before you pasted in the code you were talking about.
-
Load Sales Order from Xml file
Hi,
I want to load a sales order from xml file. How can I do so? Where I'll get the xml schema for Sales Order or other documents (delivery,invoice etc)?
Plz reply with code and xml file.When I'm going to load SO from xml file, it's showing an error:
"The connected value 0 was not found in table Uasge of Nota Fiscal".
What is this table for? Which attribute is related with this table?
How can I find out that? -
I want to load a sales order from xml file. How can I do.
Hi,
I want to load a sales order from XML file. How can I do ? how can i create the sales order?
what are the necessary setting for create the sales orders.
with Regards,
Prakesh.Three options come to my mind.
Option 1: Use SAP transaction SXDA_TOOLS (Object Type BUS2032), Program Type (BAPI) and Program (CREATEFROMDAT2).
Option 2: Use SAP transaction SXDA_TOOLS (Object Type BUS2032), Program Type (DINP) and Program (RVINVB10).
Option 3: Translate the xml to IDoc so that ORDER04 / ORDER05 Idoc can be used to create Sales order (WEDI transaction).
Maybe you are looking for
-
Directory Binding Script (Active and Open Directory) 10.7
Hi everyone I'm reposting this in the right thread. I've written a Directory Binding Script for 10.6 and ported it now to 10.7 as among the things that have changed in the upgraded version is a refurbished directory binding enviroment. The original t
-
Hi I want to INSERT a record in a Z-Table if a material belongs to a particular plant. My Code is:- IF plant is not initial and plant = say 'ABC'. INSERT ztable with material number ENDIF. Please corerct it if it is wrong at any place Thank You
-
Yahoo Mail: New Inbox Messages Are Not Downloaded To iPhone
Keywords: iPhone, Yahoo, mail, push, slow, broken, stopped, inbox, new messages, IMAP Problem Description: I just went through an entire day of restarting, restoring, reconfiguring my iPhone after the Mail App stopped downloading new messages from my
-
Problems with 10.6.6 and reinstalling 10.6
Hi All. I have a problem with my MBP 17 after the 10.6.6. After I installed the update, almost all taht I had on my desktop disappeared, I later found in the lost and found. The problem is that every time I reboot I get a the same status screen with
-
Remote impdp oracle 10G in window 2003 server
Hi Experts, I can use IMP/EMP to remote IMP/EMP as imp/exp USERID=SYSTEM/SCOTT@ORCA...... However, datapump need to create a directory=IMP_dir we have 2 server between east and west coast. exp dump files locates in local server. Can we remote IMPDP d