all groups > dotnet xml > july 2006 > threads for july 15 - 21, 2006
Filter by week: 1 2 3 4 5
New to xml - what's wrong with my transform
Posted by -D- at 7/21/2006 4:25:56 PM
I'm trying to write my xsl to display an unordered list fromt the xml file
where location is equal to top:
<siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" >
<siteMapNode url="~/index.aspx" title="Home" location="top">
<siteMapNode url="~/about_us/index.aspx" title="About ... more >>
Xpath equivalent to select in for sql server??
Posted by Shay1975 at 7/20/2006 10:51:58 PM
What I am trying to do is filter on some attributes and I could have a
list of values, so instead of doing where attribute = value or
attribute = value, I am wondering if there is something equivalent to
the IN statement in sql, so attribute in (value1, value2) etc..
Thanks
... more >>
XslCompiledTransform closing input tag
Posted by S. David Kyle at 7/20/2006 3:34:01 PM
I am having a weird issue when I generate an input Html tag from a Xsl
transformation.
When the trasform is executed on the xsl below, the <input> tag has the
closing slash removed in the first case and the closing tag removed in the
second case.
As a side note, if I change <input> to <i... more >>
XslTransform not excluding default namespace despite exclude-result-prefixes attribute?
Posted by Samuel R. Neff at 7/20/2006 9:56:23 AM
I'm writing an xslt in vs.net 2003 and in order to get intellisense on
the html content I added the default namespace declaration
xmlns="http://schemas.microsoft.com/intellisense/ie5". However, even
though I also have exclude-result-prefixes="#default" declared the
default namespace is still ou... more >>
XSLT : Exclude one NODE in Template
Posted by Ganesh Muthuvelu at 7/20/2006 6:36:02 AM
Hello all,
I want to exclude one node (element alone) but copy all of the other
elements. This is the XSLT I have. I want to exclude the "alias" element
alone but it does not work..
Can somebody help?
************
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http... more >>
XMLDesigner XSD DataSet Order with Relationships
Posted by Computer at 7/20/2006 2:26:21 AM
I brought an XSD into the XMLDesigner. The XSD had two related tables and
it looked like this in .Net's XMLDesigner:
Table 1
---------
BankItem (Bank Item)
Person (Person)
Acct String
Balance Decimal
Date ... more >>
XPath problem
Posted by Riki at 7/20/2006 12:00:00 AM
I'm stuck with an XPath query to produce a TreeView.
From the data below, I want to select all the score elements having an IdIn
of 2018, ***including their ancestors***.
With the result, I want to fill a TreeView control.
This is my simplified data:
<?xml version="1.0" encoding="utf-8"?... more >>
http://forums.microsoft.com/
Posted by Sergey Dubinet at 7/19/2006 11:07:11 AM
Some times ago Microsoft started http://forums.microsoft.com/ which serve
more or less the same purpose as the microsoft.public news groups.
The major difference between these forums and newsgroups from user's
perspective is that forums are much more closely moderated.
Microsoft puts a lo... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Microsoft XML Diff/Patch -- how to output differences
Posted by Steve Hershoff at 7/18/2006 4:50:33 PM
Thanks to this newsgroup I've been pointed to Microsoft's XML Diff & Patch
utilities. I've been reading about how I can use the tools to generate a
diffgram between two XML documents, and how the XML Patch utility can (for
example) bring document A in line with document B. Very cool.
How... more >>
Simple XSLT Question?
Posted by Ganesh Muthuvelu at 7/18/2006 4:33:02 PM
Hello all,
I have a XML as below:
******************
<BLOCK>
<ROW1>
<A>1</A>
<B>2</B>
</ROW1>
<ROW2>
<A>9</A>
<B>3</B>
<C>4</C>
</ROW2>
<ROW3>
<ROW31>
<A>5</A>
<D>6</D>
<E>7</E>
</ROW31>
</ROW3>
</BLOCK>
******************
wit... more >>
XmlReader.Create returns none
Posted by raj at 7/18/2006 3:38:06 PM
i have this code which is upgraded to work with 2.0 and works great with
framework 1.0 and 1.1 without the upgraded code.
//2.0 code//
public static XmlReader RtfToXml( string Rtf )
{
if ( moForm == null )
moForm = new frmRTFtoXML();
string sDocBookXml = moForm.RtfToXml( Rtf );
... more >>
XmlSchemaImport and XmlSchema.Write
Posted by doughboy at 7/18/2006 10:28:25 AM
I create a schema in memory and then I can write to a file fine. But
as soon as I add an import element I get an error when it goes to write
to the file.
The error message is:
The type System.Xml.Schema.XmlSchemaImport was not expected. Use the
XmlInclude or SoapInclude attribute to specify ... more >>
Data types for XmlElement and XmlAttribute
Posted by Roy at 7/18/2006 6:24:01 AM
I have an XmlDocument loaded from an xml file. I have also an xsd schema file
associated with it so that it will be in the XmlSchemaSet.
How do I get the data type for the value of an XmlElement and XmlAttribute
as described in the schema while I am accessing the nodes (attributes and
elemen... more >>
suggested ways to manipulate XML files in .Net?
Posted by Steve Hershoff at 7/17/2006 3:26:19 PM
Hi everyone,
I'm going to manipulate some XML files in my next project-- crawl through
the tags, compare if file X has the same nodes as file Y, and if not, what
the differences are and who's missing what. I'll also be comparing values
between nodes in the two files, for when both documents d... more >>
Webservice for J2EE & .NET application
Posted by jaydev at 7/17/2006 3:09:06 PM
Hello,
I want to create a header and footer control which will be used in
both the java and .net application. We are planning to create a
webservice for this in C#. I am familiar in creating a webservice , but
not sure how to create something compatible for java team (J2EE). Java
team needs t... more >>
Built-in ToXPathString()-type method
Posted by Keith Patrick at 7/17/2006 2:28:36 PM
Is there some built-in way to output a node's basic XPath without iterating
upward through an XmlNode's parent hierarchy? I have a scenario where I
need to tell the user there was an error with a particular node, but I want
to express it as:
"There was an error with node Root/Parent2/Child2@... more >>
how do you evalute a xpath query with xml tag like this <bac:BACne
Posted by dotnetnoob at 7/17/2006 9:58:03 AM
i got xml file that have <bac:BACnetDevices> and <bac:BACnetDevice> tag how
do you make a xpath query with that type of tags
this is the query that i come up with
/Site/Networks/Network/bac:BACnetDevices/bac:BACnetDevice/@InstanceNumber
but i got "undefined namespace prefix -'bac'" error... more >>
XmlDocument load question
Posted by supercodepoet NO[at]SPAM gmail.com at 7/17/2006 8:52:14 AM
I have cXml document I want to load to parse. The document has a
DOCTYPE element that points to an external dtd via http. When the
document loads it trys a web request which I am assuming is to get the
dtd. We have a proxy and this throws and exception when trying to load
the document becuase ... more >>
<<<WebParts>>>
Posted by Miguel Puime at 7/15/2006 2:18:09 PM
Hola a todos,
Una pregunta, que son y para que sirven los WebParts??, donde puede ver
algún ejemplo....
Gracias de antemano.
Un saludo.
Miguel Puime.
... more >>
|