Hi all,
If I have an XML document that doesn't declare a DTD, can my code tell
the SAX parser where the DTD is so it can do validation? I saw online how
you can (sort of) cache DTDs using an EntityResolver. I though maybe this
would work, but it appears that when a document doesn't declare a DTD,
Hi folks,
We've all seen so many complains like "Why the location information is for
the instance document, when the error occurs in the schema document?" and
"Why dom.ASBuilder always gives -1;-1 as the error location?" Now we can
put an end it: proper line/column numbers are available for schema
Tom John:
You just need to set the transformer property accordingly before you perform
the transformation
as follows:
import javax.xml.transform.OutputKeys;
> ByteArrayOutputStream out = new
> ByteArrayOutputStream();
> try{
> Transformer t =
> TransformerFactory.newInstance().newTransformer()
Hi,
Does the latest version of Xerces parser(1.4.4) support XSLT
transformations.
regards
Anil
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hello,
I may be able to get my employer to opensource our XML API that we've
been working on now for about 18 months. Companies like GE Power
Systems, Novell, and others at: http://www.evergreen.com/customers/
use this API for XML business processing.
I was curious if the Apache X
Hi,
for the following code (xerces2-J, DOM model)
case Node.TEXT_NODE:
String str = getNodeValue();
if ( ( !str.equals("\n")) && (!str.equals(null)) ) {
// do something
}
I'm trying to get rid of the empty text child nodes, like:
TextB
The above code retu
hi,
i am trying to convert a node to string. i am using
the following code
ByteArrayOutputStream out = new
ByteArrayOutputStream();
try{
Transformer t =
TransformerFactory.newInstance().newTransformer();
t.transform(new DOMSource(node), new
StreamResult(out));
}catch
String xmlString =
Hi,
I am trying to use XMLSerializer to write XML document to a file. In the
result I get xmlns:xsi attribute twice. I used it before and I think it was
working ok before. I downloaded latest xerces jars. Any ideas?
Java code:
DOMParser parser = new DOMParser();
parser.parse("file:/
> Andreas Völker wrote...
>
> > You need to supply a schema file for the namespace
> > "http://www.w3.org/1999/XSL/Transform"; against which validation can be done.
>
> Shouldn't this schema file be built in Xerces?
No. Xerces validates an instance against a schema. It does not generates a
sc
> You need to supply a schema file for the namespace
> "http://www.w3.org/1999/XSL/Transform"; against which validation can be done.
Shouldn't this schema file be built in Xerces? And if not where can I get such
a schema file?
-Ursprüngliche Nachricht-
Von: Rahul Srivastava [mailto:[EMA
> Andreas Völker wrote...
>
> Hi,
> I am using Xerces2 Java Parser 2.0.0 and try to load and validate a XSL file
like this ...
>
>
>xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
>
>
>
>
>
>
>
>
>
>
Title: errors while loading and validating a XSL file
Hi,
I am using Xerces2 Java Parser 2.0.0 and try to load and validate a XSL file like this ...
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Hi,
all you need to know to make basic XMLing is described in
http://java.sun.com/xml/jaxp/dist/1.1/docs/tutorial/index.html
br,
Jakub
tom john <[EMAIL PROTECTED]> on 02/18/2002 01:52:16 PM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: converting xml String t
Hi John,
On Monday 18 February 2002 13:52, you wrote:
> Can someone give me an example on how to transform a
> string to a xml document. String to convert is a valid
> xml.
>
> As a way of passing parameters between two
> applications i am passing xml as Strings which must be
> converted to xml do
hi,
Can someone give me an example on how to transform a
string to a xml document. String to convert is a valid
xml.
As a way of passing parameters between two
applications i am passing xml as Strings which must be
converted to xml document to process.
thanks
___
CALL FOR SPEAKERS (repeat call)
O'Reilly Open Source Convention
Sheraton San Diego Hotel and Marina
July 22-26, 2002 -- San Diego, CA
Call for Participation - XML track
Proposals Due: March 1, 2002
The theme of this year's Open Source Convention is "Doing More With Less."
This ha
16 matches
Mail list logo