1,599 Topics

Member Avatar for
Member Avatar for zpk1

Hi all, I am trying to have a recursive sort on my xml data, but can only manage to sort the first layer..and not as what i want too :( , been trying to do this for a couple of weeks :confused: I would appreciate it if anyone could help …

Member Avatar for zpk1
0
140
Member Avatar for jonb7

I am trying to show a diff in two files from a daily script. i am unable to get it to read the files correctly and show what is different. example of the files is - <ad_xml> <group name="group1"> </group> <group name="group2"> <user> <name>user1</name> </user> <user> <name>user2</name> </user> <user> <name>user3</name> …

Member Avatar for TrustyTony
0
1K
Member Avatar for ceyesuma

Hello I am trying to use the loadFromXML() load a properties file and I don't understand the example because it is not reconizing the dtd. Is the example I am using wrong? [code] public static void main(String[] args) throws IOException, FileNotFoundException, PropertyVetoException, ProfileException, LoginException { LoadXMLProperties lp =new LoadXMLProperties(); [B]lp.loadXML("ModelResources_1.properties");[/B] …

0
55
Member Avatar for RSUNDARE

I have the xml from an Excel worksheet as given below. I would like to have a xslt to parse and extract the Excel rows in asimple xml format as given below based on the data picked from the named cells. I was able to collect data for each row. …

Member Avatar for xml_looser
0
108
Member Avatar for anjaliua

hii the following is my xml file.. [CODE][/CODE] <?xml version="1.0" encoding="UTF-8" ?> - <categories> - <medicines> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\2.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\3_001.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\3.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114126\4.html</url> </medicines> - <treatment> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114723\anemia-treatment-with-home-remedies.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421114723\ayurveda-encyclopedia-w.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421141322\alternative-treatments.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421141322\aromatherapy.html</url> <url>C:\Users\pcnet\Desktop\ayurveda_pages\20100421141322\free-home-remedy.html</url> </treatment> </categories> i want someone to help me to tell how to add a new url to the already existing xml file...new …

Member Avatar for xml_looser
0
166
Member Avatar for jonb7

Hi , I am trying to show members of groups in Active Directory and then enter them into XML format but am having problems getting it to work. I am new to all this stuff but have to get this to work fairly quick. Can someone advise please. [CODE]""" Script …

Member Avatar for jonb7
0
248
Member Avatar for phingko

Hi guys, I have a xml file that contains all the articles with few authors for each of them. something like this; [QUOTE]<authors> <author> <surname>Middleton</surname> <firstname>Karen L.</firstname> </author> <author> <surname>Chambers</surname> <firstname>Valrie</firstname> </author> </authors>[/QUOTE] I can display them in HTML well the problem is, the way I want to display is …

Member Avatar for rajarajan2017
0
96
Member Avatar for herbozo2

hi guys, I'm kind of new with xml. I have an xml file in the following format, with 592 records: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <data> <item> <buildingName>Chateau</buildingName> <address>81 North Broadway, White Plains, NY</address> <mail>I</mail> <laundry>I</laundry> <garbage>I</garbage> <parking>I</parking> <rating>No Access</rating> <municipality>White Plains</municipality> </item> <item> <buildingName>44 Franklin Avenue</buildingName> <address>44 Franklin Avenue, New Rochelle, …

0
73
Member Avatar for ceyesuma

Hello Could someone point out what I need to change in the code I have so far? I would like to use XML format in a properties file. The original .properties worked but this will not load the new formatted .properties. I have an app that loads properties in ModelUtils.java …

0
53
Member Avatar for complete

RSS data is nothing more than xml data, right? But is it some sort of special format that a webmaster have to follow inorder to be read from an RSS Reader? How do I make the XML data of my web site formatted for RSS readers?

Member Avatar for pritaeas
0
26
Member Avatar for IdanS

Hi guys, I have built xsd for my xml. Everything is working ok, but now I need to add support to the XML that a specific attribute will be unique. The attribute that I need it to be unique is the "Id" attribute of the "Test" element, you can find …

Member Avatar for IdanS
0
101
Member Avatar for Kusno

Dear all, I'm stucked with my XML problem. I have these stored procedures to save XML data into server hard disk. [CODE]CREATE PROCEDURE dbo.sp_XML_Employee(@Database varchar(10), @FileName Varchar(2000)) AS DECLARE @bcpCommand varchar(4000) SET @bcpCommand = 'bcp "SELECT EmployeeID, EmployeeName FROM ' + @Database + '.dbo.MasterEmployee ORDER BY EmployeeID FOR XML RAW(''Employee''), …

Member Avatar for Kusno
0
217
Member Avatar for soumya_mjmder

Hi..i am new with xml and xsl. I have the input xml as: <?xml version="1.0" ?> <Employee> <EmployeeDetails EmployeeName="JohnnyWalker" EmployeeId="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </Employee> -------------------------------------------- I want the output xml as: <Employee> <EmployeeDetails JohnnyWalker="12345" CompanyName="ABC Inc." CompanyAddress="Bangalore" ContactNo="0000000" /> </Employee> i need to do this using xsl.....can anybody …

Member Avatar for fpmurphy
0
2K
Member Avatar for xmlstudent

I have this piece of code: [CODE]<xsl:value-of select="format-number(/object/data/row/EGL_1244 - /object/data/row/EGL_1886,'0.00')"/>[/CODE] The idea is it subtracts EGL_1886 from EGL_1244 and displays the result as a number. However, on occasion each value can have a comma in it. So the value "1,234.56" would make the result show NaN. How can I rework …

Member Avatar for xmlstudent
0
76
Member Avatar for AnarChYm

Hi, I am a Maltese student currently working on my dissertation which focuses on J2ME Wireless SOAP protocol. Since in my country i.e. Malta we don’t have professional mobile developers I had to turn myself to online questionnaires for my research methodology those of you who has done a thesis …

Member Avatar for AnarChYm
0
119
Member Avatar for arabgogs

Hi there, I am hoping someone can help, I have an large XML structure which I am attempting to interrogate. My structure(problem) is as follows <BigStructure> <Structure myNumber="1003"> <Structures> <myMap> <Point ID="1"> <Opt>THE</Opt> <Next>2</Next> </Point> <Point ID="2"> <Opt>ONE</Opt> <Next>2</Next> </Point> </myMap> <myMap> <Point ID="1"> <Opt>THE</Opt> <Next>2</Next> </Point> <Point ID="2"> <Opt>THIS</Opt> …

Member Avatar for arabgogs
0
101
Member Avatar for gliesian

This code: [code]<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <add xmlns="http://calculator.me.org/" > <i xmlns="">4.0</i> <j xmlns="">2.0</j> </add> </soapenv:Body> </soapenv:Envelope>[/code] Produces this error when validated with NetBeans: [code]XML validation started. Checking ../soapXmlDocument.xml... cvc-elt.1: Cannot find the declaration of element 'soapenv:Envelope'. [4] XML validation finished.[/code] Any ideas why? Thanks!

0
49
Member Avatar for itslucky

Dear Friends, im creating a website in which i get a response of my XML request from server. Searchhotel.aspx create the [B]request[/B] and listofHotels.aspx get the [B]response[/B] on its Page_Load event. Currently when i click on Search button from Searchhotel.aspx page it remains on Searchhotel.aspx Page and only display listofHotels.aspx …

Member Avatar for rohand
0
110
Member Avatar for mw1

HI, I am very new to XSLT.. I am trying to have identity-copy of my html, and change a few things, but the result gives me extra <html><body></body></html> after my </html> here's my xsl: [CODE] <xsl:stylesheet version='1.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'> <xsl:template match='node()|@*' > <xsl:copy> <xsl:apply-templates select='node()|@*' /> </xsl:copy> </xsl:template> <xsl:template match='h2'> <xsl:copy> …

Member Avatar for mw1
0
97
Member Avatar for pliny

Sorry for the newbie question, but I'm just starting out with XML and XSLT. Here's the question. I'm working on an XML transcription of a document that includes corrections written in the margins and using XSLT to display it in HTML. Here's the tag I was told to use. [code]<app><rdg …

Member Avatar for xml_looser
0
213
Member Avatar for farsen

Hi. Quite a simple question I guess. I have this xml file: [CODE] <?xml version="1.0" encoding="utf-8" standalone="yes"?> <tasks> <subject> <id>123</id> <headline>a big headline</headline> <content>important stuff</content> </subject> <subject> <id>222</id> <headline>even bigger headline</headline> <content>important stuff 2</content> </subject> <subject> <id>333</id> <headline>a small one</headline> <content>important stuff333</content> </subject> </tasks> [/CODE] With C# I have loaded …

Member Avatar for PierlucSS
0
3K
Member Avatar for rajcog

Hi, I am new to xslt creation. I need some clarifications on xslt creation. Is it possible to connect the database using xslt? For example i have one request_details table in sql server. i want to connect to this database using xslt and get the maximum request_id value from the …

0
47
Member Avatar for jeff_mallatt

From within a template I'm trying to set a variable using a select= which references an absolute path. But when the "root" element specifies an xmlns= namespace, the select fails (returns an empty string). Here's the XSLT: [code=xml] <?xml version="1.0" ?> <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://foo.bar.com/something" > <xsl:output method="xml" indent="yes" encoding="windows-1252" …

Member Avatar for jeff_mallatt
0
1K
Member Avatar for deoshermes

Hey everyone, This is a thread about a rather complex SWF operation (for me at least is it complex) What is done: I have a main SWF file that loads some other SWF to be displayed in it and also loads 2 JPG's as the background of the buttons. There …

Member Avatar for rajarajan2017
0
167
Member Avatar for himit

Hi, I am trying to parse an xml which i am getting in a variable in my xsl. till the time i do not have any namespace in my xml i can parse all the tags of my xml from my xsl, however, for any tag with a namespace i …

Member Avatar for himit
0
120
Member Avatar for dhana.519

hi, this is dhana. this is my first post, i am little nervous. i am developing a j2me application, i used xml file as database. so, i created a xml file and i saved it in c:\ , when i am trying to open that file in j2me, it shows …

Member Avatar for NewColours
0
218
Member Avatar for DigitALL

Hello folks, I am a noob with XML but from what I read it is not a problem, in fact it is much easier that HTML. I have a flash/XML website template but unfortunately the designer did not provide the fla files. From the xml files you could change all …

Member Avatar for Erwan Amoureux
0
109
Member Avatar for sim.sim

I'm doing a website for a client...need to include dynamic flash galleries... The flash gallery works fine offline, but once I upload it online, (it is embedded in and html), the swf loads everything BUT the pictures (the pictures are called by xml). Why does this gallery not work? is …

0
51
Member Avatar for whitestream6

This is my XML code: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <library> <episodes> <episode> <eptitle>Police Stop!</eptitle> <epno></epno> <desc>Dangerous driving caught on camera.</desc> </episode> <episode> <eptitle>Police Stop! 2</eptitle> <epno></epno> <desc>Dangerous driving caught on camera. Including a pursuit through the Midlands.</desc> </episode> <episode> <eptitle>Police Stop! 3</eptitle> <epno></epno> <desc>Featuring footage of dangerous driving on our roads, …

Member Avatar for phpuser
0
95
Member Avatar for f_atencia

Hi all, I have an XML File: staff_record> <staff> <username>user1</username> <password>password1</password> </staff> <staff> <username>user2</username> <password>password2</password> </staff> <staff> <username>user3</username> <password>password3</password> </staff> </staff_record> I have a form (login.html) and I need to use an ASP page (login.asp) to redirect the user to home.asp when they have successfully logged in, based on the …

0
89

The End.