all groups > dotnet xml > august 2007 > threads for august 1 - 7, 2007
Filter by week: 1 2 3 4 5
encodig attribute of output element ignored
Posted by Markus Neugebauer at 8/7/2007 6:52:41 PM
Using xslt in .NET 2.0 I found no way to get the right encoding (UTF-8)
in the resulting xml file.
Here my setup:
test.xslt:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="... more >>
xsl:sort - where am I going wrong??
Posted by Illustris at 8/7/2007 2:54:02 PM
I'm hoping someone can help me with what looks like a very simple problem. My
output does not sort the languages alphabetically as I would expect. Can
someone inspect my XSLT please? TIA!!
XML:
<?xml version="1.0" ?>
<Markets>
<Market name="US">
<Language name="English (US)" LCID=... more >>
how to determine all namespaces used in a document
Posted by davidsmontgomery at 8/7/2007 2:13:28 AM
I an writing some code which validates xml documents against the appropriate XML schemas. The problem is that I don't
always know which schemas are used for any particular document. Is there an XPATH query I can use to select all
nodes with namespace declarations throughout the document? Sometime... more >>
Validating Xml Fragments .NET 2.0
Posted by at 8/6/2007 9:42:05 PM
I was wondering if someone would help me with validating specific
parts of an xml document again its XSD.
I would like to valiate the a fragment
<property name="TextMode">Multiline</property>
The error I get when validating with validate method of XmlDocument
is
Validation Error: T... more >>
how to include schema declaration in xslt output
Posted by Himself at 8/6/2007 11:21:03 AM
I apologize if this has been answered before, I couldn't find it.
I'm trying to transform XML to XML and specify a schema in the output
XML. I am transforming nodes to different local names while keeping
the same namespace. This works fine, until I try to introduce the
schema.
My input look... more >>
XMLTextReader reading too many characters
Posted by JohnB at 8/6/2007 11:16:58 AM
I'm stumped though I have an idea of what might be happening. I would
appreciate any help someone might give/suggest.
I have a well formed XML document. Here is an example below. The real
thing (a file) is almost a gig in size.
<?xml version="1.0" encoding="UTF-8"?><VoterView
xmlns:xs... more >>
XSLT Doubt
Posted by Prashant C at 8/6/2007 7:22:10 AM
Is it possible to transform Two XML documents at once using XSLT?
--
Regards,
Prashant C... more >>
Wrong usage of xmlns?
Posted by eliasen at 8/6/2007 7:04:45 AM
Hi
I need to integrate to a system that has XML like this:
<Calls xmlns="\\SomeMachine\Share\Schemas\Calls1_2.dtd" Version="1.2">
<Call>
<CallRef>Call1</CallRef>
<UserRef>286</UserRef>
<Details>
<Condition>EDITTABLE</Condition>
<CallType>Water Damage</CallType>
<Select0>Water Damage</Sele... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Input caching within Global.asax
Posted by doug at 8/6/2007 6:54:02 AM
Not sure if this is better put heree or in some IIS6 NG.
I have put input caching into my global.asax file. Code listing below. I
put a file dependency on the cache.
My issues is, my log file gets an entry when Application_Start gets
triggered and writes an entry for 'FillCache invoked".... more >>
XSLT with Database
Posted by Prashant C at 8/6/2007 6:50:09 AM
Hi All,
Is it possible to query database in XSLT? or pass value to XSLT through C#
or VB.NET
--
Regards,
Prashant C... more >>
Is a XML file Does not Support XSL and XSD operation together.
Posted by Samir1014 at 8/4/2007 12:40:00 AM
Dear Experts,
Check out the following XML, XSl and XSD document.
If i use XML file without XSD defination it applies XSL style and If i
include the XSD document. Nothing is getting displayed in the browser.
Is that mean XSL and XSD can not be apply together on a XML file. ? or I am
doi... more >>
XML/DTD interpreted display...
Posted by Number 11950 - GPEMC! Replace number with 11950 at 8/4/2007 12:00:00 AM
Is there control in VB2005 (VS8.0) that can display & allow editing of mixed
content XML as defined in specified DTD WYSIWYG style???
Thanks in Advance...
--
Timothy Casey GPEMC! >> 11950 is the number@fieldcraft.com.au 2email
Terms & conditions apply. See www.fieldcraft.biz/GPE... more >>
'xsi:noNamespaceSchemaLocation=' and 'Custom tool error'
Posted by eSapient at 8/3/2007 8:56:09 AM
I developed C# code which has been in production for more than a couple of
years. The code includes the following:
[XmlAttributeAttribute(Namespace="http://www.w3.org/2001/XMLSchema-instance", Form=XmlSchemaForm.Qualified)]
public string noNamespaceSchemaLocation
{
get
{
This code... more >>
New to XSLT and can't select even the first node... Any Help?
Posted by JoelBrimm at 8/3/2007 7:34:09 AM
Hey, brand new to XSL and XSLT. I've downloaded an evaluation copy of XML
Spy to debug my transformation, but I can't get to frist base.
Can anyone help my get straightened out?
My XSLT is:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Trans... more >>
XPath: Multiple conditions (contains, dates, node-set)
Posted by jorgedelgadolopez NO[at]SPAM gmail.com at 8/2/2007 12:31:13 PM
Hi all,
I am using the xpathnavigator evaluate function on .net (xpath 1
right?). Now I need to expand the code to do multiple contains,
compare dates (such as 'before', 'between' and 'after'), and so on.
This is the thought:
//person[contains(@name, 'george') and not(contains(@name, 'bus... more >>
Serializing and deserializing XML
Posted by Mats.Andreasen NO[at]SPAM gmail.com at 8/1/2007 9:08:38 AM
Hi
I am trying to serialize and deserialise the following simple xml
document:
<msg>
<subject>
Some subject
</subject>
<notes>
<note>Note 1</note>
<note>Note 2</note>
</notes>
</msg>
I use xsd.exe to get a schema file, and then xsd.exe again to get a c#
class.
S... more >>
Why microsoft does not have XSLT2 in .NET?
Posted by W. Jordan at 8/1/2007 12:00:00 AM
Hello,
It is so bad that .NET 3.0 does not support XSLT2.
And there's no news for XSLT2 in .NET 3.5 either.
Apart from the Saxon project, is there any .NET component which supports
XSLT2?
--
Best Regards,
W. Jordan
... more >>
|