384 byte By
jmahdi at 2007-11-19 2:56:06
hi, i need to have some idea about collecting certain information from the web and then saving it in "common format " using XML...to present it then in user defined format... what do i need to read about , and does the above require , dtd, schema or the sorts?!! i'm totally ignorant about XML...
If I have a page that has header and left navigation bars with many links, and I want to store all the HTML link information in an XML file (say links.xml).For example, I have a site here: http://www.wibblegames.netThe XML file is http://www.wibblegames.net/wibble/links.xmlIf you notice, I have a se...
7 byte By
AndreiF at 2007-11-19 2:58:37
subject
2005 byte By
ashok123 at 2007-11-19 2:58:44
Hi All,I want to move data selectively from source to destination i.e if any duplicate element is present then it should not be copied. As u can see from the above data that there are two E Mail elements (Email1 & Email2), so if data within this elements is same then only one element should be copie...
2448 byte By
ashok123 at 2007-11-19 2:59:01
I am using MapForce data mapping tool.i have below XML data as Source which is having duplicate elements like code, name: <?xml version="1.0" encoding="UTF-8"?><CustomerDetails xmlns=" http://www.tdxgroup.com/namespace" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation...
331 byte By
Holly_vi at 2007-11-19 2:59:13
I am trying to parse an XML file using Xerces for C++.I came across the function getElementsByTagName that gets a tag name as an argument, and returns a list of child elements with this name, but I cant seem to understand how to use it.Can someone please help?Is there a user manual, or a tutorial fo...
Hi all, Which are best books to begin learning XML?1) In current projects i am using resource dlls , i want to change it with xml files . is it possible?2) Suppose I have some data in an xml file , is it possible to read it from application developed in vc++?Thanx in advanceRegardsRatheeshRavindr...
Hi Gurus,I'm creating XML using Xerces parser; DOM parser is outputing XML files with some blank lines in between;This is how its outputing<ParentNode lang="en"> <Child1 lang="en"> <Name>XXYZ</Name> <Number>2.1</Number> </Child1> <Child2 lan...
2207 byte By
Danii at 2007-11-19 3:07:37
I just started with xml and been working with it in ~10min.I got thisBok.xml:<?xml version="1.0" encoding="ISO-8859-1"?><?xml:stylesheet type="text/xsl" href="Personer.xslt"?><Personer><person><namn>Daniel</namn><alder>18</alder><kon>man</kon&...
i have client server model who need to talk using xml messages. how do i send and receive xml messages in a client server model
Ok, I am running into a conversion problem between XML Spy and Oracle. I have a 550,000 character XML Schema which is validating fine in XML Spy using the UTF-8 character set. Then I take that document, save it in a table in Oracle XML DB, then try and run a process on it, but it no longer validat...
584 byte By
jkmyoung at 2007-11-19 3:13:28
I have an xml file which contains table data, and it references a xslt stylesheet. This stylesheet takes a few parameters, eg sort-by and filter which changes the presentation data from the xml. I can pass the parameters successfully using saxon, or XMLSpy. How do you pass these arguments to the st...
1218 byte By
nleco at 2007-11-19 3:22:51
I was wondering if anyone has done something similar to what I need done. I have to show users an error whenever something goes wrong. I have a template such as this:<xsl:template name="errorbox"> <xsl:param name="message" select="''" /> <div class="errorbox"> <h...
1241 byte By
jkmyoung at 2007-11-19 3:22:55
I normally do loose schema with extra validation after the fact, but it would be nice to have automated validation per the schema. Things I'm trying to do individually (not all at once!):<xs:element name="row" minOccurs="0" maxOccurs="unbounded"> <xs:attribute name="id" type="xs:long"...
1401 byte By
somaraj at 2007-11-19 3:23:18
I am new to xml .I have a requirement like getting the different components in a system and dynamically generate a xml file .<component name=""><discription ></discription><property list><property> xxxx</property><property> xxxx</property><property...
2304 byte By
adicko at 2007-11-19 3:23:55
Hi,I want to validate a load/build xml against a given schema. [VB]Below there's the code, but when I (as in code) try to validate a wrong xml against the schema it also works. Where's the bug?? Dim xd As MSXML2.DOMDocument50 Dim xs As MSXML2.XMLSchemaCache50 S...
I am using XSLT to pretty much create a script to create database objects. There are several items in my XML which have names that are over the 30 character limit for objects in Oracle, so I substring the name and use that. However, there are several items in my XML where the first 30 characters a...
479 byte By
JimmyL at 2007-11-19 3:29:57
Hi all,Does someone know some web site where I can found reusable XML models (or even generic DTDs)?For example, I need to store multilingual text data in an XML document (for localization purpose) and I suppose that designing the format of this document would be reinventing the wheel, as some have...
2737 byte By
nvvn at 2007-11-19 3:32:14
Hi Friends,I need a serious help from you people and that too quick.I have a XSL file and an XML file. we need to transform this xsl file and get the html output.. And our requirement is it has to be done using MSXML4.0 versionEarlier version we used is MSXML3.0, in that it is working fine.. but whe...
200 byte By
nvvn at 2007-11-19 3:32:28
Can you please transform the following XSL with XML using XMLSPY using MSXML 4.0.<br/>If any changes required for the XSL please go ahead and do.<br/>Thankfully yours,<br/>XML stuck up team.
I need to import data from XML file to MySQL database. Anyone knows of a good tutorial? I tought using PHP to process XML, but am beginner in XSL and could use any good tip or tutorial link.<br/> <br/>Thank you.
Hello! I am trying to convert XML file to .txt file and I keep getting all content written in one line. How do I add "new line" instruction after some data? I tried defining: <xsl:variable name="newline"><xsl:text> </xsl:text></xsl:variable> and then putting <xsl:value...
485 byte By
ijoshi at 2007-11-19 3:34:42
We are using msxml dll for xml handling in borland C++ for desktop applications.We have used many functions of MSXML to deal with xml nodes.Is it necessary to call Release on each of these pointers after we finish using them. if yes, then how to use smart pointers instead of that?Is there any soluti...
How does <xsl:apply-templates/> work when you specify a specific template? Will the named template be processed when a generic <xsl:apply-templates/> is called?Basically, I have to loop through all of the elements that have maxOccurs>1 and output all of the attributes and elements un...
Hi gurus,I have a problem with the child nodes..i got the list of child nodes with the parent node..but how to get each child node one by one?I know methods for firstchild and last child...The code below is snippet from the main program...for each node i need to call a function which will find the a...
I am using a very simple XSLT template:<?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet version="1.0" xmlns:xsl=" http://www.w3.org/1999/XSL/Transform"><xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/><xsl:template match="/"><xsl:apply-templates/&g...
57 byte By
Holly_vi at 2007-11-19 3:40:33
What is XERCES_TMPLSINC?<br/>When do I need to define it?
3596 byte By
careysc at 2007-11-19 3:40:46
What is the best approach to use to create an XML file from data from a database that will match an existing XSD schema file?I have tried multiple ways, but none have accomplished everything that I have needed.I am using VB.Net and developing in Compact Framework for handhelds.I want the XML to matc...
244 byte By
Holly_vi at 2007-11-19 3:42:33
How do I tell the Xerces parser to validate my Xml file?<br/>I have an Xml file that is not valid. I tried to parse it, and I got no exception. <br/>I know I'm doing something wrong, but I don't know what.<br/>Can someone please help?
1110 byte By
jch at 2007-11-19 3:43:08
Does anyone here have experiencing transforming Oracle views into XML files?I am trying out one option of querying from SQL Plus (out of an Oracle 9i database) using xmlElement()I am using this codeSET LONG 2000SET PAGESIZE 80SELECT XMLElement("STUDY", study)FROM x$test.exampleThe ex...
2456 byte By
jch at 2007-11-19 3:43:11
I am trying to transform Oracle views into XML files. More specifically I need to transform an Oracle view into an XML file with a CDISC schema. One of the options I am considering is:1) extracting the views into an XML file using Toad2) transforming that XML file into another XML file that fits the...
Hi! I'm developing a c++ application using mfc and visual studio. My application needs an xml parser and I chose xerces. When I integrate mfc and xerces, I get a lot of XMemory.hpp compile errors.I've gone through some posts and they say its due to the preprocessor directive visual studi...
390 byte By
jch at 2007-11-19 3:49:09
The first is how do I generate a pair of element tags with an empty string as the textfor example I want to transform this tag in one XML file <INVESTIGATOR_ID_OR_NUMBER Missing=" " />to this tag in another XML file using XSLT <INVESTIGATOR_ID_OR_NUMBER > <INVESTIGATOR_ID_O...
2805 byte By
jch at 2007-11-19 3:49:10
How do I transform one branch into parent and child nodesFor exampleThe orginal XML file looks like this:<?xml version="1.0" encoding="iso-8859-1" ?><TABLE> <LABS> <SITE_ID_OR_NUMBER Missing=" " /> <INVESTIGATOR_ID_OR_NUMBER Missing=" " /> <Investiga...
I have an XML which looks like this:<dvdcollection> <dvd id="1"> <title>Text</title> <releasedate>Text</releasedate> <runningtime>Text</runningtime> <rating>Text</rating> <actors> <actor>Text</actor> <actor>...
4825 byte By
nvvn at 2007-11-19 3:51:03
Hi, Find below the XML file , XSL file and the ASP Client transformation code. While transforming i'm getting error. It was working fine with MSXML 3.0 and the functions in <xsl:script> are called from within the xsl like the following<xsl:eval>somefunction()</xsl:eval>. Since...
Hi I am an oracle developer and wish to generate XML using stylesheets and not ||'<'|| etc e.g. I have a table called channel with channel_name and channel_code. I want the data from my table to appear in the tags.My current stylesheet looks like this<?xml version="1.0" encoding="UT...
1034 byte By
Martin O at 2007-11-19 3:51:39
I keep seeing XML being described as something for the web. For example I have this definition from an MSDN article:'A simplified subset of the Standard Generalized Markup Language (SGML) specifically designed for Web applications'But can't XML be used in non-web applications? For ins...
7366 byte By
jch at 2007-11-19 3:55:43
I am using xslt to transform the below XML file into a hierarchy<?xml version="1.0" encoding="iso-8859-1" ?><TABLE> <LABS> <STUDY_ID_OR_NUMBER> 01234 </STUDY_ID_OR_NUMBER> <SITE_ID_OR_NUMBER> 01 </SITE_ID_OR_NUMBER> <INVESTIGATOR_ID_OR_NU...
Hi I am getting the following output 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. ------------------------Only one top level element is allowed in an XML document. Error processing resou...
2360 byte By
Holly_vi at 2007-11-19 3:59:16
Lets say I have an XML file with the following structure:<data><student-list><student><name first=John last=Doe/><address street=aaa street-num=22 city=aaa zipcode=12345 /><phone number=55555555 /><cell-phone number=77777777 />.</student><student>...
703 byte By
Holly_vi at 2007-11-19 4:02:40
Lets say I have an Xml file with the following element:<average value=87.425 />Im using Xerces for Cpp to parse this file, and now I want to process the attribute value that is of type double.Is this the way to do it?const XMLCh* pChAttrValue;pChAttrValue = pAverageElem->getAttribute(XMLStr...
Hi I have a XML document in which I am using a namespace e.g. <layout xmlns="www.cisco.com"> <page number="1"> <pagebody> <text> </text> </pagebody> </page></layout>There are several elements in this XML file as shown abov...
129 byte By
eliza at 2007-11-19 4:13:34
Hi,<br/>Can anybody help me with XSL. It is very urgent.<br/>Using XSL I need to insert values from XML file into a textbox.
I want to build simple web site using xml and xstl for transformation into html. Additionally I want to add xsd schema so the page will be validted each time before it will be shown.Alas IE seems to ignore content of xsd because if I've changed xml so it does not match the schema everything goe...
258 byte By
Esmo2000 at 2007-11-19 4:20:32
I was doing some code in C# and it there was an attribute that needed to be set called XmlRoot where a "Namespace" property was set. In the first case it was set to a website. Can someone explain to me the meaning of an XmlRoot? Thanks a lot!<br/>Jim
289 byte By
jmahdi at 2007-11-19 4:21:31
plzz can you help me with some tips about this topic was posted here: <br/> http://www.dotnetforums.com/showthread.php?t=1613<br/>in other words is almost the opposite of what a web servers do; to (bring information from the web and save it on my pc or hanheld..)<br/>regards
What (component, library, ...) should I use, include or import for using MSXML 1.0 (thats right it have to be ver 1.0)
571 byte By
Holly_vi at 2007-11-19 4:27:08
Lets say I have an XML file with the following segment: <a> <b /></a>:According to what I understand, the element a has one child - element b.I tried the following code:int NoChildren = pNode->getChildNodes()->getLength();char* ChildName = XMLString::transcode(pNode->ge...
707 byte By
d00_ape at 2007-11-19 4:27:27
Hi!I've created an XML file in VS.NET.I've created a Schema with "Create Shema" on the XML-menu.My XML-file then look like this:<?xml version="1.0" encoding="utf-8"?><ROOT xmlns=" http://tempuri.org/XMLFile1.xsd"><ELEM></ELEM></ROOT>The Schema-file (XMLFile1.xs...