ASPFriends.com 'aspngxml' list Archive - March 2002
Messages
Page: 12
XSL Help-Please (2 replies)
ASPFriends.com 'aspngxml' list
Hello, I have the following XML doc: EMPLOYEES EMPLOYEE EMPLOYEENBR "161442307" FIRST NAME "JERRY" LAST NAME "MCWREATH" MIDDLE INIT "" ADDR1 "25665 YEOMAN DR" ADDR2 "" CITY "WESTLAKE" STATE "OH" ZIP "44145" PROCESS LEVEL "RMVA1" DEPARTMENT "000" EMP STATUS "A1" FICA NBR "161 44 2307" PAY FREQUENCY "3" PAY RATE "55000" WORK STATE "OH" SEX "M" EEO CLASS "1" deduction DED CODE "40AC" QAMT "262.04" YA...
appending xml documets (2 replies)
ASPFriends.com 'aspngxml' list
hi all i am trying to concatenate 2 xml files..is there any easy way to do this... ex: one.xml: info name s /name age 1 /age /info two.xml: default work y /work sex m /sex /default i want out put in one.xml like info name s /name age 1 /age default work y /work sex m /sex /default /info thanks siri Do You Yahoo!? Yahoo! Sports sign up for Fantasy Baseball http://sports.yahoo.com
Form from schema? (6 replies)
ASPFriends.com 'aspngxml' list
Anyone know of a component that will generate (or help generate) a form from an schema? Thanks, Aaron
XML Databases and .NET (8 replies)
ASPFriends.com 'aspngxml' list
Hello, Anyone know of a native XML database, like eXcelon Extensible Information Server (XIS), which supports .NET? Does SQL2000 support the same capability as this product? I'm trying to evaluate true XML database storage and would love to hear what anyone has to offer. Thanks! Jon The information contained in this communication is intended only for the use of the recipient named above, and may b...
SqlXml3.0 (3 replies)
ASPFriends.com 'aspngxml' list
Hey all I'm trying to use some of the SqlXml3.0 examples and I created my own schema and bulk loaded some data into a database, which created the appropriate table structure to support my XML file. Now I'm trying to get it back, and I keep getting the error that the SqlXml DLL can find a path in my schema except that I know the path exists in my schema. Any ideas? The information contained in this...
Getting XML content from Request in ASP.NET (2 replies)
ASPFriends.com 'aspngxml' list
I'm sending an HTTP request of type "text/xml soap" to an ASPX page. In the ASP world, I would load the request's content into a DOM with code like the following: Set xmlRequestDoc Server.CreateObject("microsoft.xmldom") xmlRequestDoc.Async False xmlRequestDoc.Load (Request) In ASP.NET, however, I can't pass the Request object to Load or LoadXml. Question: in ASP.NET, how do I get the content of t...
URGENT! Problem with XSL Transformation in .NET XML Server Control (2 replies)
ASPFriends.com 'aspngxml' list
I have a source XML file (simplified, of course): sample greeting <b>Hi There</b> /greeting /sample Note the embedded HTML code inside the greeting node. Whenever I try to transform this file using the .NET XML Server Control and XSLT into an HTML page, it either shows the tags, or shows the HTML code exactly as above. What I need is to show a bold "Hi There", in other words, for the c...
datagrid output to XML (3 replies)
ASPFriends.com 'aspngxml' list
Hi Ive have a page that lets the user choose the columns and their order for a datagrid. I was going to store these preferences in a DB but it has been suggested that Xml would be better. Has anyone stored dataobjects as xml and could offer any advice to best practices? in particular, is there a in built method for outputting datagrid details, or would i need to manually do this? thanks in advance...
URGENT! Problem with XSL Transformation in .NET XML Server Control - need a solution within the next 12 hours (3 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngfreeforall] to [aspngxml] by Charles Carroll charlesmarkcarroll@yahoo.com I have a source XML file coming from a Yahoo store with the contents below. Note the embedded HTML code inside the caption node. Whenever I try to transform this file using the .NET XML Server Control and XSLT into an HTML page, it either shows the tags, or shows the HTML code exactly as above. What I need i...
using XSLT in treeview under SSL (3 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspxmlfreeforall] to [aspngxml] by Michiel van Otegem michiel lists@aspnl.com hi im using xml and xslt for making the tree source (treeview web control). 20 tree1.TREENODESRC 3Ddoc.documentelement.outerxml tree1.TREENODEXSLTSRC 3D"tree.xslt" 20 tree1.DataBind() 20 everything works well when im using http but the trouble begins when im trying to load the same file under SSL , i get this...
namespaces (2 replies)
ASPFriends.com 'aspngxml' list
Does anyone know where to find the equivalent to the .selectionNamespaces in .net? I'm now seeing how to do this using an XmlTextReader and and XmlParserContext. I'm looking for a way to provide and XsltContext for an XmlDocument so that I can do a .selectNodes on it..if there is a way that is. Thanks, Chris
Load XML from Request on ASP.NET (3 replies)
ASPFriends.com 'aspngxml' list
Hi, I've got stuck when trying to load an XML data from Request, something like following code on good old ASP: % Dim xmlDoc Set xmlDoc Server.CreateObject("MSXML2.DOMDocument") xmlDoc.load Request % Can anyone point me to some example showing this using ASP.NET, please? Thanks a lot Antonin
XSL problem (2 replies)
ASPFriends.com 'aspngxml' list
Most of my entire page is coded in the xsl page that accesses a xml page for data. How can I use server controls since all my page logic is in the xsl page. The xsl and the xml style sheets are all on the server. Example: The page displays a bunch of information, within the xsl page I want to show some text boxes but ofcourse server controls can not be used in the xsl page...what to do?
Xml Control (2 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngfreeforall] to [aspngxml] by James Avery javery@deluxeeng.com Is there any way to get the resulting content from the xml control after the transformation? In other words, if I supply the xml control with a xmldocumentsrc and xsltransformsrc, can I get the result in a string variable? I can't seem to find any way to do this and the control isn't much use to me just outputting to th...
XSLT and Multi-Column Display (2 replies)
ASPFriends.com 'aspngxml' list
Is there a way to get XSLT to output a multi column display? I need to create a table like this TABLE xsl:for each select "something/item" TR TD xsl:value of select "name"/ /TD TD xsl:value of select "name"/ /TD /TR /xsl:for each /TABLE Obviously when I do this the two cells side by side will have the same data. I need to advance the record set with each cell AND each row? Can XSL do this?
How to load XML from VARIABLE (2 replies)
ASPFriends.com 'aspngxml' list
The code below loads XML text from a FILE. How can I load it from a VARIABLE instead, e.g.: instead of: XPathDocument doc new XPathDocument(theXmlFile); XslTransform transform new XslTransform(); transform.Load(theXslFile); something like: XPathDocument doc new XPathDocument(" settings font Verdana /font /settings "); XslTransform transform new XslTransform(); transform.Load(theXslFile); %@ Page D...
XML Validation (3 replies)
ASPFriends.com 'aspngxml' list
With the ValidatingXmlReader I can perform XML validations against a DTD. However, it seems to be only possible if the DTD document is referenced in the XML file (e.g. !DOCTYPE abc SYSTEM "abc.dtd" ). How can I validate against a DTD that is not referenced in the XML file (apart from adding the reference to the file)? I actually expected something like: XmlTextReader myXmlReader new XmlTextReader(...
XPath Help (2 replies)
ASPFriends.com 'aspngxml' list
Hello, I'm having some troubles getting my XPATH to work correctly. I think the syntax is correct, but obviously something is pretty wrong. I've included the function, the xml and the error that i'm experiencing. I'm basically trying to get the node for which the DVA PASSWORD is equal to the value from HashPassword() (for test purposes i've hardcoded that part). Here's my code: //this is a member ...
XSL problems within an ASPX page (8 replies)
ASPFriends.com 'aspngxml' list
Moved from [aspngfreeforall] to [aspngxml] by Mitch Denny mitch.denny@warbyte.com Hello This isn't a direct ASP.net question, but it does relate to my .net project so I am hoping that someone can help me out. I have an aspx page that transforms and XML document using an XSL style sheet. I want the user to have the ability to click on a hyperlink within the file and be redirected to a new page with...
Editing a node with DOM classes (2 replies)
ASPFriends.com 'aspngxml' list
Can anyone point me to code with which I can change the concents of a specific node anywhere in the XML file? I can't seem to get the following to work: %@ Import Namespace "System.Xml" % %@ Import Namespace "System.IO" % script language "C#" runat "server" public void Page Load(object sender, EventArgs e) { XmlDocument doc new XmlDocument(); FileStream fs2 new FileStream(Server.MapPath("dummy.txt...
Including addition stylesheets in XSLT (2 replies)
ASPFriends.com 'aspngxml' list
Is there any way to include an additional XSLT file in an XSLT file based on content? ie: One style sheet will link to another style sheet based on a link found in the XML document being transformed?
Looping through elements of various names (2 replies)
ASPFriends.com 'aspngxml' list
Is it possible to loop through a group of elements that have different names? I would like to be able to loop through all the elements under text . The reason I want to do this is that on another area of the site I need to access certain elements directly. text products name xxxx /name link xxxx /link /products services name xxxx /name link xxxx /link /services contact name xxxx /name link xxxx /l...
NOTANSWERED BEFORE: Invalid URI Exception (3 replies)
ASPFriends.com 'aspngxml' list
I am trying to load some XML from a WebDAV query into a dataset but keep getting an Invalid URI exception. Heres the code: StreamReader IStream new StreamReader(r.GetResponseStream(),System.Text.Encoding.ASCII); if (IStream.Peek() 0) ds.ReadXml(IStream.ReadToEnd(),System.Data.XmlReadMode.InferSchema); Any ideas why? Thanks Devin
Best Method for reading XML file (2 replies)
ASPFriends.com 'aspngxml' list
I want to use an XML file as the configuration file for a page that builds up a web form. What is the best method for reading the XML file and accessing the values for each field? I have read about various methods, but don't know which is the best one. I basically want to be able to loop through the XML file creating the form line by line. Here is a sample of the XML file I have created to hold th...
Reading XML Schema, writing valid XML permutations (2 replies)
ASPFriends.com 'aspngxml' list
I am trying to create a tool that would accepta an XML Schema as input, and generate all possible permutations of a valid XML document as output. So, if there are 5 required elements and 2 optional elements in the XML Schema, it would output 4 XML files (1 with no optional elements, 1 with both optional elements, 1 with only the first optional element, 1 with only the second optional element). Any...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification