1,599 Topics

Member Avatar for
Member Avatar for itsnexgen

Hi All, I am thinking, it would be best to generate the complete Javascript Code for the navigation menu within a Java-Class and call this functionality out of the JSP page. To make it easier to maintain the menu-structure and all the therefore needed information, we had the idea to …

0
62
Member Avatar for v.godhe

I have some data that I want to store in the DB2 9. Should I store this data as XML schema or relational schema?

Member Avatar for ash05
0
391
Member Avatar for ollirei

Hi, I use following example XML file and want to extract child nodes by given 'paths'. <?xml version="1.0" encoding="UTF-8"?> <Element> <Title ElementID="SL17681">title</Title> <Element> <Title ElementID="SL17682">title 2</Title> <Para id="target022"> Der <Comment id="SL17882"> <User> Test1 </User> </Comment> Anwender <Comment id="SL17868"> <User> Test2 </User> </Comment> muss <Comment id="WRONG023"> <User> Test3 </User> </Comment> sehr …

0
63
Member Avatar for jkozersky

Hi, I was wondering if anyone can think of a way for me to exclude leaf nodes from my output using x-path? The trick here is this must be dynamic as leaf nodes can occur in the 2nd and 3rd level of a treeview in ASP. I have found several …

0
65
Member Avatar for CoolGamer48

Hey, I'm attempting to write an XML parser in C++, and I have some questions on some XML syntax. First: what is the rule for what goes between the end of the last attribute and the end of a tag? E.g.: is this ok:[ICODE]<tag attribute="value" >[/ICODE]? is this ok:[ICODE]<tag attribute="value">[/ICODE]? …

Member Avatar for Narue
0
158
Member Avatar for dghosh

I need to work with a nested for-each loop in XSLT. Below is the code. Please note that I am using grouping here. [code] <xsl:key name="list" match="video_card" use="id"/> <xsl:for-each select="(//video_card)[generate-id(.)=generate-id(key('list', id))]/id"> <div class="show_config_list"> <xsl:for-each select="key('list', .)"> <xsl:sort select="config_name"/> <input type="checkbox" class="config_list" value="{config_id}" name="cfg[][id]" [B]id="cfg_{position()}"[/B] checked="checked" /> </xsl:for-each> </div> [/code] If …

0
70
Member Avatar for anuragatiiith

Hi I have data in xml format ..i want to extract attribute values from my database ..to display it ...which tolls will be best ?? ne suggestions ? thnx

0
42
Member Avatar for anugowda

Hi; I have an XML document , and I need to go thorugh all the nodes and get the values and store it in an object. I need to traverse through all the nodes and get the values. How do I do it. This is my XML . Please help …

Member Avatar for iffEngineer
0
234
Member Avatar for gaziebasha

Hi, I have my xml like below <compType> <round roundNumber =1 name"xyz"> <fixture fixtureId="1063" status="NotStarted" > </round> <round roundNumber =1 name"dgb"> <fixture fixtureId="334" status="NotStarted" > </round> <round roundNumber =2 name"dgb"> <fixture fixtureId="334" status="NotStarted" > </round> </compType> I know I can group the rounds with the same round number but still …

0
40
Member Avatar for 7arouf

hi there. i created an xml, xsl, and html files and i need to create a drop down list that will allow me to quesry database my xsl files is [QUOTE] <?xml version="1.0" ?> - <Kwantlen> - <Schedule> <Semester>Summer</Semester> <Department>CISY</Department> <CourseName>Emerging Technologies</CourseName> <Prerequisite>CISY1218</Prerequisite> <CRN>2583</CRN> <Days>Monday</Days> <StartTime>16:00</StartTime> <EndTime>19:00</EndTime> <RoomNumber>G1045</RoomNumber> <Instructor>Sen</Instructor> <FinalDate>August …

Member Avatar for 7arouf
0
164
Member Avatar for abhidev

Hey All, I need help with formatting a .kml file which is read by Google Earth. This .KML file is basically a XML file, so I thot I can get some help in this XML forum. I am new user of GE. Actually I have created an application in VB …

0
74
Member Avatar for ChimpusDupus

hi, I feel retarded working with XML right now because I have no clue whatsoever how to do anything with. I really just need a simple, straigtforward description of how to read, edit, and write XML files that hold data, everything I've found on the internet and such hasn't given …

0
78
Member Avatar for anugowda

Hi; How do I eleiminate null values while reading xml in a loop in below code, i want to eliminate gettign value for middle name as it has null value <model:givenName>test1</model:givenName> <model:middleName/> <model:familyName>test2</model:familyName> <model:dob/> <model:gender/> <model:preferredLocale>en_US</model:preferredLocale> <model:timeZone>America/Los_Angeles</model:timeZone>

0
53
Member Avatar for bhavna_816

I have two XMls having same node and different data(innertext) I want to compare these two xmls and if there is any change then save the new one into the database and if both are same then do not save the data How can I compare these XML data? say …

0
72
Member Avatar for john98

Hi All, I want to create text slide show animation with XML for my flash site. But there should be no limitation to adding text in xml. Any suggestion would be greatly appreciated. You can also reply at: [email removed] thanks, john.

0
67
Member Avatar for n2201

I am trying to load XML files into SQL server database using SQLXML4.0 I have relation defined as such: [code] <xs:annotation> <xs:appinfo> <sql:relationship name="ApplicantPhone" parent="Applicant" parent-key="PQNumber" child="Phone" child-key="PQNumber" /> </xs:appinfo> </xs:annotation> [/code] and then I am using the relations as follows: [code] <xs:element minOccurs="0" maxOccurs="unbounded" name="CustPhone" sql:relation="Phone" sql:relationship="ApplicantPhone"> <xs:complexType> <xs:sequence> …

