1,599 Topics

Member Avatar for
Member Avatar for dhudnall

Hello All, I currently have a situation in which I need to dynamically populate a new row in a repeating table on an InfoPath form. I need to copy a field that is an external field into the newly created field in the repeating table. I was directed to an …

0
60
Member Avatar for smandape

Hello experts, I am trying to extract data from XML file using XSLT. I am trying to code a general XSLT code that can handle similar XML files that may differ a bit from each other. the XML code I am working on can have the following 4 scenarios for …

Member Avatar for xml_looser
0
265
Member Avatar for Climber Ty

So I am working on this XML project to create a small list of favorite DVDs, etc. Maybe I missed it (or that I may have not gotten this far in my reading) but in my DTD I want to restrict movie_review to only allow (G | PG | PG-13 …

Member Avatar for Climber Ty
0
254
Member Avatar for DarkLightning7

I can't find anything wrong with this document. I am using the xom libraries to parse this doc and they keep giving me an error. If someone could point out my errors that would be great. [CODE] <?xml version = "1.0" encoding = "UTF-8"?> <update version = "0" date = …

Member Avatar for xml_looser
0
184
Member Avatar for chriselectrix

Hi All I have an XML output that looks similar to the below ... [CODE]<ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[60]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[70]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[INSP A/W]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[INSP ACID/WASH]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[80]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[GET F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[GET FITTING LID]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> <JobOper_JobNum><![CDATA[019564]]></JobOper_JobNum> <JobOper_OprSeq><![CDATA[90]]></JobOper_OprSeq> <JobOper_OpCode><![CDATA[KIT F/L]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[KIT FITTING …

Member Avatar for xml_looser
0
233
Member Avatar for ibakir

lately i have did a nice idea , that i have a lot of course programs inside my XML file <?xml version="1.0" encoding="utf-8"?> <rss version="2.0"> <channel> <title>Training Programs</title> <link></link> <description>NA</description> <language>en</language> <copyright>NA</copyright> <lastBuildDate>Wed, 19 Apr 2006 16:26:12 -0800</lastBuildDate> <generator>text</generator> <docs>http://blogs.law.harvard.edu/tech/rss</docs> <item> <title>HR</title> <link>data/feed1/article_1.html</link> <pubDate>Wed, 19 Apr 2006 16:26:12 -0800</pubDate> </item> …

Member Avatar for ibakir
0
242
Member Avatar for Dragazarth

I feel this is the wrong type of use of this forum but I don't know where else to turn to! My Maths summary booklet which I have been typing up for my exams has an XML error within zip. I have tried to fix it but I don't know …

0
102
Member Avatar for chriselectrix

Hi All I have the following XML (which is generated automatically and cannot be modified): [CODE]<ExportQuery> <ELEC01_SOWaitingParts3> <OrderDtl_PartNum><![CDATA[UK MUNSTD 20 BOX OF 100]]></OrderDtl_PartNum> <JobOper_OprSeq><![CDATA[10]]></JobOper_OprSeq> <Part_PartNum><![CDATA[UK MUNSTD 20 BOX OF 100]]></Part_PartNum> <OrderDtl_OrderNum><![CDATA[18432]]></OrderDtl_OrderNum> <OrderHed_OrderNum><![CDATA[18432]]></OrderHed_OrderNum> <JobHead_PartNum><![CDATA[UK MUNSTD 20 BOX OF 100]]></JobHead_PartNum> <JobHead_JobComplete><![CDATA[Yes]]></JobHead_JobComplete> <JobOper_JobNum><![CDATA[018957]]></JobOper_JobNum> <JobOper_OpCode><![CDATA[GB STORE]]></JobOper_OpCode> <JobOper_OpDesc><![CDATA[GET BATCH STORES]]></JobOper_OpDesc> <JobOper_OpComplete><![CDATA[No]]></JobOper_OpComplete> <JobOper_QtyCompleted><![CDATA[0.00]]></JobOper_QtyCompleted> <FalseJobNum><![CDATA[18957]]></FalseJobNum> </ELEC01_SOWaitingParts3> <ELEC01_SOWaitingParts3> …

0
112
Member Avatar for HerecyOfTheMind

Hi guys, keep getting an error: Cannot find the deceleration of element test when writing the xml. I have declared the element test in the schema but it appears to ignore it. The schema is as follows: [CODE]<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="Test"/> <xs:simpleType name="Stringtype"> <xs:restriction base="xs:string"/> </xs:simpleType> <xs:simpleType …

Member Avatar for mrame
0
134
Member Avatar for vijiraghs

I have an XML file that i am parsing using DOM. I dont know why my code is not working. [CODE] <html> <head> <script type="text/javascript"> function loadXMLDoc(dname) { if (window.XMLHttpRequest) xhttp=new XMLHttpRequest(); else xhttp=new ActiveXObject("Microsoft.XMLHTTP"); xhttp.open("GET",dname,false); xhttp.send(); return xhttp.responseXML; } </script> </head> <body style="color:red"> <script type="text/javascript"> xmldoc=loadXMLDoc("food.xml"); document.write(xmldoc.getElementsByTagName("name")[0].childNodes[0].nodeValue); </script> </body> …

Member Avatar for tinymark
0
158
Member Avatar for ChrisHunter

Hi, At the moment i'm trying to locate xml files to use their content. I would like to be able find all files that have a particular pattern in their name (for example student_James.xml; student_Chris.xml so "student" would be the pattern). I want to be able to do this using …

Member Avatar for gusano79
0
190
Member Avatar for redrose123

Hi, I have an XPATH expression which works in Firefox but not IE8. "//country/region[text()="London"]/../timeZone" The error message I get from IE8 is " Message: .. may not appear to the right of / or // or be used with |." Thanks, Redrose123

Member Avatar for mrame
0
67
Member Avatar for RupertY

Hello, I'm new to XSLT and have a basic (probably) question. Instead of transforming from one xml format to another I would like to just modify data in a single xml document. How would one go about that? Regards, Rupert

Member Avatar for mrame
0
60
Member Avatar for soumya_mjmder

HI guys, i have split and xml in two parts, and in the root element element of the second one(which in this case is the output) want to add an attribute...but do not have any idea how to do this... my XML:[CODE]<DataSet> <Input> <Order OrderNo="tesco10" DocumentTYpe="0001"/> </Input> <Output> <Order OrderNo="Order1" …

Member Avatar for mrame
0
752
Member Avatar for Farhad.idrees

Hi i want to read xml.. i have two combo boxes one is showing Prgorrames Name and 2nd will show Semester No with respected to Programme.. For example if I select Programme BBa so another combobox will show all the semesters of BBa...and when i select semester 5 so data …

Member Avatar for CsharpChico
0
132
Member Avatar for gnzxzx

Below is an xpath that works. It returns all the values of the [U][B]value[/B][/U] attribute of the OutputField tag: [CODE] //Satellite/multidataset/file[contains(@name, '311multi')]/Data/DriftAnalysis[contains(@name, '311')]/Metric[@name='Detail' and @type='Overlap']/Element[@metrictype='Overlap']/OutputField[@name='Cleared']/@value [/CODE] But when I try to sum the returned values of the [U][B]value[/B][/U] attribute like the example below I get the error "Expression must evaluate …

Member Avatar for mrame
0
837
Member Avatar for sireesha g

Hi All, I have an xml [CODE] <?xml version="1.0" ?> - <Rowsets DateCreated="2011-03-15T16:31:51" EndDate="2011-03-15T16:31:51" StartDate="2011-03-15T15:31:51" Version="12.0.2 Build(88)"> - <Rowset> - <Columns> <Column Description="ProductID" MaxRange="1" MinRange="0" Name="ProductID" SQLDataType="4" SourceColumn="ProductID" /> <Column Description="BatchID" MaxRange="1" MinRange="0" Name="BatchID" SQLDataType="12" SourceColumn="BatchID" /> <Column Description="ReviewVersion" MaxRange="1" MinRange="0" Name="ReviewVersion" SQLDataType="-6" SourceColumn="ReviewVersion" /> <Column Description="DispositionVersion" MaxRange="1" MinRange="0" Name="DispositionVersion" …

Member Avatar for xml_looser
0
67
Member Avatar for znz

Hi , Wondering if some one could help me! Im really stuck don't know how to add another page in XML currently website showing two pages for images on portfolio page, got more images but don't know how to add next page>> on "Portfolio page" , for ref pls visit: …

Member Avatar for xml_looser
0
87
Member Avatar for GrexD

I'm not entirely new to xPath. I've programmed with the TreeView control in VB.Net extensively, so I have a very good grasp of the concept of trees, nodes, parent, children, siblings, etc. I've read several tutorials on line about using the XmlDocument class in the .Net Framework. All of these …

Member Avatar for GrexD
0
203
Member Avatar for bertm81

Hey All, am looking for a way to break an xml Tag line into tag and attributes. Say I have This line [code=xml] <event time="12:30" value="This is a Sample Value" type="event"> </event> [/code] I have this so far [code=python] # Open file to read f=open("myTest2.xml") #start reading File for line …

Member Avatar for bertm81
0
202
Member Avatar for SBA-CDeCinko

The code below works, but is too complex, I'd like to simplify it. How can I make the select portion conditional or how can I use a variable in the select? [CODE] <xsl:choose> <xsl:when test="count(current()/child::* [@isDoc and string(umbracoNaviHide) != '1']) &gt; 0"> <xsl:for-each select="$currentPage/self::* [@isDoc and string(umbracoNaviHide) != '1']"> <h3> …

Member Avatar for xml_looser
0
104
Member Avatar for muhile

here is my xml file i need help in creating an XSLT file to display it as HTML i a browser, the resulting output should deal with as many jobs as are returned and be simpla and clear to view in a table structure [CODE]<?xml version="1.0" encoding="UTF-8"?> <!--XML for XSLT--> …

Member Avatar for xml_looser
0
186
Member Avatar for glfnute

Still fairly new to XSLT would like to ask for some expert direction on how to solve what I think should be easy, just not for me ... I am parsing several different input sources to output one result XML structure. During the parsing, I am doing some pre-checks and …

-1
284
Member Avatar for himit

Hi, I need the name of the XML tabs. I'll use an example to explain what i want. XML- <?xml version="1.0" encoding="ISO-8859-1"?> [CODE] <catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> <price>9.90</price> <year>1988</year> </cd> <cd> <title>Greatest Hits</title> <artist>Dolly …

Member Avatar for xml_looser
0
151
Member Avatar for RobbertKeesing

Hi all, At my work I've been stuck for several days on a (probably in the end very simple) problem concerning XSL(T) [B]1.0[/B] and XPATH [B]1.0[/B]. This because I have very little experience with XSLT and XPATH and also I don't have very good tooling: I use Visual Studio 2010 …

0
61
Member Avatar for nihan1

[B][B]how to create basic template mxml page as ajax in flex I want to create that page is portable for other pages as a template /main page how can ı do this? ı want that main mxml page is useful for everywhere .For example in AJAX, the pages are storing …

0
95
Member Avatar for bhanu1607

hi, Can any one tell me How to get url or uri from address bar dynamically in XSLT... It will helps me a lot. Regards Bhanu.

Member Avatar for iceandrews
0
106
Member Avatar for infinitus

i'm having problems displaying XML. When i remove 3rd line i got error(that on line 5 is an extra bit, that is wrong...), and when i keep 3rd line i cant see anything when displaying it on website.. :( i'm not a XML pro so help would be appreciated [CODE]<?xml …

Member Avatar for xml_looser
0
169
Member Avatar for smandape

Hello Seniors, I am trying to extract an element from a string using the delimiter ';' in case it is in the middle of the string or nothing if it is the only element in the string..i am coding a generalized code that can extract the element from any such …

Member Avatar for smandape
0
112
Member Avatar for standa333

Hi, i need help with xsl document. I want to create xsl document, where header of invoice will be join items of invoice. In my document is separated and i don´t know how to do it. For example, i want that number of proof has items and then continue with …

Member Avatar for standa333
0
119

The End.