sp_xml_preparedocument
How to process xml string into store procedure? any help? I don't find sp_xml_preparedocument procedure in sql server 2008... Any input? ...
How to process xml string into store procedure? any help? I don't find sp_xml_preparedocument procedure in sql server 2008... Any input? ...
I'm using the XmlParser to insert nodes into an existing XML. Unfortunately this parser ignores the comment nodes which I would like to keep in place. Is there another parser I can use? Thanks. ...
Hi there, I need to find out if anything exists between two nodes. My XML looks like this: <event value1="1" value2="2" value3="3" info="some info here"> Line 1.<lb/> Line 2.<lb/><lb/> Line 3.<lb/> Line 4.<lb/> </event> My goal is to convert the <lb/> nodes to <br/> HTML tags using XSLT. There ...
Hi, i have a SQL Data Base. On this DB i have a Table with a XML Field. I wan to save a XML file on the XML Field using LINQ to SQL. It is possible? Thanks. Sorry for my poor english ...
Hi. I'm trying to implement SQLServer 2005 with mirror in two W2003 Servers. The application we use doesn't seem to work well with the SQLNCLI driver. When I execute a procedure that should return an XML result, I get something that looks like a binary/columned result. However, with the old connection string (not supporting mirroring), i...
I am trying to use Jquery to load the contents of an XML file and then format (html) the results. The only thing is that, I would like it to load only nodes in the XML file that contain a specific phrase. I have been unable to find instructions on this. This phrase will be a variable so, I will have a master XML file with all values a...
My goal is to take an XML string and parse it with XMLBeans XmlObject and add a few child nodes. Here's an example document (xmlString), <?xml version="1.0"?> <rootNode> <person> <emailAddress>[email protected]</emailAddress> </person> </rootNode> Here's the way I'd like the XML document to be after adding some nodes, <?xml ver...
I need a regex or a function in PHP that will validate a string to be a good XML element name. Form w3schools: XML elements must follow these naming rules: Names can contain letters, numbers, and other characters Names cannot start with a number or punctuation character Names cannot start with the letters xml (or XML, ...
Hi all, I use the line below in my C# winform app, this works great but occasionally if the program is being run from the command line I get an error that the config.xml file cannot be found. This is because the 'working directory' is different (I think), I need to say "load config.xml from current directory", how would I do this? docX...
I have a class I am using for serializing various configuration options for an application I am working on. I'm adding a new property to the class that is a List, and I'd like it to fill this list if it does not exist already in a XML file. My first thought was to check if the list contained zero items, however this is not acceptable bec...
Hi, I'm trying to install zorba php extension on windows and I am having all sorts of problems. I have installed the zorba binaries on my computer, but when I try to install the PECL package (pecl install zorba-alpha) I get the following error "ERROR: the DSP zorba.dsp does not exist". I've tried searching for zorba_api.dll or zorba_ap...
I'd like to be able to read an XML file uploaded by the user (less than 100kb), but not have to first save that file to the database. I don't need that file past the current action (its contents get parsed and added to the database; however, parsing the file is not the problem). Since local files can be read with: File.read("export.op...
I using a dataset to read an xml file as shown below DataSet ds = new DataSet(); ds.ReadXml("C:\test.xml"); test.xml contains <MasterEntities> <FieldInfo> <Name>OMID</Name> <Mandatory>Yes</Mandatory> <RangeName>AssumptOMID</RangeName> <DataType>int</DataType> <Length>10</Length> </FieldInfo> <FieldInfo> <N...
I have a large XML file which in the middle contains the following: <ArticleName>Article 1 <START </ArticleName> Obviously libxml and other XML libraries can't read this because the less-than sign opens a new tag which is never closed. My question is, is there anything I can do to fix issues like this automatically (preferably in Rub...
I have a data Table with numbers formatted according to the current regional settings. ie ( in French decimal separators are ',' instead of '.' in English). I need to export it to XML. Numbers in XML needs to be formatted according to the current regional settings.But now numbers in XML are formatted in English.Is there any way to make ...
Hello, I am about to use VTD-XML (found at http://vtd-xml.sourceforge.net/) but I am interested in getting real-case usage feedback, by any one that has used the library and has any comments. At the URL (http://vtd-xml.sourceforge.net/) there are benchmarks but if someone has used VTD-XML and has comments FOR it I would like to hear th...
Hi, I want to annotate a class dynamically to make it the more generic as possible: public class Test<T> { @XmlAttribute(name = dynamicvalue) T[] data; public Test(String dynamicvalue) { } } Is there any way to achieve something like this. TA ...
I have an XML gallery and I want in the next button function to "unload" all content and load new XML file. So far I use this code: function navigateToRight(evt:MouseEvent):void{ if (thumbsHolder.numChildren > 0){ while (thumbsHolder.numChildren) { thumbsHolder.removeChildAt(0); } removel...
Is it possible in jdom to get the children of a node that share a certain attribute without having to look at all children in bruteforce? Is search in logarithmic time possible? ...
Hi guys, I have a very basic query string which passes a ID to a receiving page. On that page, I need to dynamically call the YouTube API, giving my playlistID. I'm having to use PHP for this, and it's a little out of my comfort zone, so hopefully someone can wade in with a quick fix for me. Here is my variable $playlist; And I ne...