Member Avatar for n2201
0
101
Member Avatar for tecktalk

How can I open a pop window of particular size even when the javascript is disabled on the browser on my ASP page ? Solution: Here's a solution that degrades gracefully. It will open a clean popup if javascript is enabled, and a normal new browser window if javascript is …

0
98
Member Avatar for Mapper99

I can't seem to get a case insensitive search to work using an XPATH query. This code works: $lats = $users->xpath("/users/user[contains(.,'$fullname')]/lat"); This code does not work: $lats = $users->xpath("/users/user[contains(translate(.,'abcdefghijklmnopqrstuvwxyz'," + " 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'),'$fullname')]/lat"); Any ideas? Thanks in advance, Mapper

0
64
Member Avatar for tecktalk

can sumome tell me plss.. that can i use XSLT in my webpage to set the style whihc is made in PHP...??

0
83
Member Avatar for jencinas69

hey any body know more about this script to convert CSV to XML [code] <?php /** * Converts a CSV file to a simple XML file * * @param string $file * @param string $container * @param string $rows * @return string */ error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", true); function csv2xml($file, …

Member Avatar for jencinas69
0
200
Member Avatar for Arijit Manna

Sorry, I posted in the XML forum, but actually I couldn't find any forum for XAML.:$ Iam trying to develop a Treeview where the user can only view childnodes of a node only one at a time. eg. Suppose the user clicks on Node 1 its childnodes shall be visible, …

0
54
Member Avatar for dinilkarun

i am getting data from a database using VB and then parsing it onto an XML sheet. I find that i'm not able to put a string with number/space/any special characters as the first character for a node. Is there any way to escape this rule in XML? Please help

Member Avatar for ganymede
0
53
Member Avatar for jencinas69

Hey I have a DTI text file that I need to convert to xml format. Have you done this before? Attached are the TXT and XML file

Member Avatar for ganymede
0
61
Member Avatar for timar

Hi I need to convert below part <ul> <li id="L_115775_tr"> <span> <a href="http://support.microsoft.com/ph/11732" id="L_115775">Windows Vista Solution Center</a> </span> <li id="L_116381_tr"> <span> <a href="http://support.microsoft.com/ph/8722" id="L_116381">Windows Internet Explorer 7 Solution Center</a> </span> <li id="L_125705_tr"> <span> <a href="http://support.microsoft.com/ph/1173" id="L_125705">Windows XP Solution Center</a> </span> <li id="L_147192_tr"> <span> <a href="http://support.microsoft.com/gp/cp_email" id="L_147192">E-mail Solution Center </a> </span> …

Member Avatar for ganymede
0
144
Member Avatar for codeslave

Hi: I was wondering if anyone was using XSLT to show the results of Google Analytics. If so what is the best way to get started. Thank you!

0
57
Member Avatar for nnobakht

Hey guys, i have a XML file that i would like to validate using a XSD i have created. What is the best way to do that? i dont want to use C# (which is what the rest of the program which outputs the XML is wrriten in) is there …

0
75
Member Avatar for micksatana

hi, i'm really a newbie in xslt. i try to add string to a variable using concat (there is some how my xslt processor doesn't know string-join, but that's not the point here =P) this is some part of xml code [code=xml] <node0> <node1> <node1name>xxxx</node1name> <node2> <node3>01</node3> </node2> <node2> <node3>02</node3> …

Member Avatar for micksatana
0
1K
Member Avatar for nnobakht

Hey guys i have a xml file which looks like [CODE] <?xml version="1.0" ?> - <Booking> - <booking> - <required> <VoyageID>navid</VoyageID> <BookingNumber>omid</BookingNumber> <LoadPort>nariman</LoadPort> <DischargePort>mojedeh</DischargePort> </required> - <additional> <sepandar>sepandar</sepandar> <sepand>sepand</sepand> <manoucher>manoucher</manoucher> <nasrin>nasrin</nasrin> <homa>homa</homa> <parviz>parviz</parviz> <farhad>farhad</farhad> <giti>giti</giti> <marzbani>marzbani</marzbani> </additional> </booking> - <booking> - <required> <VoyageID>2</VoyageID> <BookingNumber>141</BookingNumber> <LoadPort>280</LoadPort> <DischargePort>419</DischargePort> </required> - <additional> <sepandar>558</sepandar> …

0
83
Member Avatar for musicmancanora4

Hey guys with regards to <xsl:value-of select="Catalog/Product_Type/Name"> how would i put that in a <h1> html tag which is defined in my css file. [code]<h1><xsl:value-of select="Catalog/Product_Type/Name"></h1>[/code] i get errors in xalan when i do that? The results of the value-of select i want it to be in a different font …

0
93
Member Avatar for santoo

Hi, this is my xml fragment [B]<?xml version="1.0" encoding="ISO-8859-1"?> <Table xmlns="urn:UMS-application" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance/UMS_APP.xsd"> <Row> <APP_ID>skumar</APP_ID> <APP_NAME>1</APP_NAME> <APP_DESC>Sample test application 2</APP_DESC> <ACTIVE>true</ACTIVE> </Row> <Row> <APP_ID>10</APP_ID> <APP_NAME>Test3</APP_NAME> <APP_DESC>sample test</APP_DESC> <ACTIVE>true</ACTIVE> </Row> <Row> <APP_ID>11</APP_ID> <APP_NAME>Test4</APP_NAME> <ACTIVE>true</ACTIVE> </Row> </Table> [/B] this is the xsd schema file for validating the above xml [B]<?xml version="1.0" encoding="utf-8"?> <xs:schema …

0
82

The End.